I observed , HCI Opcode Commands hci_cmd_t hci_enhanced_setup_synchronous_connection and hci_cmd_t hci_enhanced_accept_synchronous_connection had the same opcode as 0x3d. For that reason, Modified the HCI Command, Opcode field from const hci_cmd_t hci_enhanced_setup_synchronous_connection = { OPCODE(OGF_LINK_CONTROL, 0x3d), "H4412212222441221222211111111221" }; as const hci_cmd_t hci_enhanced_setup_synchronous_connection = { OPCODE(OGF_LINK_CONTROL, 0x35), "H4412212222441221222211111111221" }; to get rid of from the duplication of the const hci_cmd_t hci_enhanced_accept_synchronous_connection = { OPCODE(OGF_LINK_CONTROL, 0x3d), "B4412212222441221222211111111221" };
- hci_cmds.c.patch 331
Comment #1
Posted on Feb 20, 2015 by Swift OxHi.. Thanks, correct observation. I did stumble upon that yesterday, too, and fixed it in r3207 https://code.google.com/p/btstack/source/detail?r=3207
best, matthias
Comment #2
Posted on Feb 20, 2015 by Swift Oxoh. that was another one. I've also corrected the hci_enhanced_setup_synchronous_connection in r3209
Status: Fixed
Labels:
Type-Patch