Closed huntc closed 6 years ago
Found a typo: https://github.com/anthonykirby/lora-packet/blob/master/lib/packet.js#L615
Should be:
return (that._packet.DLSettings.readUInt8(0) & constants.DLSETTINGS_RXTWODATARATE_MASK) >> constants.DLSETTINGS_RXTWODATARATE_POS;
i.e. POS and not MASK.
POS
MASK
thank you for the fix!
Found a typo: https://github.com/anthonykirby/lora-packet/blob/master/lib/packet.js#L615
Should be:
i.e.
POS
and notMASK
.