btstack/docs/manual/api_sdp_client.tex
2015-04-09 14:49:03 +02:00

19 lines
754 B
TeX

% !TEX root = btstack_gettingstarted.tex
\section{SDP Client}
\label{appendix:api_sdp_client}
$ $
\begin{lstlisting}
// 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