mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-15 23:42:52 +00:00
mark signaling commands as string constant (const char *)
This commit is contained in:
parent
eed533f622
commit
95b6ea6e1e
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
static char *l2cap_signaling_commands_format[] = {
|
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
|
"D", // 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
|
"22", // 0x02 connection request: PSM, Source CID
|
||||||
"2222", // 0x03 connection response: Dest CID, Source CID, Result, Status
|
"2222", // 0x03 connection response: Dest CID, Source CID, Result, Status
|
||||||
|
Loading…
x
Reference in New Issue
Block a user