fp
Dependencies: libmDot-mbed5 ISL29011
Diff: examples/src/manual_example.cpp
- Revision:
- 29:9e2c0d990ace
- Parent:
- 25:56f7775c702f
- Child:
- 30:2f5ae37e6c47
--- a/examples/src/manual_example.cpp Thu Mar 15 08:31:22 2018 -0500 +++ b/examples/src/manual_example.cpp Fri Apr 20 14:42:46 2018 -0500 @@ -24,7 +24,6 @@ static uint8_t network_session_key[] = { 0x01, 0x02, 0x03, 0x04, 0x01, 0x02, 0x03, 0x04, 0x01, 0x02, 0x03, 0x04, 0x01, 0x02, 0x03, 0x04 }; static uint8_t data_session_key[] = { 0x01, 0x02, 0x03, 0x04, 0x01, 0x02, 0x03, 0x04, 0x01, 0x02, 0x03, 0x04, 0x01, 0x02, 0x03, 0x04 }; static uint8_t frequency_sub_band = 6; -static lora::NetworkType public_network = lora::PUBLIC_LORAWAN; static uint8_t join_delay = 5; static uint8_t ack = 1; static bool adr = true; @@ -100,7 +99,7 @@ // lora-query -a 01020304 A 0102030401020304 <your Dot's device ID> 01020304010203040102030401020304 01020304010203040102030401020304 // * if you change the network address, network session key, or data session key, make sure you update them on the gateway // to provision your Dot with a 3rd party gateway, see the gateway or network provider documentation - update_manual_config(network_address, network_session_key, data_session_key, frequency_sub_band, public_network, ack); + update_manual_config(network_address, network_session_key, data_session_key, frequency_sub_band, ack); // enable or disable Adaptive Data Rate dot->setAdr(adr);