btstack/docs/manual/api_sdp_client.tex

18 lines
764 B
TeX
Raw Normal View History

2014-11-06 14:09:12 +00:00
% !TEX root = btstack_gettingstarted.tex
2015-04-09 15:11:48 +00:00
\section{SDP Client API}
2014-11-06 14:09:12 +00:00
\label{appendix:api_sdp_client}
$ $
\begin{lstlisting}
2015-04-09 12:49:03 +00:00
2015-04-09 15:11:48 +00:00
/**
* @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.
*/
2014-11-06 14:09:12 +00:00
void sdp_client_query(bd_addr_t remote, uint8_t * des_serviceSearchPattern, uint8_t * des_attributeIDList);
2015-04-09 12:49:03 +00: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 12:49:03 +00:00
\pagebreak