Searched refs:att_put_u16 (Results 1 – 4 of 4) sorted by relevance
/external/bluetooth/bluez/plugins/ |
D | gatt-example.c | 79 att_put_u16(BATTERY_STATE_SVC_UUID, &atval[0]); in register_battery_service() 85 att_put_u16(h + 1, &atval[1]); in register_battery_service() 86 att_put_u16(BATTERY_STATE_UUID, &atval[3]); in register_battery_service() 134 att_put_u16(THERM_HUMIDITY_SVC_UUID, &atval[0]); in register_termometer_service() 141 att_put_u16(manuf1[0], &atval[0]); in register_termometer_service() 142 att_put_u16(manuf1[1], &atval[2]); in register_termometer_service() 143 att_put_u16(MANUFACTURER_SVC_UUID, &atval[4]); in register_termometer_service() 150 att_put_u16(manuf2[0], &atval[0]); in register_termometer_service() 151 att_put_u16(manuf2[1], &atval[2]); in register_termometer_service() 152 att_put_u16(VENDOR_SPECIFIC_SVC_UUID, &atval[4]); in register_termometer_service() [all …]
|
/external/bluetooth/bluez/attrib/ |
D | att.c | 132 att_put_u16(start, &pdu[1]); in enc_read_by_grp_req() 133 att_put_u16(end, &pdu[3]); in enc_read_by_grp_req() 240 att_put_u16(start, &pdu[1]); in enc_find_by_type_req() 241 att_put_u16(end, &pdu[3]); in enc_find_by_type_req() 306 att_put_u16(range->start, &pdu[offset]); in enc_find_by_type_resp() 307 att_put_u16(range->end, &pdu[offset + 2]); in enc_find_by_type_resp() 356 att_put_u16(start, &pdu[1]); in enc_read_by_type_req() 357 att_put_u16(end, &pdu[3]); in enc_read_by_type_req() 457 att_put_u16(handle, &pdu[1]); in enc_write_cmd() 506 att_put_u16(handle, &pdu[1]); in enc_write_req() [all …]
|
D | att.h | 194 static inline void att_put_u16(uint16_t src, void *dst) in att_put_u16() function 213 att_put_u16(src.value.u16, dst); in att_put_uuid16()
|
/external/bluetooth/bluez/src/ |
D | attrib-server.c | 393 att_put_u16(cur->handle, value); in read_by_group() 394 att_put_u16(cur->end, &value[2]); in read_by_group() 480 att_put_u16(a->handle, value); in read_by_type() 552 att_put_u16(a->handle, value); in find_info() 1025 att_put_u16(GENERIC_ACCESS_PROFILE_ID, &atval[0]); in register_core_services() 1032 att_put_u16(name_handle, &atval[1]); in register_core_services() 1033 att_put_u16(GATT_CHARAC_DEVICE_NAME, &atval[3]); in register_core_services() 1045 att_put_u16(appearance_handle, &atval[1]); in register_core_services() 1046 att_put_u16(GATT_CHARAC_APPEARANCE, &atval[3]); in register_core_services() 1051 att_put_u16(appearance, &atval[0]); in register_core_services() [all …]
|