ADR (adaptive datarate)

Home Forums Conduit: AEP Model ADR (adaptive datarate)

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #15362
    Daniel
    Participant

    I have a conduit with fw 1.3.2 and 2 adeunis rf lora transmitter.

    The communication works. After the first 4-6 messages from the transmitters (with SF12) the conduit sent a command to decrease the datarate. I saw this in the lora-network-server logfile. Now the transmitters are sending with SF7.

    Is it possible to send a command to the transmitters to increase the datarate to SF12?

    Thanks!

    #15508
    magouero
    Participant

    Set end devices to ADR off and GTW will follow.

    #15510
    Jason Reiss
    Keymaster

    Configuring the max datarate in the gui to 0 will keep ADR from increasing the datarate.

    It will also keep ADR from increasing the datarate.

    #15562
    Daniel
    Participant

    and how can I increase from SF7 to SF12?

    #15568
    Daniel
    Participant

    the two end devices are always sending with SF7. I want that they are sending with SF12

    #15570
    Jason Reiss
    Keymaster

    SF12 is the slowest datarate, most redundancy, longest range.
    SF7 is the fastest datarate, least redundancy, shortest range.

    What are you looking to increase, datarate or range?

    Use the min/max datarate settings to tweak the allowed datarates.

    0:SF12BW125
    1:SF11BW125
    2:SF10BW125
    3:SF9BW125
    4:SF8BW125
    5:SF7BW125
    6:SF7BW250
    7:FSK

    #15573
    Daniel
    Participant

    I want DR0/SF12BW125 and so I set ADR min datarate and max datarate to 0.

    But the conduit is not sending the adr command to the clients to set the SF12BW125. On the Adeunis RF Transmitter it is not possible to set the Datarate/SF direct on the device. This must set the conduit over adr commands.

    #15617
    Daniel
    Participant

    Hello,

    I have news.
    In the webgui I set the min and max datarate to 0.
    After resetting the clients, they were sending with SF12BW125.

    But after some messages, sent from the clients, the conduit set the DR5 (SF7) again. I can see this command in the logfile:

    
    13:58:16:662|DEBUG| UDP message: lora/00-18-b2-00-00-00-05-69/up {"chan":6,"cls":0,"codr":"4/5","data":"AnQGZAAAAAAAAAAA","datr":"SF12BW125","freq":"869.7","lsnr":"11","mhd
    13:58:16:663|DEBUG| UDP port: 1784
    13:58:16:664|DEBUG| Mosquitto command received 'packet_recv'
    13:58:16:739|DEBUG| Mosquitto command received 'up'
    13:58:17:382|DEBUG| is frame ready?
    13:58:17:382|DEBUG| App Queue Length: 0
    13:58:17:383|DEBUG| ADR rxDR : 0 stDR : 5 avgSnr: 102 pwr: 14
    13:58:17:383|DEBUG| BestGateway: 8000000000c2e6
    13:58:17:384|DEBUG| Start
    13:58:17:384|INFO| Frame transmitted to 00:00:00:01 via GW (00:80:00:00:00:00:c2:e6 Chan LC7 127.0.0.1:56906)  Seq# 1
    13:58:17:390|DEBUG| ADR rxDR : 0 stDR : 5 avgSnr: 102 pwr: 14
    13:58:17:391|DEBUG| ADR update command: DR5 PWR: 14
    13:58:17:391|DEBUG| ADR reducing txPower
    13:58:17:392|DEBUG| ADR txpower: 11 index: 2
    13:58:17:392|DEBUG| ADR node 00:00:00:01 setting DR5
    13:58:17:393|DEBUG| App Data Queue: 0 front size: 38540 available: 237
    13:58:17:393|DEBUG| Transmitted Frame data
    

    and now?

    #15647
    Jason Reiss
    Keymaster

    There is a bug in the lora network server, it is looking for the following configuration item, “maxDatarateEU”.
    Add the configuration with this URL or use curl

    URL:
    https://192.168.2.1/api/loraNetwork?method=PUT&data={"lora":{"maxDatarateEU":0}}&apply=now

    Command Line:

    > curl 127.0.0.1/api/loraNetwork -X PUT --data '{"lora":{"maxDatarateEU":0}}' -H "Content-Type: application/json"
    > /etc/init.d/lora-network-server restart
    • This reply was modified 7 years, 5 months ago by Jason Reiss.
    • This reply was modified 7 years, 5 months ago by Jason Reiss.
    #15674
    Daniel
    Participant

    I added the configuration and the conduit now sets the SF from 7 to 12.

    Is it also possible, to set a min tx power for ADR?

    #15677
    Jason Reiss
    Keymaster

    Min tx power is not configurable. We can add a feature request for this functionality.

    However when the device is at the set to the max datarate the network server should try to step down the power in if there is sufficient SNR.

    • This reply was modified 7 years, 5 months ago by Jason Reiss.
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.