Page cover image

Comtac Modbus Bridge

Product Datasheet

Configuration / LoRaWAN

connect the device via USB with your Computer. Open the "Wechseldatenträger" and edit the CONF.txt file with your notepad editor.

  1. Set OTA to 1: = 1= OTA used

  2. Safe the file

  3. Restart the device

Details CONFIG.txt File all Settings

LoRa (Vers. 0x43010200): PrivateNetwork=0 // 1=Private 0=Public (overridden by DIP-SW-3 in REV00-HW)

LazyDownlinkCnt=0 // Downlink sequence counter is 0=checked 1=not checked (can be lower)

Activation:

OTA=1 // 0=ABP used 1= OTA used (overridden by DIP-SW-2 in REV00-HW)

OTA(OverTheAir):

DevEUI=3734333665357D04

AppEUI=70B3D5FFFE297011

AppKey=2B8DEFCD2301674554761032DCFE98BA

ABP(ActivationByPersonalization):

FrequencyPlan=0 (0:EU868_Default_3Ch 1:EU868_Semtech_8Ch 2:EU868_Standard_6Ch)

DevAddr=0x00420136

NetwSesKey=1123456789ABCDEFFEDCBA9876543211

AppSesKey=EEDCBA98765432100123456789ABCDEE

Broadcast:

BC_Addr=0x00000000

BC_NetwSesKey=2223456789ABCDEEEEDCBA9876543222

BC_AppSesKey=DDDCBA98765432111123456789ABCDDD

Datarate (0.7;) DR_0... DR_7. SF12... FSK):

MinDR=0

MaxDR=7

DefDR=0 (Max.5 in OTA) // Depends also on FrequencyPlan

Rx2DefDR=3 // default receives data rate

ADR_Off=0 // ADR (AdaptiveDataRate) is 0=on 1=off

Startup: // Start-up behavior first sending in a time slot or random:

SlotTime=000 [100ms] // for Var1 + 3 (min. 10 s at OTA; = 0-> OTA 10s ABP s = 2.3)

TimeSlotNr=0000 // Var1: (0 see Var2) 1.. 9999-> OTA: TimeSlotNr * 10 s ABP: TimeSlotNr * 2.3 s

RndTime=0010 [m] // Var2: (0 see Var3) 1.. 9999-> randomize 10 s... XXXX * 60s

GrpDevAddr=1024 // Var3: (0 see Var2 with 0060) 1.. 9999-> TimeSlotNr = DevAddr/GrpDevAddr + 1-> Var1

Communication:

ConfirmedTx=0 // 0 = unconfirmed 1 = confirmed send (overwritten by DIP-SW-1 in REV00-HW)

LivesignConfirmedTx=0000 [m] // At the latest after this time + ConfirmedTxTimeout send confirmed Tx uplink

ConfirmedTxTimeout=0000 [s] // 0 = send immediate. x = no later than x seconds send

RxConfirmTimeout=0000 [s] // 0 = confirm immediately. x = confirm after x seconds

Labor Setup

Last updated