Parameters Configuration
Before starting, please check Setup your toolchain first.
Region configuration
The default region of the factory firmware is EU868, to configure the region, to meet the frequency requirements of different regions, you can follow the steps below to change the region.
Replace the 'Region' part in the LoRaWAN example.
REGION = SMTC_MODEM_REGION_'Region'
Then click Upload
to upload the program.
You can also use the Serial Monitor
button in the upper right corner to check the logs.
Triad Info configuration
Wio Tracker 1110 Dev board allows users to set the DevEUI, AppEUI, and AppKey, this is required when registering to other network servers.
Open the LoRaWAN/TTN Example
, define the triad info and click Upload
.
static const uint8_t DEV_EUI[8] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
static const uint8_t JOIN_EUI[8] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
static const uint8_t APP_KEY[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
Info
Or you can just get the triad information generated by the network server, then fill into the Constants
part and run it on your board.
example: from TTS.