Tizen Native API
5.0
|
Bluetooth LE API provides functions for bluetooth 5.0 functionality such as 2M Phy and Coded Phy.
#include <bluetooth.h>
Bluetooth LE API provides functions for bluetooth 5.0 functionality such as 2M Phy and Coded Phy
This API is related with the following features:
You can check if the device supports the related features for this API by using System Information, and control your application's actions accordingly.
To ensure your application is only running on devices with specific features, please define the features in your manifest file using the manifest editor in the SDK.
More details on using features in your application can be found in the feature element description.
Functions | |
int | bt_adapter_le_is_2m_phy_supported (bool *is_supported) |
Checks if LE 2M PHY feature is supported or not. | |
int | bt_adapter_le_is_coded_phy_supported (bool *is_supported) |
Checks if LE CODED PHY feature is supported or not. |
int bt_adapter_le_is_2m_phy_supported | ( | bool * | is_supported | ) |
Checks if LE 2M PHY feature is supported or not.
[out] | is_supported | The LE 2M PHY feature support: (true = supported , false = not supported) |
BT_ERROR_NONE | Successful |
BT_ERROR_NOT_INITIALIZED | Not initialized |
BT_ERROR_INVALID_PARAMETER | Invalid parameter |
BT_ERROR_NOT_ENABLED | Adapter is not enabled |
BT_ERROR_OPERATION_FAILED | Operation failed |
BT_ERROR_NOT_SUPPORTED | Not supported |
int bt_adapter_le_is_coded_phy_supported | ( | bool * | is_supported | ) |
Checks if LE CODED PHY feature is supported or not.
[out] | is_supported | The LE CODED PHY feature support: (true = supported , false = not supported) |
BT_ERROR_NONE | Successful |
BT_ERROR_NOT_INITIALIZED | Not initialized |
BT_ERROR_INVALID_PARAMETER | Invalid parameter |
BT_ERROR_NOT_ENABLED | Adapter is not enabled |
BT_ERROR_OPERATION_FAILED | Operation failed |
BT_ERROR_NOT_SUPPORTED | Not supported |