2014-11-06 14:09:12 +00:00
|
|
|
% !TEX root = btstack_gettingstarted.tex
|
2015-04-09 14:49:03 +02:00
|
|
|
\section{SDP Client}
|
2014-11-06 14:09:12 +00:00
|
|
|
\label{appendix:api_sdp_client}
|
|
|
|
$ $
|
|
|
|
\begin{lstlisting}
|
2015-04-09 14:49:03 +02:00
|
|
|
|
|
|
|
// Queries the SDP service of the remote device given a service
|
|
|
|
// search pattern and a list of attribute IDs. The remote data is
|
2014-11-06 14:09:12 +00:00
|
|
|
// 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);
|
|
|
|
|
2015-04-09 14:49:03 +02:00
|
|
|
#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
|
2014-11-06 14:09:12 +00:00
|
|
|
\end{lstlisting}
|
2015-04-09 14:49:03 +02:00
|
|
|
\pagebreak
|