bt_ldev_set_power_cb

The callback prototype to indicate that bt_ldev_set_power_async has completed.

Synopsis:

#include <btapi/btdevice.h>
 
typedef void(* bt_ldev_set_power_cb)(void *user_data, uint8_t error);

Arguments:

user_data

The pointer to be returned when the callback is executed.

error
0 is returned upon success, -1 with the errno set otherwise. Any errno value other than the following indicates that a system error has occurred:
  • ENOMEM: Sufficient memory is not available to perform the request.
    • ENOENT: A required data entry was not found (internal error).
    • EAGAIN: The Bluetooth stack is already in the requested state.
    • EPERM: There was an error accessing required system data (internal error).

Since:

BlackBerry 10.3.0

Library:

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

Description:

Last modified: 2014-05-14



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

comments powered by Disqus