Not Compatible with SpeedyBee App
lida2003 opened this issue · 3 comments
So I suspect both short and long responses in this demo is well handle by SpeedyBee.
Truncate package format
Full MTU package
'#' + '#' + total_num + current_num + rx_buffer[(spp_mtu_size-7)]
Last package
'#' + '#' + total_num + current_num + rx_buffer[(event.size - (current_num - 1)*(spp_mtu_size - 7))]
There are multi-times request for long packet response. it seems ok with UUI, API version and FC version msp commands.
99: I (35523) BleSppUart: BLE read 6 Bytes //UUID
124: I (37553) BleSppUart: BLE read 6 Bytes //UUID
141: I (37703) BleSppUart: BLE read 6 Bytes //API version
157: I (37793) BleSppUart: BLE read 6 Bytes // FC_VERSION
173: I (37943) BleSppUart: BLE read 6 Bytes // BUILD_INFO
202: I (39943) BleSppUart: BLE read 6 Bytes // BUILD_INFO
231: I (42043) BleSppUart: BLE read 6 Bytes // BUILD_INFO
260: I (44083) BleSppUart: BLE read 6 Bytes // BUILD_INFO
289: I (46133) BleSppUart: BLE read 6 Bytes // BUILD_INFO
318: I (48083) BleSppUart: BLE read 6 Bytes // BUILD_INFO
347: I (50133) BleSppUart: BLE read 6 Bytes // BUILD_INFO
SpeedyBee ver 1.8.0 Android
Help wanted, since SpeedyBee is an enterprise app, and application protocol over BLE is not open.
Re-open it if there is further info.