libdc/examples
Linus Torvalds c863db02f0 Teach the EON Steel about HDLC encoding of the command packets
The BLE GATT transport ends up using HDLC for the stream encoding,
unlike the USB HID side.  The EON Steel BLE GATT protocol actually does
that for both the commands and for the replies, but this converts only
the command side, because that's the simpler one.

The reply side code will need to be re-architected a bit, because right
now it is very much oriented towards beign able to do everything one
single packet at a time (which is true for USB HID) rather than treating
the packets as a stream of data (as is necessary for the CRC32
verification and to handle the escaping of the 0x7e/0x7d bytes in the
stream).

So with this change, you can't actually do a download over BLE, but I
was able to verify that the first command transfers correctly, and the
EON Steel replies to it over Bluetooth LE GATT.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-06-22 21:44:28 -07:00
..
2016-07-11 21:49:16 +02:00
2016-01-04 19:50:51 +01:00
2016-01-05 20:38:47 +01:00
2016-01-04 19:50:51 +01:00
2016-01-04 19:50:51 +01:00
2016-01-05 20:38:47 +01:00
2016-01-04 19:50:51 +01:00
2016-07-11 21:49:16 +02:00
2016-02-26 08:24:11 +01:00
2016-08-20 08:24:02 -07:00
2016-02-26 07:55:40 +01:00
2014-03-19 09:16:07 +01:00