Esta es la prueba con LoRa y el sensor de luz integrado en la placa.

Dependencies:   libxDot-mbed5 ISL29011

Files at this revision

API Documentation at this revision

Comitter:
jreiss
Date:
Thu May 02 20:47:12 2019 +0000
Parent:
37:cb189e6dcd1f
Child:
39:050c43e3eba0
Commit message:
RadioEvent: remove printing packet data for FOTA example

Changed in this revision

examples/inc/RadioEvent.h Show annotated file Show diff for this revision Revisions of this file
--- a/examples/inc/RadioEvent.h	Thu May 02 13:18:47 2019 -0500
+++ b/examples/inc/RadioEvent.h	Thu May 02 20:47:12 2019 +0000
@@ -74,9 +74,7 @@
 
             logDebug("Rx %d bytes", info->RxBufferSize);
             if (info->RxBufferSize > 0) {
-#if ACTIVE_EXAMPLE == FOTA_EXAMPLE
-                printf("Rx data: [%s]\r\n", mts::Text::bin2hexString(info->RxBuffer, info->RxBufferSize).c_str());
-#else
+#if ACTIVE_EXAMPLE != FOTA_EXAMPLE
                 // print RX data as string and hexadecimal
                 std::string rx((const char*)info->RxBuffer, info->RxBufferSize);
                 printf("Rx data: %s [%s]\r\n", rx.c_str(), mts::Text::bin2hexString(info->RxBuffer, info->RxBufferSize).c_str());