Home
last modified time | relevance | path

Searched refs:eir_data (Results 1 – 4 of 4) sorted by relevance

/external/bluetooth/bluez/src/
Deir.c48 void eir_data_free(struct eir_data *eir) in eir_data_free()
55 int eir_parse(struct eir_data *eir, uint8_t *eir_data) in eir_parse() argument
72 if (eir_data == NULL) in eir_parse()
76 uint8_t field_len = eir_data[0]; in eir_parse()
82 switch (eir_data[1]) { in eir_parse()
86 uuid16 = &eir_data[2]; in eir_parse()
91 uuid32 = &eir_data[2]; in eir_parse()
96 uuid128 = &eir_data[2]; in eir_parse()
99 eir->flags = eir_data[2]; in eir_parse()
103 if (g_utf8_validate((char *) &eir_data[2], in eir_parse()
[all …]
Deir.h30 struct eir_data { struct
37 void eir_data_free(struct eir_data *eir); argument
38 int eir_parse(struct eir_data *eir, uint8_t *eir_data);
Dadapter.c3513 struct eir_data eir_data; in adapter_update_found_devices() local
3519 memset(&eir_data, 0, sizeof(eir_data)); in adapter_update_found_devices()
3520 err = eir_parse(&eir_data, data); in adapter_update_found_devices()
3526 if (eir_data.name != NULL && eir_data.name_complete) in adapter_update_found_devices()
3527 write_device_name(&adapter->bdaddr, bdaddr, eir_data.name); in adapter_update_found_devices()
3541 eir_data_free(&eir_data); in adapter_update_found_devices()
3550 if (eir_data.flags < 0) { in adapter_update_found_devices()
3570 name_status, eir_data.flags); in adapter_update_found_devices()
3582 g_slist_foreach(eir_data.services, remove_same_uuid, dev); in adapter_update_found_devices()
3583 g_slist_foreach(eir_data.services, dev_prepend_uuid, dev); in adapter_update_found_devices()
[all …]
/external/bluetooth/bluez/test/
Dhciemu.c72 uint8_t eir_data[HCI_MAX_EIR_LENGTH]; member
720 memcpy(ir.data, vdev.eir_data, HCI_MAX_EIR_LENGTH); in hci_host_control()
727 memcpy(vdev.eir_data, data + 1, HCI_MAX_EIR_LENGTH); in hci_host_control()
1326 memset(vdev.eir_data, 0, sizeof(vdev.eir_data)); in main()