bt_rdev_update_friendly_name()

Update the remote device friendly name.

Synopsis:

#include <btapi/btdevice.h>
 
int bt_rdev_update_friendly_name(bt_remote_device_t *remote_device)

Since:

BlackBerry 10.2.0

Arguments:

remote_device

A pointer to a remote device structure.

Library:

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

Description:

Updates the friendly name field of the remote device data structure. This is typically done when a BT_EVT_NAME_UPDATED event is received and you have a bt_remote_device_t object for the specified device already in memory.

Returns:

0 is returned upon success, -1 with the errno set otherwise. Possible errno values include:
  • EINVAL: An invalid parameter was passed in.

Last modified: 2014-05-14



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

comments powered by Disqus