xref: /btstack/platform/daemon/src/daemon_cmds.h (revision ea5cc3a8d32110c6238ac31f7e233d4d15960c54)
12531c97eSMatthias Ringwald /*
22531c97eSMatthias Ringwald  * Copyright (C) 2014 BlueKitchen GmbH
32531c97eSMatthias Ringwald  *
42531c97eSMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
52531c97eSMatthias Ringwald  * modification, are permitted provided that the following conditions
62531c97eSMatthias Ringwald  * are met:
72531c97eSMatthias Ringwald  *
82531c97eSMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
92531c97eSMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
102531c97eSMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
112531c97eSMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
122531c97eSMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
132531c97eSMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
142531c97eSMatthias Ringwald  *    contributors may be used to endorse or promote products derived
152531c97eSMatthias Ringwald  *    from this software without specific prior written permission.
162531c97eSMatthias Ringwald  * 4. Any redistribution, use, or modification is done solely for
172531c97eSMatthias Ringwald  *    personal benefit and not for any commercial purpose or for
182531c97eSMatthias Ringwald  *    monetary gain.
192531c97eSMatthias Ringwald  *
202531c97eSMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
212531c97eSMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
222531c97eSMatthias Ringwald  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
232531c97eSMatthias Ringwald  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MATTHIAS
242531c97eSMatthias Ringwald  * RINGWALD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
252531c97eSMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
262531c97eSMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
272531c97eSMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
282531c97eSMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
292531c97eSMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
302531c97eSMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
312531c97eSMatthias Ringwald  * SUCH DAMAGE.
322531c97eSMatthias Ringwald  *
332531c97eSMatthias Ringwald  * Please inquire about commercial licensing options at
342531c97eSMatthias Ringwald  * [email protected]
352531c97eSMatthias Ringwald  *
362531c97eSMatthias Ringwald  */
372531c97eSMatthias Ringwald 
382531c97eSMatthias Ringwald /*
392531c97eSMatthias Ringwald  *  daemon_cmds.h
402531c97eSMatthias Ringwald  */
412531c97eSMatthias Ringwald 
4280e33422SMatthias Ringwald #ifndef DAEMON_CMDS_H
4380e33422SMatthias Ringwald #define DAEMON_CMDS_H
442531c97eSMatthias Ringwald 
452531c97eSMatthias Ringwald #include <stdint.h>
462531c97eSMatthias Ringwald 
472531c97eSMatthias Ringwald #include "bluetooth.h"
482531c97eSMatthias Ringwald #include "hci_cmd.h"
492531c97eSMatthias Ringwald 
502531c97eSMatthias Ringwald #if defined __cplusplus
512531c97eSMatthias Ringwald extern "C" {
522531c97eSMatthias Ringwald #endif
532531c97eSMatthias Ringwald 
54*ea5cc3a8SMatthias Ringwald // calculate daemon (hci) opcode for ocf value
55*ea5cc3a8SMatthias Ringwald #define DAEMON_OPCODE(ocf) ((ocf) | ((OGF_BTSTACK) << 10))
56*ea5cc3a8SMatthias Ringwald 
57*ea5cc3a8SMatthias Ringwald typedef enum {
58*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_BTSTACK_GET_STATE = DAEMON_OPCODE(BTSTACK_GET_STATE),
59*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_BTSTACK_SET_POWER_MODE = DAEMON_OPCODE(BTSTACK_SET_POWER_MODE),
60*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_BTSTACK_SET_ACL_CAPTURE_MODE = DAEMON_OPCODE(BTSTACK_SET_ACL_CAPTURE_MODE),
61*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_BTSTACK_GET_VERSION = DAEMON_OPCODE(BTSTACK_GET_VERSION),
62*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_BTSTACK_GET_SYSTEM_BLUETOOTH_ENABLED = DAEMON_OPCODE(BTSTACK_GET_SYSTEM_BLUETOOTH_ENABLED),
63*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_BTSTACK_SET_SYSTEM_BLUETOOTH_ENABLED = DAEMON_OPCODE(BTSTACK_SET_SYSTEM_BLUETOOTH_ENABLED),
64*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_BTSTACK_SET_DISCOVERABLE = DAEMON_OPCODE(BTSTACK_SET_DISCOVERABLE),
65*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_BTSTACK_SET_BLUETOOTH_ENABLED = DAEMON_OPCODE(BTSTACK_SET_BLUETOOTH_ENABLED),
66*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_L2CAP_CREATE_CHANNEL = DAEMON_OPCODE(L2CAP_CREATE_CHANNEL),
67*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_L2CAP_CREATE_CHANNEL_MTU = DAEMON_OPCODE(L2CAP_CREATE_CHANNEL_MTU),
68*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_L2CAP_DISCONNECT = DAEMON_OPCODE(L2CAP_DISCONNECT),
69*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_L2CAP_REGISTER_SERVICE = DAEMON_OPCODE(L2CAP_REGISTER_SERVICE),
70*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_L2CAP_UNREGISTER_SERVICE = DAEMON_OPCODE(L2CAP_UNREGISTER_SERVICE),
71*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_L2CAP_ACCEPT_CONNECTION = DAEMON_OPCODE(L2CAP_ACCEPT_CONNECTION),
72*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_L2CAP_DECLINE_CONNECTION = DAEMON_OPCODE(L2CAP_DECLINE_CONNECTION),
73*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_SDP_REGISTER_SERVICE_RECORD = DAEMON_OPCODE(SDP_REGISTER_SERVICE_RECORD),
74*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_SDP_UNREGISTER_SERVICE_RECORD = DAEMON_OPCODE(SDP_UNREGISTER_SERVICE_RECORD),
75*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_SDP_CLIENT_QUERY_RFCOMM_SERVICES = DAEMON_OPCODE(SDP_CLIENT_QUERY_RFCOMM_SERVICES),
76*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_SDP_CLIENT_QUERY_SERVICES = DAEMON_OPCODE(SDP_CLIENT_QUERY_SERVICES),
77*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_RFCOMM_CREATE_CHANNEL = DAEMON_OPCODE(RFCOMM_CREATE_CHANNEL),
78*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_RFCOMM_CREATE_CHANNEL_WITH_INITIAL_CREDITS = DAEMON_OPCODE(RFCOMM_CREATE_CHANNEL_WITH_CREDITS),
79*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_RFCOMM_GRANTS_CREDITS = DAEMON_OPCODE(RFCOMM_GRANT_CREDITS),
80*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_RFCOMM_DISCONNECT = DAEMON_OPCODE(RFCOMM_DISCONNECT),
81*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_RFCOMM_REGISTER_SERVICE = DAEMON_OPCODE(RFCOMM_REGISTER_SERVICE),
82*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_RFCOMM_REGISTER_SERVICE_WITH_INITIAL_CREDITS = DAEMON_OPCODE(RFCOMM_REGISTER_SERVICE_WITH_CREDITS),
83*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_RFCOMM_UNREGISTER_SERVICE = DAEMON_OPCODE(RFCOMM_UNREGISTER_SERVICE),
84*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_RFCOMM_ACCEPT_CONNECTION = DAEMON_OPCODE(RFCOMM_ACCEPT_CONNECTION),
85*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_RFCOMM_DECLINE_CONNECTION = DAEMON_OPCODE(RFCOMM_DECLINE_CONNECTION),
86*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_RFCOMM_PERSISTENT_CHANNEL_FOR_SERVICE = DAEMON_OPCODE(RFCOMM_PERSISTENT_CHANNEL),
87*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GAP_DISCONNECT = DAEMON_OPCODE(GAP_DISCONNECT),
88*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GAP_LE_SCAN_START = DAEMON_OPCODE(GAP_LE_SCAN_START),
89*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GAP_LE_SCAN_STOP = DAEMON_OPCODE(GAP_LE_SCAN_STOP),
90*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GAP_LE_SET_SCAN_PARAMETERS = DAEMON_OPCODE(GAP_LE_SET_SCAN_PARAMETERS),
91*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GAP_LE_CONNECT = DAEMON_OPCODE(GAP_LE_CONNECT),
92*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GAP_LE_CONNECT_CANCEL = DAEMON_OPCODE(GAP_LE_CONNECT_CANCEL),
93*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_DISCOVER_PRIMARY_SERVICES = DAEMON_OPCODE(GATT_DISCOVER_ALL_PRIMARY_SERVICES),
94*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_DISCOVER_PRIMARY_SERVICES_BY_UUID16 = DAEMON_OPCODE(GATT_DISCOVER_PRIMARY_SERVICES_BY_UUID16),
95*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_DISCOVER_PRIMARY_SERVICES_BY_UUID128 = DAEMON_OPCODE(GATT_DISCOVER_PRIMARY_SERVICES_BY_UUID128),
96*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_FIND_INCLUDED_SERVICES_FOR_SERVICE = DAEMON_OPCODE(GATT_FIND_INCLUDED_SERVICES_FOR_SERVICE),
97*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_DISCOVER_CHARACTERISTICS_FOR_SERVICE = DAEMON_OPCODE(GATT_DISCOVER_CHARACTERISTICS_FOR_SERVICE),
98*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_DISCOVER_CHARACTERISTICS_FOR_SERVICE_BY_UUID128 = DAEMON_OPCODE(GATT_DISCOVER_CHARACTERISTICS_FOR_SERVICE_BY_UUID128),
99*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_DISCOVER_CHARACTERISTIC_DESCRIPTORS = DAEMON_OPCODE(GATT_DISCOVER_CHARACTERISTIC_DESCRIPTORS),
100*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_READ_VALUE_OF_CHARACTERISTIC = DAEMON_OPCODE(GATT_READ_VALUE_OF_CHARACTERISTIC),
101*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_READ_LONG_VALUE_OF_CHARACTERISTIC = DAEMON_OPCODE(GATT_READ_LONG_VALUE_OF_CHARACTERISTIC),
102*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_WRITE_VALUE_OF_CHARACTERISTIC_WITHOUT_RESPONSE = DAEMON_OPCODE(GATT_WRITE_VALUE_OF_CHARACTERISTIC_WITHOUT_RESPONSE),
103*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_WRITE_VALUE_OF_CHARACTERISTIC = DAEMON_OPCODE(GATT_WRITE_VALUE_OF_CHARACTERISTIC),
104*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_WRITE_LONG_VALUE_OF_CHARACTERISTIC = DAEMON_OPCODE(GATT_WRITE_LONG_VALUE_OF_CHARACTERISTIC),
105*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_RELIABLE_WRITE_LONG_VALUE_OF_CHARACTERISTIC = DAEMON_OPCODE(GATT_RELIABLE_WRITE_LONG_VALUE_OF_CHARACTERISTIC),
106*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_READ_CHARACTERISTIC_DESCRIPTOR = DAEMON_OPCODE(GATT_READ_CHARACTERISTIC_DESCRIPTOR),
107*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_READ_LONG_CHARACTERISTIC_DESCRIPTOR = DAEMON_OPCODE(GATT_READ_LONG_CHARACTERISTIC_DESCRIPTOR),
108*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_WRITE_CHARACTERISTIC_DESCRIPTOR = DAEMON_OPCODE(GATT_WRITE_CHARACTERISTIC_DESCRIPTOR),
109*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_WRITE_LONG_CHARACTERISTIC_DESCRIPTOR = DAEMON_OPCODE(GATT_WRITE_LONG_CHARACTERISTIC_DESCRIPTOR),
110*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_WRITE_CLIENT_CHARACTERISTIC_CONFIGURATION = DAEMON_OPCODE(GATT_WRITE_CLIENT_CHARACTERISTIC_CONFIGURATION),
111*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_GATT_GET_MTU = DAEMON_OPCODE(GATT_GET_MTU),
112*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_SM_SET_AUTHENTICATION_REQUIREMENTS = DAEMON_OPCODE(SM_SET_AUTHENTICATION_REQUIREMENTS),
113*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_SM_SET_IO_CAPABILITIES = DAEMON_OPCODE(SM_SET_IO_CAPABILITIES),
114*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_SM_BONDING_DECLINE = DAEMON_OPCODE(SM_BONDING_DECLINE),
115*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_SM_JUST_WORKS_CONFIRM = DAEMON_OPCODE(SM_JUST_WORKS_CONFIRM),
116*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_SM_NUMERIC_COMPARISON_CONFIRM = DAEMON_OPCODE(SM_NUMERIC_COMPARISON_CONFIRM),
117*ea5cc3a8SMatthias Ringwald     DAEMON_OPCODE_SM_PASSKEY_INPUT = DAEMON_OPCODE(SM_PASSKEY_INPUT),
118*ea5cc3a8SMatthias Ringwald } daemon_opcode_t;
119*ea5cc3a8SMatthias Ringwald 
1202531c97eSMatthias Ringwald extern const hci_cmd_t btstack_get_state;
1212531c97eSMatthias Ringwald extern const hci_cmd_t btstack_set_power_mode;
1222531c97eSMatthias Ringwald extern const hci_cmd_t btstack_set_acl_capture_mode;
1232531c97eSMatthias Ringwald extern const hci_cmd_t btstack_get_version;
1242531c97eSMatthias Ringwald extern const hci_cmd_t btstack_get_system_bluetooth_enabled;
1252531c97eSMatthias Ringwald extern const hci_cmd_t btstack_set_system_bluetooth_enabled;
1262531c97eSMatthias Ringwald extern const hci_cmd_t btstack_set_discoverable;
1272531c97eSMatthias Ringwald extern const hci_cmd_t btstack_set_bluetooth_enabled;    // only used by btstack config
1282531c97eSMatthias Ringwald 
1292531c97eSMatthias Ringwald extern const hci_cmd_t l2cap_accept_connection_cmd;
1302531c97eSMatthias Ringwald extern const hci_cmd_t l2cap_create_channel_cmd;
1312531c97eSMatthias Ringwald extern const hci_cmd_t l2cap_create_channel_mtu_cmd;
1322531c97eSMatthias Ringwald extern const hci_cmd_t l2cap_decline_connection_cmd;
1332531c97eSMatthias Ringwald extern const hci_cmd_t l2cap_disconnect_cmd;
1342531c97eSMatthias Ringwald extern const hci_cmd_t l2cap_register_service_cmd;
1352531c97eSMatthias Ringwald extern const hci_cmd_t l2cap_unregister_service_cmd;
1362531c97eSMatthias Ringwald 
1372531c97eSMatthias Ringwald extern const hci_cmd_t sdp_register_service_record_cmd;
1382531c97eSMatthias Ringwald extern const hci_cmd_t sdp_unregister_service_record_cmd;
1392531c97eSMatthias Ringwald extern const hci_cmd_t sdp_client_query_rfcomm_services_cmd;
1402531c97eSMatthias Ringwald extern const hci_cmd_t sdp_client_query_services_cmd;
1412531c97eSMatthias Ringwald 
1422531c97eSMatthias Ringwald // accept connection @param bd_addr(48), rfcomm_cid (16)
1432531c97eSMatthias Ringwald extern const hci_cmd_t rfcomm_accept_connection_cmd;
1442531c97eSMatthias Ringwald // create rfcomm channel: @param bd_addr(48), channel (8)
1452531c97eSMatthias Ringwald extern const hci_cmd_t rfcomm_create_channel_cmd;
1462531c97eSMatthias Ringwald // create rfcomm channel: @param bd_addr(48), channel (8), mtu (16), credits (8)
1472531c97eSMatthias Ringwald extern const hci_cmd_t rfcomm_create_channel_with_initial_credits_cmd;
1482531c97eSMatthias Ringwald // decline rfcomm disconnect,@param bd_addr(48), rfcomm cid (16), reason(8)
1492531c97eSMatthias Ringwald extern const hci_cmd_t rfcomm_decline_connection_cmd;
1502531c97eSMatthias Ringwald // disconnect rfcomm disconnect, @param rfcomm_cid(8), reason(8)
1512531c97eSMatthias Ringwald extern const hci_cmd_t rfcomm_disconnect_cmd;
1522531c97eSMatthias Ringwald // register rfcomm service: @param channel(8), mtu (16)
1532531c97eSMatthias Ringwald extern const hci_cmd_t rfcomm_register_service_cmd;
1542531c97eSMatthias Ringwald // register rfcomm service: @param channel(8), mtu (16), initial credits (8)
1552531c97eSMatthias Ringwald extern const hci_cmd_t rfcomm_register_service_with_initial_credits_cmd;
1562531c97eSMatthias Ringwald // unregister rfcomm service, @param service_channel(16)
1572531c97eSMatthias Ringwald extern const hci_cmd_t rfcomm_unregister_service_cmd;
1582531c97eSMatthias Ringwald // request persisten rfcomm channel for service name: serive name (char*)
1592531c97eSMatthias Ringwald extern const hci_cmd_t rfcomm_persistent_channel_for_service_cmd;
1602531c97eSMatthias Ringwald extern const hci_cmd_t rfcomm_grants_credits_cmd;
1612531c97eSMatthias Ringwald 
1622531c97eSMatthias Ringwald extern const hci_cmd_t gap_disconnect_cmd;
1632531c97eSMatthias Ringwald extern const hci_cmd_t gap_le_scan_start;
1642531c97eSMatthias Ringwald extern const hci_cmd_t gap_le_scan_stop;
1652531c97eSMatthias Ringwald extern const hci_cmd_t gap_le_set_scan_parameters;
1662531c97eSMatthias Ringwald extern const hci_cmd_t gap_le_connect_cmd;
1672531c97eSMatthias Ringwald extern const hci_cmd_t gap_le_connect_cancel_cmd;
1682531c97eSMatthias Ringwald extern const hci_cmd_t gatt_discover_primary_services_cmd;
1692531c97eSMatthias Ringwald 
1702531c97eSMatthias Ringwald extern const hci_cmd_t gatt_discover_primary_services_by_uuid16_cmd;
1712531c97eSMatthias Ringwald extern const hci_cmd_t gatt_discover_primary_services_by_uuid128_cmd;
1722531c97eSMatthias Ringwald extern const hci_cmd_t gatt_find_included_services_for_service_cmd;
1732531c97eSMatthias Ringwald extern const hci_cmd_t gatt_discover_characteristics_for_service_cmd;
1742531c97eSMatthias Ringwald extern const hci_cmd_t gatt_discover_characteristics_for_service_by_uuid128_cmd;
1752531c97eSMatthias Ringwald extern const hci_cmd_t gatt_discover_characteristic_descriptors_cmd;
1762531c97eSMatthias Ringwald extern const hci_cmd_t gatt_read_value_of_characteristic_cmd;
1772531c97eSMatthias Ringwald extern const hci_cmd_t gatt_read_long_value_of_characteristic_cmd;
1782531c97eSMatthias Ringwald extern const hci_cmd_t gatt_write_value_of_characteristic_without_response_cmd;
1792531c97eSMatthias Ringwald extern const hci_cmd_t gatt_write_value_of_characteristic_cmd;
1802531c97eSMatthias Ringwald extern const hci_cmd_t gatt_write_long_value_of_characteristic_cmd;
1812531c97eSMatthias Ringwald extern const hci_cmd_t gatt_reliable_write_long_value_of_characteristic_cmd;
1822531c97eSMatthias Ringwald extern const hci_cmd_t gatt_read_characteristic_descriptor_cmd;
1832531c97eSMatthias Ringwald extern const hci_cmd_t gatt_read_long_characteristic_descriptor_cmd;
1842531c97eSMatthias Ringwald extern const hci_cmd_t gatt_write_characteristic_descriptor_cmd;
1852531c97eSMatthias Ringwald extern const hci_cmd_t gatt_write_long_characteristic_descriptor_cmd;
1862531c97eSMatthias Ringwald extern const hci_cmd_t gatt_write_client_characteristic_configuration_cmd;
1872531c97eSMatthias Ringwald extern const hci_cmd_t gatt_get_mtu;
1882531c97eSMatthias Ringwald 
1891edc4fc7SMatthias Ringwald extern const hci_cmd_t sm_set_authentication_requirements_cmd;
1901edc4fc7SMatthias Ringwald extern const hci_cmd_t sm_set_io_capabilities_cmd;
1911edc4fc7SMatthias Ringwald extern const hci_cmd_t sm_bonding_decline_cmd;
1921edc4fc7SMatthias Ringwald extern const hci_cmd_t sm_just_works_confirm_cmd;
1931edc4fc7SMatthias Ringwald extern const hci_cmd_t sm_numeric_comparison_confirm_cmd;
1941edc4fc7SMatthias Ringwald extern const hci_cmd_t sm_passkey_input_cmd;
1952531c97eSMatthias Ringwald 
1962531c97eSMatthias Ringwald #if defined __cplusplus
1972531c97eSMatthias Ringwald }
1982531c97eSMatthias Ringwald #endif
1992531c97eSMatthias Ringwald 
20080e33422SMatthias Ringwald #endif // DAEMON_CMDS_H
201