Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Service Discovery Protocol handling. More...
Go to the source code of this file.
Data Structures | |
struct | bt_sdp_data_elem |
SDP Generic Data Element Value. More... | |
struct | bt_sdp_attribute |
SDP Attribute Value. More... | |
struct | bt_sdp_record |
SDP Service Record Value. More... | |
struct | bt_sdp_client_result |
Generic SDP Client Query Result data holder. More... | |
struct | bt_sdp_discover_params |
Main user structure used in SDP discovery of remote. More... | |
Typedefs | |
typedef uint8_t(* | bt_sdp_discover_func_t) (struct bt_conn *conn, struct bt_sdp_client_result *result) |
Callback type reporting to user that there is a resolved result on remote for given UUID and the result record buffer can be used by user for further inspection. More... | |
Enumerations | |
enum | { BT_SDP_DISCOVER_UUID_STOP = 0 , BT_SDP_DISCOVER_UUID_CONTINUE } |
Helper enum to be used as return value of bt_sdp_discover_func_t. The value informs the caller to perform further pending actions or stop them. More... | |
enum | bt_sdp_proto { BT_SDP_PROTO_RFCOMM = 0x0003 , BT_SDP_PROTO_L2CAP = 0x0100 } |
Protocols to be asked about specific parameters. More... | |
Functions | |
int | bt_sdp_register_service (struct bt_sdp_record *service) |
Register a Service Record. More... | |
int | bt_sdp_discover (struct bt_conn *conn, const struct bt_sdp_discover_params *params) |
Allows user to start SDP discovery session. More... | |
int | bt_sdp_discover_cancel (struct bt_conn *conn, const struct bt_sdp_discover_params *params) |
Release waiting SDP discovery request. More... | |
int | bt_sdp_get_proto_param (const struct net_buf *buf, enum bt_sdp_proto proto, uint16_t *param) |
Give to user parameter value related to given stacked protocol UUID. More... | |
int | bt_sdp_get_addl_proto_param (const struct net_buf *buf, enum bt_sdp_proto proto, uint8_t param_index, uint16_t *param) |
Get additional parameter value related to given stacked protocol UUID. More... | |
int | bt_sdp_get_profile_version (const struct net_buf *buf, uint16_t profile, uint16_t *version) |
Get profile version. More... | |
int | bt_sdp_get_features (const struct net_buf *buf, uint16_t *features) |
Get SupportedFeatures attribute value. More... | |
Service Discovery Protocol handling.