fix compile

This commit is contained in:
Matthias Ringwald 2017-01-13 19:30:00 +01:00
parent e1cd7dec93
commit 02b78fc885
2 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,7 @@ static att_server_t * att_server_for_handle(hci_con_handle_t con_handle){
return &hci_connection->att_server;
}
#ifdef ENABLE_LE_SIGNED_WRITE
static att_server_t * att_server_for_state(att_server_state_t state){
btstack_linked_list_iterator_t it;
hci_connections_get_iterator(&it);
@ -88,6 +89,7 @@ static att_server_t * att_server_for_state(att_server_state_t state){
}
return NULL;
}
#endif
static void att_handle_value_indication_notify_client(uint8_t status, uint16_t client_handle, uint16_t attribute_handle){
if (!att_client_packet_handler) return;

View File

@ -21,6 +21,7 @@
#define ENABLE_SDP_DES_DUMP
#define ENABLE_SDP_EXTRA_QUERIES
// #define ENABLE_LE_SECURE_CONNECTIONS
#define ENABLE_LE_SIGNED_WRITE
// BTstack configuration. buffers, sizes, ...
#define HCI_ACL_PAYLOAD_SIZE 52