mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-18 14:42:33 +00:00
used corect cmd names
This commit is contained in:
parent
bcdaafa184
commit
9986306c04
@ -762,26 +762,22 @@ OPCODE(OGF_BTSTACK, GAP_LE_CONNECT), "1B"
|
|||||||
* @param handle
|
* @param handle
|
||||||
*/
|
*/
|
||||||
const hci_cmd_t gatt_client_start_cmd = {
|
const hci_cmd_t gatt_client_start_cmd = {
|
||||||
OPCODE(OGF_BTSTACK, GAP_LE_CONNECT), "H"
|
OPCODE(OGF_BTSTACK, GATT_START), "H"
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param handle
|
* @param handle
|
||||||
*/
|
*/
|
||||||
const hci_cmd_t gatt_client_stop_cmd = {
|
const hci_cmd_t gatt_client_stop_cmd = {
|
||||||
OPCODE(OGF_BTSTACK, GAP_LE_CONNECT), "H"
|
OPCODE(OGF_BTSTACK, GATT_STOP), "H"
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param handle
|
* @param handle
|
||||||
*/
|
*/
|
||||||
const hci_cmd_t gatt_discover_primary_services_cmd = {
|
const hci_cmd_t gatt_discover_primary_services_cmd = {
|
||||||
OPCODE(OGF_BTSTACK, GAP_LE_CONNECT), "H"
|
OPCODE(OGF_BTSTACK, GATT_DISCOVER_ALL_PRIMARY_SERVICES), "H"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// GATT Client 0x70
|
|
||||||
#define GATT_DISCOVER_ALL_PRIMARY_SERVICES 0x70
|
|
||||||
|
|
||||||
// register rfcomm service: @param channel(8), mtu (16), initial credits (8)
|
// register rfcomm service: @param channel(8), mtu (16), initial credits (8)
|
||||||
extern const hci_cmd_t rfcomm_register_service_with_initial_credits;
|
extern const hci_cmd_t rfcomm_register_service_with_initial_credits;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user