return BLUETOOTH_ERROR_NOT_CONNECTED;
}
- // TODO: This code is commented as currently this API is not supported in OAL
- //ret = gatts_set_preferred_phy(conn_info->connection_id, tx_phy, rx_phy, phy_options);
-
+ /* TODO: This code is commented as currently this API is not supported in OAL
+ ret = gatts_set_preferred_phy(conn_info->connection_id, tx_phy, rx_phy, phy_options);
if (ret != OAL_STATUS_SUCCESS) {
BT_ERR("ret: %d", ret);
g_free(addr);
return BLUETOOTH_ERROR_INTERNAL;
- }
+ }*/
g_free(addr);
return BLUETOOTH_ERROR_NONE;
return BLUETOOTH_ERROR_NOT_CONNECTED;
}
- // TODO: This code is commented as currently this API is not supported in OAL
- //ret = gatts_read_phy(conn_info->connection_id);
-
+ /* TODO: This code is commented as currently this API is not supported in OAL
+ ret = gatts_read_phy(conn_info->connection_id);
if (ret != OAL_STATUS_SUCCESS) {
BT_ERR("ret: %d", ret);
g_free(addr);
return BLUETOOTH_ERROR_INTERNAL;
- }
+ }*/
g_free(addr);
return BLUETOOTH_ERROR_NONE;
return BLUETOOTH_ERROR_NOT_CONNECTED;
}
- // TODO: This code is commented as currently this API is not supported in OAL
- //ret = gattc_set_preferred_phy(conn_info->connection_id, tx_phy, rx_phy, phy_options);
-
+ /* TODO: This code is commented as currently this API is not supported in OAL
+ ret = gattc_set_preferred_phy(conn_info->connection_id, tx_phy, rx_phy, phy_options);
if (ret != OAL_STATUS_SUCCESS) {
BT_ERR("ret: %d", ret);
g_free(addr);
return BLUETOOTH_ERROR_INTERNAL;
- }
+ }*/
g_free(addr);
return BLUETOOTH_ERROR_NONE;
return BLUETOOTH_ERROR_NOT_CONNECTED;
}
- // TODO: This code is commented as currently this API is not supported in OAL
- //ret = gattc_read_phy(conn_info->connection_id);
-
+ /* TODO: This code is commented as currently this API is not supported in OAL
+ ret = gattc_read_phy(conn_info->connection_id);
if (ret != OAL_STATUS_SUCCESS) {
BT_ERR("ret: %d", ret);
g_free(addr);
return BLUETOOTH_ERROR_INTERNAL;
- }
+ }*/
g_free(addr);
return BLUETOOTH_ERROR_NONE;