Home
last modified time | relevance | path

Searched refs:handle_len (Results 1 – 2 of 2) sorted by relevance

/aosp12/system/bt/stack/gatt/
H A Dgatt_cl.cc784 uint8_t *p = p_data, value_len, handle_len = 2; in gatt_process_read_by_type_rsp() local
813 if (op_code == GATT_RSP_READ_BY_GRP_TYPE) handle_len = 4; in gatt_process_read_by_type_rsp()
815 value_len -= handle_len; /* substract the handle pairs bytes */ in gatt_process_read_by_type_rsp()
818 while (len >= (handle_len + value_len)) { in gatt_process_read_by_type_rsp()
951 len -= (value_len + handle_len); in gatt_process_read_by_type_rsp()
H A Dgatt_sr.cc514 uint8_t handle_len = 4; in gatt_build_primary_service_rsp() local
530 handle_len = 4 + gatt_build_uuid_to_stream_len(*p_uuid); in gatt_build_primary_service_rsp()
536 p_msg->offset = handle_len; in gatt_build_primary_service_rsp()
545 handle_len != p_msg->offset) { in gatt_build_primary_service_rsp()