mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
fix l2cap_reject
This commit is contained in:
parent
2947ae0b28
commit
5ca8d57be3
@ -473,7 +473,7 @@ void l2cap_run(void){
|
||||
}
|
||||
break;
|
||||
case COMMAND_REJECT:
|
||||
l2cap_send_signaling_packet(handle, COMMAND_REJECT, sig_id, result);
|
||||
l2cap_send_signaling_packet(handle, COMMAND_REJECT, sig_id, result, 0, NULL);
|
||||
break;
|
||||
default:
|
||||
// should not happen
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include <string.h>
|
||||
|
||||
static const char *l2cap_signaling_commands_format[] = {
|
||||
"D", // 0x01 command reject: reason {cmd not understood (0), sig MTU exceeded (2:max sig MTU), invalid CID (4:req CID)}, data len, data
|
||||
"2D", // 0x01 command reject: reason {cmd not understood (0), sig MTU exceeded (2:max sig MTU), invalid CID (4:req CID)}, data len, data
|
||||
"22", // 0x02 connection request: PSM, Source CID
|
||||
"2222", // 0x03 connection response: Dest CID, Source CID, Result, Status
|
||||
"22D", // 0x04 config request: Dest CID, Flags, Configuration options
|
||||
|
Loading…
x
Reference in New Issue
Block a user