Changed LSB of buffer size to BULK_MAXPKTSIZE-14

This commit is contained in:
Frederik Juul 2013-03-15 11:57:33 +01:00
parent fb9e53b245
commit 5735a0d740

View file

@ -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