LoRaWAN-SX1272-Application-24-31-9sec
Dependencies: X_NUCLEO_IKS01A1 driver_mbed_TH02 LoRaWAN-lib-v1_0_1 SX1272Lib mbed
Fork of LoRaWAN-SX1272-Application-24-31-9sec by
Revision 8:89039f83e9fc, committed 2018-01-22
- Comitter:
- emerette
- Date:
- Mon Jan 22 15:55:52 2018 +0000
- Parent:
- 7:c63508d8ff9c
- Commit message:
- 1-22-2018
Changed in this revision
app/Comissioning.h | Show annotated file Show diff for this revision Revisions of this file |
app/Config.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/app/Comissioning.h Thu Nov 16 18:30:00 2017 +0000 +++ b/app/Comissioning.h Mon Jan 22 15:55:52 2018 +0000 @@ -40,12 +40,12 @@ * \remark In this application, if the last 4 bytes are all 0, then the 32 bit address is automatically generated using a pseudo random generator seeded with a value derived from BoardUniqueId value * If provided by user, e.g. { IEEE_OUI, 0x00, 0x00, 0x00, 0xFF, 0x01 }, then this value is used by the application */ -#define LORAWAN_DEVICE_EUI { IEEE_OUI, 0x01, 0x00, 0x00, 0x00, 0x01 } +#define LORAWAN_DEVICE_EUI { IEEE_OUI, 0x01, 0x02, 0x03, 0x04, 0x05 } /*! * Application IEEE EUI (big endian) */ -#define LORAWAN_APPLICATION_EUI { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 } +#define LORAWAN_APPLICATION_EUI { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } /*! * AES encryption/decryption cipher application key @@ -60,7 +60,7 @@ * \remark In this application, if the value is 0, then the address is automatically generated using a pseudo random generator seeded with a value derived from BoardUniqueId value * If provided by user, e.g. 0x78563412, then this value is used by the application */ -#define LORAWAN_DEVICE_ADDRESS ( uint32_t )0x00000001 +#define LORAWAN_DEVICE_ADDRESS ( uint32_t )0xffaa1234 /*! * AES encryption/decryption cipher network session key
--- a/app/Config.h Thu Nov 16 18:30:00 2017 +0000 +++ b/app/Config.h Mon Jan 22 15:55:52 2018 +0000 @@ -31,7 +31,7 @@ #else // define channel block: e.g. USE_BAND_915_HYBRID_BLOCK_A, USE_BAND_915_HYBRID_BLOCK_B ... USE_BAND_915_HYBRID_BLOCK_H etc. -#define USE_BAND_915_HYBRID_BLOCK_D +#define USE_BAND_915_HYBRID_BLOCK_A #endif @@ -48,7 +48,7 @@ /*! * Defines the randomness in the dutycycle. */ -#define APP_TX_DUTYCYCLE_RND 3000000 +#define APP_TX_DUTYCYCLE_RND 1000000 /*! * LoRaWAN confirmed messages @@ -62,7 +62,7 @@ * * \remark Please note that when ADR is enabled the end-device uses default datarate of DR_0 */ -#define LORAWAN_ADR_ON 1 +#define LORAWAN_ADR_ON 0 /*! * Default mote datarate @@ -80,7 +80,7 @@ * * \remark The Tx power level is set as TX_POWER_P_DBM, where 10 <= P <= 30 and P is even value { i.e. P = 10, 12, 14 ... 28 or 30 } */ -#define LORAWAN_TX_POWER TX_POWER_10_DBM +#define LORAWAN_TX_POWER TX_POWER_20_DBM #if ( LORAWAN_APP_PORT == 5 ) /*====================================================