bt_device_cb

The callback prototype to work with Bluetooth-enabled devices.

Synopsis:

#include <btapi/btdevice.h>
 
typedef void(* bt_device_cb)(const int event, const char *bt_addr, const char *event_data);

Arguments:

event

The Bluetooth event. See the constants prefixed with BT_EVT.

bt_addr

A pointer to an 18-byte buffer the Bluetooth MAC address is written to in NULL-terminated printable format.

event_data

A string representing the event data.

Since:

BlackBerry 10.0.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