mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-05 00:40:19 +00:00
att_server: pull up att_connection_t from att_server into hci_connection_t
This commit is contained in:
parent
b6df12b64a
commit
aafc4f7abd
@ -107,7 +107,7 @@ static att_write_callback_t att_server_client_write_callback;
|
||||
static hci_con_handle_t att_server_last_can_send_now = HCI_CON_HANDLE_INVALID;
|
||||
|
||||
static att_connection_t * att_connection_for_hci_connection(hci_connection_t * hci_connection){
|
||||
return &hci_connection->att_server.connection;
|
||||
return &hci_connection->att_connection;
|
||||
}
|
||||
|
||||
#ifdef ENABLE_LE_SIGNED_WRITE
|
||||
|
@ -448,8 +448,6 @@ typedef struct {
|
||||
int value_indication_handle;
|
||||
btstack_timer_source_t value_indication_timer;
|
||||
|
||||
att_connection_t connection;
|
||||
|
||||
btstack_linked_list_t notification_requests;
|
||||
btstack_linked_list_t indication_requests;
|
||||
|
||||
@ -585,8 +583,12 @@ typedef struct {
|
||||
uint16_t le_max_tx_octets;
|
||||
#endif
|
||||
|
||||
// ATT Connection
|
||||
att_connection_t att_connection;
|
||||
|
||||
// ATT Server
|
||||
att_server_t att_server;
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
|
||||
|
Loading…
x
Reference in New Issue
Block a user