Adaptive Data Rate Not Working

Home Forums General Adaptive Data Rate Not Working

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32606

    I have a MTCAP gateway configured as network server and a nucleo device with SX1261 with ADR enabled and I am sending confirmed messages.
    The default DR is SF12, however the Adaptive Data Rate does not seem to work.
    I waited for 6-7 messages, but still nothing.

    Log Messages

    11:37:15:781|DEBUG| ED:31-30-34-37-5d-38-86-08|PACKET-RX|GW:00-80-00-00-00-01-e4-06 Time_us:524588300
    11:37:15:781|DEBUG| ED:31-30-34-37-5d-38-86-08|PACKET-RX|Downlink Packets Queued: 0
    11:37:15:782|DEBUG| ADR|SNR: 72 AVG: 72 DR: 5 SEQ: 2
    11:37:15:782|INFO| ED:31-30-34-37-5d-38-86-08|FCTRL|ADR:1 ADRACK:0 ACK:0 CLASS:A OPTS:0 LAST-PKT: 120009 ms
    11:37:15:783|INFO| ED:31-30-34-37-5d-38-86-08|SCHED-TX|Use RX2 TOA:338 ms
    11:37:15:798|DEBUG| GW:00-80-00-00-00-01-e4-06|FRAME-RX|JSON: {"tmst":524588300,"chan":2,"rfch":0,"freq":868.5,"stat":1,"modu":"LORA","datr":"SF12BW125","codr":"4/5","lsnr$
    11:37:17:290|TRACE| IsFrameReadyToTransmit?
    11:37:17:290|DEBUG| Device response requested 0 ACK 1
    11:37:17:290|INFO| GW:00-80-00-00-00-01-e4-06|FRAME-TX|IP: 127.0.0.1:47138 CH: LC3 DEV: 01-49-e6-a7 FCNT: 00000002 REPEAT: 0
    11:37:17:295|INFO| ED:31-30-34-37-5d-38-86-08|MAC-COMMAND|
    11:37:17:295|INFO| ED:31-30-34-37-5d-38-86-08|SCHED-TX|Q-SIZE: 1 PKT-ROOM: 51
    11:37:17:296|DEBUG| ED:31-30-34-37-5d-38-86-08|PACKET-TX|SCHED: 697566 ms TMST: 526588300 us DIFF: 170978 ms
    11:37:17:296|DEBUG| ED:31-30-34-37-5d-38-86-08|PACKET-TX|ADDR: 0149e6a7 PORT: 0 ACK: 0 FCNT: 00000002
    11:37:17:296|DEBUG| GW:00-80-00-00-00-01-e4-06|FRAME-TX|DATA: 60a7e64901200200e9db24ad
    11:37:17:297|DEBUG| GW:00-80-00-00-00-01-e4-06|PACKET-TX|RX2 OFFSET: 2000000
    11:37:17:307|DEBUG| GW:00-80-00-00-00-01-e4-06|FRAME-TX|SCHED: 0
    11:37:17:307|DEBUG| GW:00-80-00-00-00-01-e4-06|FRAME-TX|JSON: {"txpk":{"appeui":"01-01-01-01-01-01-01-01","codr":"4/5","data":"YKfmSQEgAgDp2ySt","datr":"SF10BW125","deveui$
    11:37:17:307|DEBUG| GW:00-80-00-00-00-01-e4-06|DUTY-CYCLE|BAND: 2 DUTY: 4976
    11:37:17:308|INFO| Update DC Band: 2 Duration: 288 time-on-air available: 4688 ms
    11:37:17:308|INFO| GW:00-80-00-00-00-01-e4-06|UDP-TX|JSON-SIZE:292
    11:37:17:308|TRACE| TX-MSG|127.0.0.1:47138 296 bytes
    11:37:17:310|INFO| GW:00-80-00-00-00-01-e4-06|TX-ACK|OK
    11:37:17:311|TRACE| Transmitted message to 127.0.0.1:47138
    11:37:17:312|DEBUG| DeviceTransmitController::TransmitFrame ID: 0
    11:37:18:993|TRACE| TX-ACK|127.0.0.1:47138 4 bytes 02484704
    

    Do I need to check for anything else ?
    Any help is appreciated.

    Thanks

    #32607
    Jason Reiss
    Keymaster

    What is the mPower version you are using?

    Do you receive the ACK in Rx2?

    The example shows a packet with FCNT 2. Can you provide later packets around 6 or 7?
    What is the rssi/lsnr values received by the gateway?

    11:37:17:296|DEBUG| ED:31-30-34-37-5d-38-86-08|PACKET-TX|ADDR: 0149e6a7 PORT: 0 ACK: 0 FCNT: 00000002

    This shows ADR is enabled and the average SNR is 7.2 and DR5 should be assigned eventually.
    11:37:15:782|DEBUG| ADR|SNR: 72 AVG: 72 DR: 5 SEQ: 2
    11:37:15:782|INFO| ED:31-30-34-37-5d-38-86-08|FCTRL|ADR:1 ADRACK:0 ACK:0 CLASS:A OPTS:0 LAST-PKT: 120009 ms

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.