mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-25 18:35:17 +00:00
events: add ATT_EVENT_CAN_SEND_NOW, document BNEP events
This commit is contained in:
parent
c9eeefbc1a
commit
49d18261c1
@ -623,24 +623,62 @@ typedef uint8_t sm_key_t[16];
|
||||
*/
|
||||
#define ATT_EVENT_MTU_EXCHANGE_COMPLETE 0xB5
|
||||
|
||||
// data: event(8), len(8), status (8), hci_handle (16), attribute_handle (16)
|
||||
/**
|
||||
* @format 1H2
|
||||
* @param status
|
||||
* @param conn_handle
|
||||
* @param attribute_handle
|
||||
*/
|
||||
#define ATT_EVENT_HANDLE_VALUE_INDICATION_COMPLETE 0xB6
|
||||
|
||||
/**
|
||||
* @format
|
||||
*/
|
||||
#define ATT_EVENT_CAN_SEND_NOW 0xB7
|
||||
|
||||
// data: event(8), len(8), status (8), bnep service uuid (16)
|
||||
#define BNEP_EVENT_SERVICE_REGISTERED 0xC0
|
||||
// TODO: daemon only event
|
||||
|
||||
// data: event(8), len(8), status (8), bnep source uuid (16), bnep destination uuid (16), mtu (16), remote_address (48)
|
||||
#define BNEP_EVENT_OPEN_CHANNEL_COMPLETE 0xC1
|
||||
/**
|
||||
* @format 12
|
||||
* @param status
|
||||
* @param service_uuid
|
||||
*/
|
||||
#define BNEP_EVENT_SERVICE_REGISTERED 0xC0
|
||||
|
||||
// data: event(8), len(8), bnep source uuid (16), bnep destination uuid (16), remote_address (48)
|
||||
#define BNEP_EVENT_CHANNEL_CLOSED 0xC2
|
||||
/**
|
||||
* @format 1222B
|
||||
* @param status
|
||||
* @param source_uuid
|
||||
* @param destination_uuid
|
||||
* @param mtu
|
||||
* @param remote_address
|
||||
*/
|
||||
#define BNEP_EVENT_OPEN_CHANNEL_COMPLETE 0xC1
|
||||
|
||||
// data: event(8), len(8), bnep source uuid (16), bnep destination uuid (16), remote_address (48), channel state (8)
|
||||
/**
|
||||
* @format 22B
|
||||
* @param source_uuid
|
||||
* @param destination_uuid
|
||||
* @param remote_address
|
||||
*/
|
||||
#define BNEP_EVENT_CHANNEL_CLOSED 0xC2
|
||||
|
||||
/**
|
||||
* @format 22B1
|
||||
* @param source_uuid
|
||||
* @param destination_uuid
|
||||
* @param remote_address
|
||||
* @param channel_state
|
||||
*/
|
||||
#define BNEP_EVENT_CHANNEL_TIMEOUT 0xC3
|
||||
|
||||
// data: event(8), len(8)
|
||||
#define BNEP_EVENT_CAN_SEND_NOW 0xC4
|
||||
/**
|
||||
* @format 22B
|
||||
* @param source_uuid
|
||||
* @param destination_uuid
|
||||
* @param remote_address
|
||||
*/
|
||||
#define BNEP_EVENT_CAN_SEND_NOW 0xC4
|
||||
|
||||
/**
|
||||
* @format H1B
|
||||
|
Loading…
x
Reference in New Issue
Block a user