Task #305

Feature #161: Support the FrSky Sensor Hub Protocol

Validate byte stuffing method for both telemetry and sensor hub data

Added by Hans Cappelle over 6 years ago. Updated over 6 years ago.

Status:ResolvedStart date:02/01/2012
Priority:HighDue date:
Assignee:Hans Cappelle% Done:

0%

Category:-Spent time:1.00 hour
Target version:3.0 FrSky hub and sensors

Description

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).

History

#1 Updated by Espen Solbu over 6 years ago

  • Parent task set to #161

#2 Updated by Espen Solbu over 6 years ago

  • Target version set to 3.0 FrSky hub and sensors

#3 Updated by Hans Cappelle over 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.

#4 Updated by Hans Cappelle over 6 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF