mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-08 12:50:52 +00:00
18 lines
764 B
TeX
18 lines
764 B
TeX
% !TEX root = btstack_gettingstarted.tex
|
|
\section{SDP Client API}
|
|
\label{appendix:api_sdp_client}
|
|
$ $
|
|
\begin{lstlisting}
|
|
|
|
/**
|
|
* @brief Queries the SDP service of the remote device given a service search pattern and a list of attribute IDs. The remote data is handled by the SDP parser. The SDP parser delivers attribute values and done event via a registered callback.
|
|
*/
|
|
void sdp_client_query(bd_addr_t remote, uint8_t * des_serviceSearchPattern, uint8_t * des_attributeIDList);
|
|
|
|
#ifdef HAVE_SDP_EXTRA_QUERIES
|
|
void sdp_client_service_attribute_search(bd_addr_t remote, uint32_t search_serviceRecordHandle, uint8_t * des_attributeIDList);
|
|
void sdp_client_service_search(bd_addr_t remote, uint8_t * des_serviceSearchPattern);
|
|
#endif
|
|
\end{lstlisting}
|
|
\pagebreak
|