mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Changed LSB of buffer size to BULK_MAXPKTSIZE-14
This commit is contained in:
parent
fb9e53b245
commit
5735a0d740
1 changed files with 1 additions and 1 deletions
2
SPP.cpp
2
SPP.cpp
|
@ -308,7 +308,7 @@ void SPP::ACLData(uint8_t* l2capinbuf) {
|
|||
rfcommbuf[3] = 0xE0; // Pre difined for Bluetooth, see 5.5.3 of TS 07.10 Adaption for RFCOMM
|
||||
rfcommbuf[4] = 0x00; // Priority
|
||||
rfcommbuf[5] = 0x00; // Timer
|
||||
rfcommbuf[6] = BULK_MAXPKTSIZE-11; // Max Fram Size LSB - set to the size of received data (53)
|
||||
rfcommbuf[6] = BULK_MAXPKTSIZE-14; // Max Fram Size LSB - set to the size of received data (53)
|
||||
rfcommbuf[7] = 0x00; // Max Fram Size MSB
|
||||
rfcommbuf[8] = 0x00; // MaxRatransm.
|
||||
rfcommbuf[9] = 0x00; // Number of Frames
|
||||
|
|
Loading…
Reference in a new issue