also commit new events

This commit is contained in:
matthias.ringwald 2010-01-09 22:26:45 +00:00
parent 21113242b1
commit 0ba57748f4

View File

@ -106,6 +106,9 @@
// data: majot (8), minor (8), revision(16)
#define BTSTACK_EVENT_VERSION 0x63
// data: system bluetooth on/off (bool)
#define BTSTACK_EVENT_SYSTEM_BLUETOOTH_ENABLED 0x64
// data: event (8), len(8), status (8), address(48), handle (16), psm (16), source_cid(16), dest_cid (16)
#define L2CAP_EVENT_CHANNEL_OPENED 0x70
@ -195,6 +198,8 @@ extern hci_cmd_t btstack_get_state;
extern hci_cmd_t btstack_set_power_mode;
extern hci_cmd_t btstack_set_acl_capture_mode;
extern hci_cmd_t btstack_get_version;
extern hci_cmd_t btstack_get_system_bluetooth_enabled;
extern hci_cmd_t btstack_set_system_bluetooth_enabled;
// L2CAP client/server commands - see l2cap.c for info on parameters
extern hci_cmd_t l2cap_create_channel;