|
ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
|
#include <RadioLib.h>#include "libtockHal.h"Go to the source code of this file.
Macros | |
| #define | RADIOLIB_LORAWAN_JOIN_EUI 01, 01, 01, 01, 01, 01, 01, 01 |
| #define | RADIOLIB_LORAWAN_DEV_EUI 70, B3, D5, 7E, D0, 07, 74, 17 |
| #define | RADIOLIB_LORAWAN_APP_KEY 2B,7E,15,16,28,AE,D2,A6,AB,F7,15,88,09,CF,4F,3C |
| #define | RADIOLIB_LORAWAN_NWK_KEY 2B,7E,15,16,28,AE,D2,A6,AB,F7,15,88,09,CF,4F,3C |
| #define | RAW_TO_INT8A(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) |
| #define | RAW8_TO_INT8A(a, b, c, d) 0x##a##b##c##d |
| #define | RAW32_TO_INT8A(a, b, c, d, e, f, g, h) {0x##a, 0x##b, 0x##c, 0x##d, 0x##e, 0x##f, 0x##g, 0x##h} |
| #define | FORMAT_KEY(...) RAW_TO_INT8A(__VA_ARGS__) |
| #define | FORMAT8_KEY(...) RAW8_TO_INT8A(__VA_ARGS__) |
| #define | FORMAT32_KEY(...) RAW32_TO_INT8A(__VA_ARGS__) |
Variables | |
| const uint32_t | uplinkIntervalSeconds = 5UL * 60UL |
| const LoRaWANBand_t * | Region = &US915 |
| const uint8_t | subBand = 2 |
| #define FORMAT32_KEY | ( | ... | ) | RAW32_TO_INT8A(__VA_ARGS__) |
| #define FORMAT8_KEY | ( | ... | ) | RAW8_TO_INT8A(__VA_ARGS__) |
| #define FORMAT_KEY | ( | ... | ) | RAW_TO_INT8A(__VA_ARGS__) |
| #define RADIOLIB_LORAWAN_APP_KEY 2B,7E,15,16,28,AE,D2,A6,AB,F7,15,88,09,CF,4F,3C |
| #define RADIOLIB_LORAWAN_DEV_EUI 70, B3, D5, 7E, D0, 07, 74, 17 |
| #define RADIOLIB_LORAWAN_JOIN_EUI 01, 01, 01, 01, 01, 01, 01, 01 |
| #define RADIOLIB_LORAWAN_NWK_KEY 2B,7E,15,16,28,AE,D2,A6,AB,F7,15,88,09,CF,4F,3C |
| #define RAW32_TO_INT8A | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h | |||
| ) | {0x##a, 0x##b, 0x##c, 0x##d, 0x##e, 0x##f, 0x##g, 0x##h} |
| #define RAW_TO_INT8A | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n, | |||
| o, | |||
| p | |||
| ) |
| const LoRaWANBand_t* Region = &US915 |
Definition at line 47 of file config.h.
Referenced by lorawan_init().
| const uint8_t subBand = 2 |
Definition at line 51 of file config.h.
Referenced by lorawan_init().