![](/media/cache/group/Future.jpg.50x50_q85.jpg)
This is an example LoRaWAN application for Future Electronic Sequana/LoRa training.
Diff: main.cpp
- Revision:
- 60:4b5ab8ab1353
- Parent:
- 59:c3aa24e36354
--- a/main.cpp Thu Nov 21 18:00:40 2019 +0000 +++ b/main.cpp Fri Nov 22 10:35:47 2019 +0000 @@ -46,7 +46,7 @@ * 10 is the safe number for the stack events, however, if application * also uses the queue for whatever purposes, this number should be increased. */ -#define MAX_NUMBER_OF_EVENTS 30 +#define MAX_NUMBER_OF_EVENTS 20 /** * Maximum number of retries for CONFIRMED messages before giving up @@ -107,7 +107,7 @@ uint8_t msg_id = 0; uint32_t delay_counter = 0; -static uint32_t const INTER_FRAME_DELAY = 10; +static uint32_t const INTER_FRAME_DELAY = 30; //static const uint8_t target_device_eui[] = MBED_CONF_APP_TARGET_DEVICE_EUI; static const uint8_t target_device_eui[] = { 0x00, 0xa0, 0x50, 0xff, 0xfe, 0x81, 0x27, 0x95 };