Lines Matching refs:counter
162 if (!p_clcb->counter) { in gatt_act_read()
307 p_rsp_value->len != p_clcb->counter || in gatt_check_write_long_terminate()
354 p_clcb->counter = to_send; in gatt_send_prepare_write()
815 p_clcb->counter = len - 2; in gatt_process_read_by_type_rsp()
817 if (p_clcb->counter == (p_clcb->p_tcb->payload_size - 4)) { in gatt_process_read_by_type_rsp()
821 if (p_clcb->counter <= GATT_MAX_ATTR_LEN) { in gatt_process_read_by_type_rsp()
822 memcpy(p_clcb->p_attr_buf, p, p_clcb->counter); in gatt_process_read_by_type_rsp()
823 gatt_act_read(p_clcb, p_clcb->counter); in gatt_process_read_by_type_rsp()
907 uint16_t offset = p_clcb->counter; in gatt_process_read_rsp()
912 p_clcb->counter = len; in gatt_process_read_rsp()
924 p_clcb->counter += len; in gatt_process_read_rsp()
936 offset, len, p_clcb->counter); in gatt_process_read_rsp()
937 gatt_act_read(p_clcb, p_clcb->counter); in gatt_process_read_rsp()