/external/bluetooth/bluez/lib/ |
D | uuid.c | 55 static void bt_uuid16_to_uuid128(const bt_uuid_t *src, bt_uuid_t *dst) in bt_uuid16_to_uuid128() 64 static void bt_uuid32_to_uuid128(const bt_uuid_t *src, bt_uuid_t *dst) in bt_uuid32_to_uuid128() 73 void bt_uuid_to_uuid128(const bt_uuid_t *src, bt_uuid_t *dst) in bt_uuid_to_uuid128() 77 memcpy(dst, src, sizeof(bt_uuid_t)); in bt_uuid_to_uuid128() 90 static int bt_uuid128_cmp(const bt_uuid_t *u1, const bt_uuid_t *u2) in bt_uuid128_cmp() 95 int bt_uuid16_create(bt_uuid_t *btuuid, uint16_t value) in bt_uuid16_create() 97 memset(btuuid, 0, sizeof(bt_uuid_t)); in bt_uuid16_create() 104 int bt_uuid32_create(bt_uuid_t *btuuid, uint32_t value) in bt_uuid32_create() 106 memset(btuuid, 0, sizeof(bt_uuid_t)); in bt_uuid32_create() 113 int bt_uuid128_create(bt_uuid_t *btuuid, uint128_t value) in bt_uuid128_create() [all …]
|
/external/bluetooth/bluez/lib/bluetooth/ |
D | uuid.h | 47 } bt_uuid_t; typedef 49 int bt_uuid16_create(bt_uuid_t *btuuid, uint16_t value); 50 int bt_uuid32_create(bt_uuid_t *btuuid, uint32_t value); 51 int bt_uuid128_create(bt_uuid_t *btuuid, uint128_t value); 53 int bt_uuid_cmp(const bt_uuid_t *uuid1, const bt_uuid_t *uuid2); 54 void bt_uuid_to_uuid128(const bt_uuid_t *src, bt_uuid_t *dst); 58 int bt_uuid_to_string(const bt_uuid_t *uuid, char *str, size_t n); 59 int bt_string_to_uuid(bt_uuid_t *uuid, const char *string);
|
/external/bluetooth/bluez/attrib/ |
D | att.h | 126 bt_uuid_t uuid; 211 static inline void att_put_uuid16(bt_uuid_t src, void *dst) in att_put_uuid16() 216 static inline void att_put_uuid128(bt_uuid_t src, void *dst) in att_put_uuid128() 221 static inline void att_put_uuid(bt_uuid_t src, void *dst) in att_put_uuid() 229 static inline bt_uuid_t att_get_uuid16(const void *ptr) in att_get_uuid16() 231 bt_uuid_t uuid; in att_get_uuid16() 238 static inline bt_uuid_t att_get_uuid128(const void *ptr) in att_get_uuid128() 240 bt_uuid_t uuid; in att_get_uuid128() 253 uint16_t enc_read_by_grp_req(uint16_t start, uint16_t end, bt_uuid_t *uuid, 256 uint16_t *end, bt_uuid_t *uuid); [all …]
|
D | gatt.c | 38 bt_uuid_t uuid; 46 bt_uuid_t *uuid; 70 bt_uuid_t *uuid, uint8_t *pdu, size_t len) in encode_discover_primary() 72 bt_uuid_t prim; in encode_discover_primary() 171 bt_uuid_t uuid; in primary_all_cb() 177 bt_uuid_t uuid16 = att_get_uuid16(&data[4]); in primary_all_cb() 217 guint gatt_discover_primary(GAttrib *attrib, bt_uuid_t *uuid, gatt_cb_t func, in gatt_discover_primary() 239 memcpy(&dp->uuid, uuid, sizeof(bt_uuid_t)); in gatt_discover_primary() 256 bt_uuid_t uuid; in char_discovered_cb() 273 bt_uuid_t uuid; in char_discovered_cb() [all …]
|
D | gatt.h | 28 guint gatt_discover_primary(GAttrib *attrib, bt_uuid_t *uuid, gatt_cb_t func, 32 bt_uuid_t *uuid, gatt_cb_t func, 48 bt_uuid_t *uuid, GAttribResultFunc func,
|
D | interactive.c | 55 bt_uuid_t uuid; 238 bt_uuid_t uuid; in char_desc_cb() 370 bt_uuid_t uuid; in cmd_primary() 430 bt_uuid_t uuid; in cmd_char() 513 bt_uuid_t uuid; in cmd_read_uuid()
|
D | att.c | 112 uint16_t enc_read_by_grp_req(uint16_t start, uint16_t end, bt_uuid_t *uuid, in enc_read_by_grp_req() 141 uint16_t *end, bt_uuid_t *uuid) in dec_read_by_grp_req() 218 uint16_t enc_find_by_type_req(uint16_t start, uint16_t end, bt_uuid_t *uuid, in enc_find_by_type_req() 253 uint16_t *end, bt_uuid_t *uuid, uint8_t *value, int *vlen) in dec_find_by_type_req() 336 uint16_t enc_read_by_type_req(uint16_t start, uint16_t end, bt_uuid_t *uuid, in enc_read_by_type_req() 365 uint16_t *end, bt_uuid_t *uuid) in dec_read_by_type_req()
|
D | gatttool.c | 49 static bt_uuid_t *opt_uuid = NULL; 433 bt_uuid_t uuid; in char_desc_cb() 469 opt_uuid = g_try_malloc(sizeof(bt_uuid_t)); in parse_uuid()
|
D | client.c | 675 bt_uuid_t uuid; in store_attribute() 778 static int uuid_desc16_cmp(bt_uuid_t *uuid, guint16 desc) in uuid_desc16_cmp() 780 bt_uuid_t u16; in uuid_desc16_cmp() 807 bt_uuid_t uuid; in descriptor_cb()
|
/external/bluetooth/bluez/src/ |
D | attrib-server.h | 29 struct attribute *attrib_db_add(uint16_t handle, bt_uuid_t *uuid, int read_reqs, 31 int attrib_db_update(uint16_t handle, bt_uuid_t *uuid, const uint8_t *value,
|
D | attrib-server.c | 82 static bt_uuid_t prim_uuid = { 86 static bt_uuid_t snd_uuid = { 203 bt_uuid_t uuid; in client_set_notifications() 255 bt_uuid_t uuid; in client_cfg_attribute() 289 uint16_t end, bt_uuid_t *uuid, in read_by_group() 409 uint16_t end, bt_uuid_t *uuid, in read_by_type() 566 static int find_by_type(uint16_t start, uint16_t end, bt_uuid_t *uuid, in find_by_type() 801 bt_uuid_t uuid; in channel_handler() 1020 bt_uuid_t uuid; in register_core_services() 1243 struct attribute *attrib_db_add(uint16_t handle, bt_uuid_t *uuid, int read_reqs, in attrib_db_add() [all …]
|
/external/bluetooth/bluez/plugins/ |
D | gatt-example.c | 65 bt_uuid_t uuid; in register_battery_service() 118 bt_uuid_t uuid; in register_termometer_service() 228 bt_uuid_t uuid; in register_manuf1_service() 285 bt_uuid_t uuid; in register_manuf2_service() 340 bt_uuid_t uuid; in register_vendor_service() 394 bt_uuid_t uuid; in register_weight_service()
|
/external/bluetooth/bluez/test/ |
D | uuidtest.c | 46 bt_uuid_t u, u2, u3, u4, u5, ub, u128; in main()
|