* Returns BTA_SUCCESS if record set sucessfully, otherwise error code.
*
******************************************************************************/
-tBTA_STATUS BTA_DmSetLocalDiRecord(tBTA_DI_RECORD* p_device_info,
+tBTA_STATUS BTA_DmSetLocalDiRecord(tSDP_DI_RECORD* p_device_info,
uint32_t* p_handle) {
tBTA_STATUS status = BTA_FAILURE;
/* Device Identification (DI) data structure
*/
-/* Used to set the DI record */
-typedef tSDP_DI_RECORD tBTA_DI_RECORD;
-/* Used to get the DI record */
-typedef tSDP_DI_GET_RECORD tBTA_DI_GET_RECORD;
-/* SDP discovery database */
-typedef tSDP_DISCOVERY_DB tBTA_DISCOVERY_DB;
#ifndef BTA_DI_NUM_MAX
#define BTA_DI_NUM_MAX 3
* Returns BTA_SUCCESS if record set sucessfully, otherwise error code.
*
******************************************************************************/
-extern tBTA_STATUS BTA_DmSetLocalDiRecord(tBTA_DI_RECORD* p_device_info,
+extern tBTA_STATUS BTA_DmSetLocalDiRecord(tSDP_DI_RECORD* p_device_info,
uint32_t* p_handle);
/*******************************************************************************
break;
}
- tBTA_DI_RECORD record;
+ tSDP_DI_RECORD record;
record.vendor =
config_get_int(*config, section_name, "vendorId", LMP_COMPID_GOOGLE);
record.vendor_id_source = config_get_int(
mock_function_count_map[__func__]++;
return BTA_SUCCESS;
}
-tBTA_STATUS BTA_DmSetLocalDiRecord(tBTA_DI_RECORD* p_device_info,
+tBTA_STATUS BTA_DmSetLocalDiRecord(tSDP_DI_RECORD* p_device_info,
uint32_t* p_handle) {
mock_function_count_map[__func__]++;
return BTA_SUCCESS;