Martbox Configuration
THIS NEEDS TO BE UPDATED WITH THE CORRECTED LORAWAN DOWNLINK COMMANDS
Marturion and Tekbox probes are referred to in-house as Martbox probes, as they utilize the same basic configuration for their temperature-only probes.
Bluetooth Commands¶
Probe Commands necessary for Marturion to be configured correctly, are currently set to be the following series of AT commands:
- AT+DATAUP=0
- AT+ALLDATAMOD=1
- AT+COMMAND1=0C!,3,0,2
- AT+COMMAND2=0D0!,3,0,2
- AT+COMMAND3=0C1!,3,0,2
- AT+COMMAND4=0D0!,3,0,2
- AT+TDC=1200000 (20 mins in ms for LoRaWAN devices)
LoRaWAN Downlink Commands¶
The above list of AT commands when translated to be downlink commands and their base64 counterparts is the following:
- Timing command COME BACK AND ADD
- 09 01 0F -> CQEP
- AB 01 -> qwE=
- AD 00 -> rQA=
- AF 01 01 07 30 43 30 21 03 00 02 00 -> rwEBBzBDMCEDAAIA
- AF 01 02 03 0C 01 00 -> rwECAwwBAA==
- AF 02 01 07 30 44 30 21 03 00 02 00 -> rwIBBzBEMCEDAAIA
- AF 02 02 04 10 02 02 08 -> rwICBBACAgg=
- AF 03 01 07 30 43 31 21 03 00 02 00 -> rwMBBzBDMSEDAAIA
- AF 03 02 03 0C 01 00 -> rwMCAwwBAA==
- AF 04 01 07 30 44 30 21 03 00 02 00 -> rwQBBzBEMCEDAAIA
- AF 04 02 04 10 02 02 08 -> rwQCBBACAgg=
- Timing command COME BACK AND ADD