struct btd_adapter *adapter = device->adapter;
char *str = primary_list_to_string(device->primaries);
- write_device_services(adapter_get_address(adapter), &device->bdaddr,
+ write_device_primaries(adapter_get_address(adapter), &device->bdaddr,
device->bdaddr_type, str);
g_free(str);
return 0;
}
-int write_device_services(const bdaddr_t *sba, const bdaddr_t *dba,
+int write_device_primaries(const bdaddr_t *sba, const bdaddr_t *dba,
uint8_t bdaddr_type, const char *services)
{
char filename[PATH_MAX + 1], key[20];
const uint32_t handle);
sdp_record_t *find_record_in_list(sdp_list_t *recs, const char *uuid);
int read_device_pairable(const bdaddr_t *local, gboolean *mode);
-int write_device_services(const bdaddr_t *sba, const bdaddr_t *dba,
+int write_device_primaries(const bdaddr_t *sba, const bdaddr_t *dba,
uint8_t bdaddr_type, const char *services);
int write_device_characteristics(const bdaddr_t *sba, const bdaddr_t *dba,
uint8_t bdaddr_type, uint16_t handle,