Replies: 1 comment
-
Based upon the conversation in this link (https://www.thethingsnetwork.org/forum/t/as923-dwell-time-limitation-for-australia/36601/8) even if the legal requirement for the 400ms dwell time was dropped, it can still be part of the Lorawan spec. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I am currently doing range tests for a project and I stumbled upon an issue with the LoRaMAC library. Despite trying to disable adaptive data rates using
lorawan_enable_adr(false)
and manually setting the data rate toDR0
withlorawan_set_datarate(LORAWAN_DR_0)
, the library persistently auto-sets the data rates to betweenDR2
andDR6
.Upon digging deeper, I realized that the root of the issue lies in the region-specific override files provided by Semtech in the Zephyr LoRaMAC library. Specifically, the definition for
AS923_DWELL_LIMIT_DATARATE
asDR_2
inRegionAS923.h
seems to be the culprit.My debugger's step-through pointed me to the
RegionAS923GetPhyParam
function where the data rate is being set toDR2
(SF10BW125). However, when I tweaked the definition toDR_0
, the received packet data rate displayed asDR0
(SF12BW125), just as intended.Interestingly,
RegionAS923.h
has the correct definition for the minimum data rate asDR_0
:Is there a way to disable the dwell limit data rate, and configure the
RegionAS923GetPhyParam
function to adoptAS923_TX_MIN_DATARATE
instead, either via the project's config fileprj.conf
or directly within the project’s source files? Could there be a limitation with Zephyr causing this? Additionally, I know that there are regulatory requirements that LoRaWAN needs to comply with - specifically the 400ms dwell time limitation HOWEVER, I'm not aware of that regulation in Australia. I beleive this is the origin of the setting but i'm not sure what standard/regulatory reference it's complying with...Kind Regards,
Henry
Beta Was this translation helpful? Give feedback.
All reactions