bt_ldev_get_power()

Determine whether the Bluetooth radio is enabled.

Synopsis:

#include <btapi/btdevice.h>
 
bool bt_ldev_get_power()

Arguments:

Library:

libbtapi

Description:

The current power status is retrieved and returned as a bool value.

Returns:

true if the Bluetooth radio is enabled (turned on), false otherwise.