Closed lupyuen closed 3 years ago
Thank you for your contribution. We are (still) reworking all examples and will include your suggestion. It might be the same for other examples as well. All examples are tested on Arduino IDE, but I am aware of the differences when using PlatformIO.
Thanks, looking forward to the reworked examples :-)
BTW I'm happy with the simple example code for LoRaP2P_TX and LoRaP2P_RX, it's highly consistent with the example code in Apache Mynewt OS (and it's good for portability)...
https://github.com/apache/mynewt-core/blob/master/apps/loraping/src/main.c
Not surprised that it matches with other LoRa P2P examples. Most of these examples are based on the original Semtech examples.
Adding the declaration will fix this build error in PlatformIO...
Thanks :-)