Sending IKS01A1 temperature sensor to LoRaWAN port-5 uplink
Dependencies: X_NUCLEO_IKS01A1 mbed LoRaWAN-lib SX1276Lib
Fork of LoRaWAN-demo-76 by
Use IKS01A1 sensor shield with SX1272 shield or SX1276 shield.
Sends temperature sensor to LoRaWAN uplink port 5.
Remove SB22 and SB23 from IKS01A1 before using
SB28 conflicts with DIO0 on radio. (TxDone RxDone)
SB22 conflicts with RxTx on radio. (antenna switch)
Diff: app/Comissioning.h
- Revision:
- 8:7b1d5fb9cf72
- Parent:
- 7:3173f0508a98
--- a/app/Comissioning.h Tue Jul 05 15:01:57 2016 +0000 +++ b/app/Comissioning.h Tue Aug 16 00:16:25 2016 +0000 @@ -29,12 +29,12 @@ /*! * IEEE Organizationally Unique Identifier ( OUI ) (big endian) */ -#define IEEE_OUI 0x11, 0x22, 0x33 +#define IEEE_OUI 0x00, 0x25, 0x0c /*! * Mote device IEEE EUI (big endian) */ -#define LORAWAN_DEVICE_EUI { IEEE_OUI, 0x44, 0x55, 0x66, 0x77, 0x88 } +#define LORAWAN_DEVICE_EUI { IEEE_OUI, 0x01, 0x00, 0x00, 0x00, 0x20 } /*! * Application IEEE EUI (big endian) @@ -44,7 +44,7 @@ /*! * AES encryption/decryption cipher application key */ -#define LORAWAN_APPLICATION_KEY { 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C } +#define LORAWAN_APPLICATION_KEY { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff } /*! * Current network ID