This commit is contained in:
2025-07-05 01:01:01 -04:00
parent 1cb9ec2480
commit 34d7360a1c

View File

@@ -44,6 +44,8 @@ void transmission_init() {
void onDataReceived (const uint8_t *mac_addr, const uint8_t *data, uint8_t data_len) {
ESP_LOGI();
ESP_LOGI(TAG, "Data received from: %02x:%02x:%02x:%02x:%02x:%02x, len=%d",
mac_addr[0], mac_addr[1], mac_addr[2], mac_addr[3], mac_addr[4], mac_addr[5], len);
memcpy(&buf, data, sizeof(buf));
}