bluetooth_dpm_get_data_transfer_state(&dpm_status);
return (dpm_status == BLUETOOTH_DPM_RESTRICTED ? BT_DPM_RESTRICTED : BT_DPM_ALLOWED);
}
+ /* TODO: MAP? see above */
/* ++ check MDM profile restriction ++ */
if (g_strcmp0(BT_A2DP_UUID, uuid) == 0)
bt_dpm_status_t dpm_value = BLUETOOTH_DPM_ALLOWED;
dpm_status = _bt_check_dpm_blacklist_uuid(BT_OPP_UUID);
+ /* TODO: MAP? see above */
if (dpm_status == BT_DPM_NO_SERVICE || dpm_status == BT_DPM_RESTRICTED)
return dpm_status;
case BT_DPM_OPP:
status = _bt_check_dpm_transfer_restriction();
break;
+ /* TODO: MAP? see above */
case BT_DPM_HSP:
status = _bt_check_dpm_hsp_restriction();
break;