This repository was archived by the owner on Sep 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 165
Lorawan and ADR problem. #104
Labels
LoRa
Issues related to LoRa
Comments
Firstly, thanks for noticing this. I am having the same problem. lora_socket_socket FUNCTION:
lora_socket_setsockopt FUNCTION:
I repeate I have not tested it, but I think it has to be on the right way. If everything works fine, I will make a pull request. JuanMa |
peter-pycom
added a commit
that referenced
this issue
Feb 28, 2020
this way it is easier to run this script standalone
amotl
pushed a commit
to daq-tools/pycom-micropython
that referenced
this issue
Mar 6, 2020
this way it is easier to run this script standalone
X-Ryl669
pushed a commit
to X-Ryl669/pycom-micropython-sigfox
that referenced
this issue
May 12, 2023
this way it is easier to run this script standalone
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
Hello
I'm using :
(sysname='LoPy', nodename='LoPy', release='1.10.2.b1', version='v1.8.6-849-g0af003a4 on 2017-11-24', machine='LoPy with ESP32', lorawan='1.0.0')
I'm trying to use Lorawan with ADR. here is a piece of code :
It seems to work "on the wire" because TX packet has ADR bit set, and RX packet (ack in my case) contains a mac command (LinkADRReq) telling the device to set DR4/SF8 (by default I've setup the socket to DR0/SF12)
The problem seems to be in the lora socket code (modlora.c), because it always ask the Semtech stack to send using the datarate defined in the socket, and it never check the current ChannelsDataRate value stored in the Semtech stack MIB after an ADR LinkADRReq is received.
Thanks for help.
Anthony.
The text was updated successfully, but these errors were encountered: