diff --git a/src/lora/lorawan.c b/src/lora/lorawan.c index 5438523..0207027 100644 --- a/src/lora/lorawan.c +++ b/src/lora/lorawan.c @@ -24,7 +24,7 @@ static uint8_t app_key[] = LORAWAN_APP_KEY; static uint8_t join_eui[] = LORAWAN_APP_EUI; /* ABP keys and address */ -static uint32_t dev_addr = 0x5FC69401; // Little endian of {0x01, 0x94, 0xC6, 0x5F} +static uint32_t dev_addr = LORAWAN_DEV_ADDR; static uint8_t nwks_key[] = LORAWAN_NWKS_KEY; static uint8_t apps_key[] = LORAWAN_APPS_KEY;