mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 19:20:54 +00:00
untested hci cmds for sdp rfcomm query
This commit is contained in:
parent
d3d614de49
commit
6989e7aa1d
@ -159,6 +159,9 @@ extern "C" {
|
||||
// unregister SDP Service Record
|
||||
#define SDP_UNREGISTER_SERVICE_RECORD 0x31
|
||||
|
||||
// Get remote RFCOMM services
|
||||
#define SDP_CLIENT_QUERY_RFCOMM_SERVICES 0x32
|
||||
|
||||
// RFCOMM "HCI" Commands
|
||||
#define RFCOMM_CREATE_CHANNEL 0x40
|
||||
#define RFCOMM_DISCONNECT 0x41
|
||||
|
@ -632,6 +632,7 @@ const hci_cmd_t l2cap_decline_connection = {
|
||||
OPCODE(OGF_BTSTACK, L2CAP_DECLINE_CONNECTION), "21"
|
||||
// @param source cid (16), reason(8)
|
||||
};
|
||||
|
||||
const hci_cmd_t sdp_register_service_record = {
|
||||
OPCODE(OGF_BTSTACK, SDP_REGISTER_SERVICE_RECORD), "S"
|
||||
// @param service record handle (DES)
|
||||
@ -640,6 +641,10 @@ const hci_cmd_t sdp_unregister_service_record = {
|
||||
OPCODE(OGF_BTSTACK, SDP_UNREGISTER_SERVICE_RECORD), "4"
|
||||
// @param service record handle (32)
|
||||
};
|
||||
const hci_cmd_t sdp_client_query_rfcomm_services = {
|
||||
OPCODE(OGF_BTSTACK, SDP_CLIENT_QUERY_RFCOMM_SERVICES), "BS"
|
||||
// @param service record handle (32)
|
||||
};
|
||||
|
||||
// create rfcomm channel: @param bd_addr(48), channel (8)
|
||||
const hci_cmd_t rfcomm_create_channel = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user