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
Not a big issue, more out of interest really, I was writing a Node.js script to send serial packets compatible with the ICSC format so "sniffed" the output of an Arduino sending a packet just to check it was correct and noticed that while the Readme says there is a pre-amble of four SOH characters, in reality only the one at the start of the actual packet seems to be used. It works fine with a single SOH character so I'm sticking with that but was wondering if this was a deliberate change or a bug?
The text was updated successfully, but these errors were encountered:
Only 1 SOH is needed for reception. You can send as many SOH characters as you like and only the last one is actually used as part of the detection window. All those before are just there as a guard to ensure separation from other packets. By default only 1 is sent, but it's actually configurable in the header:
Not a big issue, more out of interest really, I was writing a Node.js script to send serial packets compatible with the ICSC format so "sniffed" the output of an Arduino sending a packet just to check it was correct and noticed that while the Readme says there is a pre-amble of four SOH characters, in reality only the one at the start of the actual packet seems to be used. It works fine with a single SOH character so I'm sticking with that but was wondering if this was a deliberate change or a bug?
The text was updated successfully, but these errors were encountered: