Skip to content

Sentek Configuration

THIS NEEDS TO BE UPDATED WITH THE CORRECTED LORAWAN DOWNLINK COMMANDS

Sentek probes have 3 sets of readings, each of different lengths, depending on the length of the probe itself. They will all have Moisture, Temperature, and Salinity values, and each length probe will have a different amount.

  • 4" Probe will have 1 sensor
  • 12" probe will have 3 sensors
  • 24" Probe will have 6 sensors
  • 36" Probe will have 9 sensors
  • 48" Probe will have 12 sensors
Bluetooth Commands

Probe Commands necessary for Marturion to be configured correctly, are currently set to be the following series of AT commands:

  • AT+CLIENT=< last 5 of IMEI > (for cellular devices only)
  • AT+SERVADDR=3.130.231.188,1883
  • AT+PUBTOPIC=< mqtt publish topic > (for cellular devices only)
  • AT+SUBTOPIC=< mqtt subscriber topic > (for cellular devices only)
  • AT+APN=10569.mcs (for cellular devices only)
  • AT+PRO=3,5 (for cellular devices only)
  • AT+DATAUP=0
  • AT+ALLDATAMOD=1
  • AT+COMMAND1=0C!,3,0,2
  • AT+COMMAND2=0D0!,3,0,2
  • AT+COMMAND3=0D1!,3,0,2
  • AT+COMMAND4=0C1!,3,0,2
  • AT+COMMAND5=0D0!,3,0,2
  • AT+COMMAND6=0D1!,3,0,2
  • AT+COMMAND7=0C2!,3,0,2
  • AT+COMMAND8=0D0!,3,0,2
  • AT+COMMAND9=0D1!,3,0,2
  • AT+TDC=1800 (30 mins) or
  • AT+TDC=1200000 (20 mins in ms for LoRaWAN devices)
  • AT+GPS=1 (for cellular devices only)
  • AT+GNSST=60 (for cellular devices only)
  • AT+GTDC=24 (for cellular devices only)
  • AT+CLOCKLOG=1,65535,0,0

The above list of AT commands (excluding any DATACUTX 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