untested hci cmds for sdp rfcomm query

This commit is contained in:
matthias.ringwald@gmail.com 2013-04-26 20:19:09 +00:00
parent d3d614de49
commit 6989e7aa1d
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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 = {