ADR (adaptive datarate)
Home › Forums › Conduit: AEP Model › ADR (adaptive datarate)
- This topic has 10 replies, 3 voices, and was last updated 8 years, 4 months ago by
Jason Reiss.
-
AuthorPosts
-
November 8, 2016 at 3:34 am #15362
Daniel
ParticipantI 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!
November 17, 2016 at 2:28 pm #15508magouero
ParticipantSet end devices to ADR off and GTW will follow.
November 17, 2016 at 2:49 pm #15510Jason Reiss
KeymasterConfiguring the max datarate in the gui to 0 will keep ADR from increasing the datarate.
It will also keep ADR from increasing the datarate.
November 21, 2016 at 3:14 am #15562Daniel
Participantand how can I increase from SF7 to SF12?
November 21, 2016 at 4:11 am #15568Daniel
Participantthe two end devices are always sending with SF7. I want that they are sending with SF12
November 21, 2016 at 6:51 am #15570Jason Reiss
KeymasterSF12 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:FSKNovember 21, 2016 at 8:03 am #15573Daniel
ParticipantI 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.
November 23, 2016 at 8:04 am #15617Daniel
ParticipantHello,
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?
November 28, 2016 at 8:20 am #15647Jason Reiss
KeymasterThere 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 curlURL:
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 8 years, 4 months ago by
Jason Reiss.
-
This reply was modified 8 years, 4 months ago by
Jason Reiss.
November 29, 2016 at 6:39 am #15674Daniel
ParticipantI 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?
November 29, 2016 at 8:16 am #15677Jason Reiss
KeymasterMin 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 8 years, 4 months ago by
Jason Reiss.
-
This reply was modified 8 years, 4 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.