Closed chunkitmax closed 9 years ago
OnReceiveListener in your SmartCar always gets the first byte at the first callback
For example:
Android: output_stream.write("Hi."); output_stream.flush();
SmartCar: 1st OnReceiveListener: bytes = 'H' , size = 1 2nd OnReceiveListener: bytes = { 'i', '.' } , size = 2
https://gist.github.com/chunkitmax/9286f35666938ba6734e
OnReceiveListener in your SmartCar always gets the first byte at the first callback
For example:
Android: output_stream.write("Hi."); output_stream.flush();
SmartCar: 1st OnReceiveListener: bytes = 'H' , size = 1 2nd OnReceiveListener: bytes = { 'i', '.' } , size = 2