Motsai / documentation

3D motion sensing and tracking made easy
http://promotion.motsai.com
Other
0 stars 1 forks source link

BLE Protocol header should have distinction between command and responses #2

Closed jsamch closed 8 years ago

jsamch commented 8 years ago

Currently it is not possible to write a stateless protocol filter that can distinguish between commands and responses between Neblina and a host. The reason is that the encoding of the command and response have exactly the same headers.

E.g. Wireshark display filter: https://wiki.wireshark.org/DisplayFilters

The proposition is that the bit 7 of the command/response identifier (byte #3 of headers) indicates the command packet. Bit 7 Bit 6-0
Command Marker Command

When bit 7 is zero it indicates a response from the Neblina (e.g. quaternion information). When bit 7 is one, this is a command packet destined for that particular subsystem.

jsamch commented 8 years ago

Closed within Colibri. New protocol in place.