-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* don't set max to 0 for these cases That would refuse all future copies of this packet because they exceeded the multi-buy. We want the rest of the already purchased packets to come through okay. * multi buy is primarily done in hpr don't re-check here, the packet was bought, let's use it * don't blanket update device fcnt from the packet This already happens deeper in this call graph when the packet is accepted and used * remove 32 bit rollover test the max 32bit frame count is somewhere in the 4billions. the highest frame count for a device in use here is ~1,800,000. 136 years has about 4billion seconds. * return verified_fcnt when finding device for data The device_worker will be provided with the verified fcnt rather than the expected fcnt when handling a packet. * differentiate finding device for join and data * remove inactive devices that are chosen during routing * export as helper * rename, uplink is more easily recognizable over data * bring back updating the device fcnt A verified frame count is being provided here rather than a speculative frame count.
- Loading branch information
1 parent
b74710c
commit 9b2baeb
Showing
4 changed files
with
66 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.