BLE socket transport - don't drop large frames.

For large incoming ACL packets, the "current offset" field was rolling
over, making it look like the packet was being dropped.  The fix is to
change the offset member from uint8_t to uint16_t.

X-Original-Commit: 24da43b88ec78642562c5020386d06a26d497955
This commit is contained in:
Christopher Collins
2017-10-23 16:08:03 -07:00
parent a33e2c8d8c
commit df8f403e00
+1 -1
View File
@@ -167,7 +167,7 @@ static struct ble_hci_sock_state {
struct os_event ev;
struct os_callout timer;
uint8_t rx_off;
uint16_t rx_off;
uint8_t rx_data[512];
} ble_hci_sock_state;