Lines Matching refs:counter
174 if (!p_clcb->counter) { in gatt_act_read()
326 p_rsp_value->len != p_clcb->counter || in gatt_check_write_long_terminate()
374 p_clcb->counter = to_send; in gatt_send_prepare_write()
903 p_clcb->counter = len - 2; in gatt_process_read_by_type_rsp()
905 if (p_clcb->counter == (payload_size - 4)) { in gatt_process_read_by_type_rsp()
909 if (p_clcb->counter <= GATT_MAX_ATTR_LEN) { in gatt_process_read_by_type_rsp()
910 memcpy(p_clcb->p_attr_buf, p, p_clcb->counter); in gatt_process_read_by_type_rsp()
911 gatt_act_read(p_clcb, p_clcb->counter); in gatt_process_read_by_type_rsp()
995 uint16_t offset = p_clcb->counter; in gatt_process_read_rsp()
1002 p_clcb->counter = len; in gatt_process_read_rsp()
1014 p_clcb->counter += len; in gatt_process_read_rsp()
1033 offset, len, p_clcb->counter); in gatt_process_read_rsp()
1034 gatt_act_read(p_clcb, p_clcb->counter); in gatt_process_read_rsp()