mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Always print incoming SDP data if EXTRADEBUG is uncommented
This commit is contained in:
parent
5b95368438
commit
60ef04d32f
1 changed files with 3 additions and 3 deletions
6
SPP.cpp
6
SPP.cpp
|
@ -207,7 +207,9 @@ void SPP::ACLData(uint8_t* l2capinbuf) {
|
|||
l2capResponse2(l2capinbuf[9], l2capinbuf[10]); // L2CAP continuation state
|
||||
firstMessage = true;
|
||||
}
|
||||
} else {
|
||||
} else
|
||||
serviceNotSupported(l2capinbuf[9], l2capinbuf[10]); // The service is not supported
|
||||
|
||||
#ifdef EXTRADEBUG
|
||||
Notify(PSTR("\r\nUUID: "), 0x80);
|
||||
uint16_t uuid;
|
||||
|
@ -226,8 +228,6 @@ void SPP::ACLData(uint8_t* l2capinbuf) {
|
|||
Notify(PSTR(" "), 0x80);
|
||||
}
|
||||
#endif
|
||||
serviceNotSupported(l2capinbuf[9], l2capinbuf[10]); // The service is not supported
|
||||
}
|
||||
}
|
||||
} else if (l2capinbuf[6] == rfcomm_dcid[0] && l2capinbuf[7] == rfcomm_dcid[1]) { // RFCOMM
|
||||
rfcommChannel = l2capinbuf[8] & 0xF8;
|
||||
|
|
Loading…
Reference in a new issue