MAX20361 Demo with LoRa Module on LP1 mode
Dependencies: SX1276GenericLib USBDevice
Fork of NonPingPong_PICO_LoRa_LP1 by
Diff: SX1276GenericPingPong/GenericPingPong2.h
- Revision:
- 6:51f492ca61a2
- Parent:
- 3:85fc843a9d7d
- Child:
- 7:6264bc5b6421
--- a/SX1276GenericPingPong/GenericPingPong2.h Tue Oct 13 00:45:46 2020 +0000 +++ b/SX1276GenericPingPong/GenericPingPong2.h Wed Oct 14 00:19:02 2020 +0000 @@ -34,8 +34,10 @@ */ -const uint8_t PingMsg[] = { 0xff, 0xff, 0x00, 0x00, 'P', 'I', 'N', 'G'};// "PING"; // 255, 255, 0, 0, 80, 73, 78, 71 -const uint8_t PongMsg[] = { 0xff, 0xff, 0x00, 0x00, 'P', 'O', 'N', 'G'};// "PONG"; // 255, 255, 0, 0, 80, 79, 78, 71 +//const uint8_t PingMsg[] = { 0xff, 0xff, 0x00, 0x00, 'P', 'I', 'N', 'G'};// "PING"; // 255, 255, 0, 0, 80, 73, 78, 71 +const uint8_t PingMsg[] = {0xff}; +//const uint8_t PongMsg[] = { 0xff, 0xff, 0x00, 0x00, 'P', 'O', 'N', 'G'};// "PONG"; // 255, 255, 0, 0, 80, 79, 78, 71 +const uint8_t PongMsg[] = {0x00}; // This keeps track of how many times a transmission times out. static int RxTimeoutCount = 0;