mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-11 21:44:49 +00:00
added btstack_set_discoverable command
This commit is contained in:
parent
98199a5690
commit
bc2af4fc4b
@ -206,7 +206,8 @@ extern const hci_cmd_t btstack_set_acl_capture_mode;
|
||||
extern const hci_cmd_t btstack_get_version;
|
||||
extern const hci_cmd_t btstack_get_system_bluetooth_enabled;
|
||||
extern const hci_cmd_t btstack_set_system_bluetooth_enabled;
|
||||
|
||||
extern const hci_cmd_t btstack_set_discoverable;
|
||||
|
||||
extern const hci_cmd_t hci_accept_connection_request;
|
||||
extern const hci_cmd_t hci_authentication_requested;
|
||||
extern const hci_cmd_t hci_create_connection;
|
||||
@ -258,7 +259,7 @@ extern const hci_cmd_t rfcomm_create_channel;
|
||||
extern const hci_cmd_t rfcomm_decline_connection;
|
||||
extern const hci_cmd_t rfcomm_disconnect;
|
||||
extern const hci_cmd_t rfcomm_register_service;
|
||||
extern const hci_cmd_t rfcomm_unregister_service;
|
||||
extern const hci_cmd_t rfcomm_unregister_service;
|
||||
|
||||
#if defined __cplusplus
|
||||
}
|
||||
|
@ -342,6 +342,12 @@ const hci_cmd_t btstack_set_system_bluetooth_enabled = {
|
||||
OPCODE(OGF_BTSTACK, BTSTACK_SET_SYSTEM_BLUETOOTH_ENABLED), "1"
|
||||
};
|
||||
|
||||
const hci_cmd_t btstack_set_discoverable = {
|
||||
OPCODE(OGF_BTSTACK, BTSTACK_SET_DISCOVERABLE), "1"
|
||||
};
|
||||
|
||||
|
||||
|
||||
const hci_cmd_t l2cap_create_channel = {
|
||||
OPCODE(OGF_BTSTACK, L2CAP_CREATE_CHANNEL), "B2"
|
||||
// @param bd_addr(48), psm (16)
|
||||
|
Loading…
Reference in New Issue
Block a user