Closed davidonet closed 7 years ago
Hi David, thank you for the fix; I'm planning to merge this, but you've made it much harder for me to review by making whitespace/formatting changes to 500 other lines. I'll try to do it next week. Anthony
Sorry, my editor format on save.
You can ignore this pull request and make the correction on line 150 in packet.js
p.FOpts = p.MACPayload.slice(6, 6 + FOptsLen);
become
p.FOpts = p.MACPayload.slice(7, 7 + FOptsLen);
I'll resynchronise with your original formatting for further addon.
Thanx for sharing your work.
having written a test this also flushed out another bug - thank you!
According to spec : 0..4 : devAddr 4..5 : FCtrl 5..7 : FCnt 7.. : FOPts