You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The reason will be displayed to describe this comment to others. Learn more.
@jgromes warning!! This is not correct. There can be fopts in the normal payload when fport = 0. There could in theory be up to 255 bytes (max payload length), although maximum could be set to 51 or whatever the SF12 max payload length is. Longest I've seen is 43 if I recall correctly.
8c5ae6d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jgromes warning!! This is not correct. There can be fopts in the normal payload when fport = 0. There could in theory be up to 255 bytes (max payload length), although maximum could be set to 51 or whatever the SF12 max payload length is. Longest I've seen is 43 if I recall correctly.
8c5ae6d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@StevenCellist thanks for the heads up - I'll replace it with a proper dynamically allcoated array then.
8c5ae6d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally fine with a fixed maximum of 51 or so, but that's up to you :)