Retrieve the enabled status of a feature or profile.
int bt_ldev_get_feature_enabled(const bt_feature_t feature_id)
Specifies which feature or profile to check.
Library:libbtapi (For the qcc command, use the -l btapi option to link against this library)
This function returns the current enabled status for a particular Bluetooth feature or profile. The bitmask returned indicates whether the requested item is enabled or disabled due to IT policy or some other reason (see BT_FEATURE_STATUS_*).
- ENOMEM: There was insufficient memory to allocate required structures.
- ENOENT: A required data entry was not found (internal error).
- EPERM: There was an error accessing required system data (internal error).
Last modified: 2014-05-14