Feature #161: Support the FrSky Sensor Hub Protocol
Validate byte stuffing method for both telemetry and sensor hub data
|Assignee:||Hans Cappelle||% Done:|
|Category:||-||Spent time:||1.00 hour|
|Target version:||3.0 FrSky hub and sensors|
Check existing methods and create some tests. Not sure if current method is working. Logic should be:
when 0x7D received drop byte and XOR next byte with 0x20 (for telemetry frames).
when 0x5D received drop byte and XOR next byte with 0x60 (for sensor hub frames).
#3 Updated by Hans Cappelle almost 6 years ago
- Status changed from New to In Progress
- Assignee set to Hans Cappelle
I found the issue on the XOR operation. I forgot to skip the start/stop byte detection once the byte was unstuffed :s. I have an update ready, will test as soon as possible and commit changes.