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