This repository was archived by the owner on Sep 16, 2024. It is now read-only.
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
[LoRaWAN] Error in LoRaMacChannelManualAdd #96
Closed
Description
Hello,
I've spotted an error in LoRaMac.c
:
LoRaMacStatus_t LoRaMacChannelManualAdd( uint8_t id, ChannelParams_t params )
{
[...]
if( ValueInRange( params.DrRange.Fields.Max, DR_5, LORAMAC_TX_MAX_DATARATE ) == false )
{
datarateInvalid = true;
}
}
[....]
DR_5
should be replaced by DR_0
.
In the current state, this prevents forcing the LoPy to lower its max data rate.
Metadata
Metadata
Assignees
Labels
No labels