bt_rdev_sdp_search()

Initiates an SDP service record search.

Synopsis:

#include <btapi/btdevice.h>
 
bt_sdp_list_t* bt_rdev_sdp_search(const bt_remote_device_t *remote_device, char *pattern[])

Since:

BlackBerry 10.3.0

Arguments:

remote_device

A pointer to the remote device structure.

pattern

Array of the NULL-terminated string which represents the search pattern, or NULL for Public Browse Group search.

Library:

libbtapi (For the qcc command, use the -l btapi option to link against this library)

Description:

This function initiates an SDP record search with a specified search pattern on a specified remote device. It blocks and waits until the search request is completed.

Returns:

A pointer to the address of the resulting SDP record list, or NULL with the errno set. Any errno value other than the following indicates that a system error has occurred:
  • EINVAL: An invalid value was passed in for remote_device.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus