Searched refs:in_cpkt (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-2.7.6/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_plain_text.c | 190 while (in->offset < in->in_cpkt->offset) { in plain_text_read_int() 191 if (buf_read_u8(&tmp, CPKT_BUF_READ(in->in_cpkt), in plain_text_read_int() 239 coap_packet_get_payload(in->in_cpkt, &in_len); in get_string() 246 if (buf_read(value, in_len, CPKT_BUF_READ(in->in_cpkt), in get_string() 264 while (in->offset < in->in_cpkt->offset) { in get_float32fix() 265 if (buf_read_u8(&tmp, CPKT_BUF_READ(in->in_cpkt), in get_float32fix() 305 if (buf_read_u8(&tmp, CPKT_BUF_READ(in->in_cpkt), &in->offset) < 0) { in get_bool() 325 coap_packet_get_payload(in->in_cpkt, &in_len); in get_opaque()
|
D | lwm2m_rw_json.c | 155 while (in->offset < in->in_cpkt->offset && cont) { in json_next_token() 157 if (buf_read_u8(&c, CPKT_BUF_READ(in->in_cpkt), in json_next_token() 549 buf = in->in_cpkt->data + fd->value_offset; in read_int() 606 ret = buf_read(buf, fd->value_len, CPKT_BUF_READ(in->in_cpkt), in get_string() 630 json_buf = in->in_cpkt->data + fd->value_offset; in get_float32fix() 671 if (strncmp(in->in_cpkt->data + fd->value_offset, in get_bool() 674 } else if (strncmp(in->in_cpkt->data + fd->value_offset, in get_bool() 838 CPKT_BUF_READ(msg->in.in_cpkt), in do_write_op_json() 865 CPKT_BUF_READ(msg->in.in_cpkt), in do_write_op_json() 882 CPKT_BUF_READ(msg->in.in_cpkt), in do_write_op_json()
|
D | lwm2m_rw_oma_tlv.c | 243 if (buf_read_u8(&buf[0], CPKT_BUF_READ(in->in_cpkt), &tmp_offset) < 0) { in oma_tlv_get() 251 if (buf_read_u8(&buf[1], CPKT_BUF_READ(in->in_cpkt), &tmp_offset) < 0) { in oma_tlv_get() 259 if (buf_read_u8(&buf[1], CPKT_BUF_READ(in->in_cpkt), in oma_tlv_get() 273 if (buf_read_u8(&buf[1], CPKT_BUF_READ(in->in_cpkt), in oma_tlv_get() 579 CPKT_BUF_READ(in->in_cpkt), &in->offset) < 0) { in get_number() 637 if (buf_read(buf, tlv.length, CPKT_BUF_READ(in->in_cpkt), in get_string() 665 CPKT_BUF_READ(in->in_cpkt), in get_float32fix() 675 if (buf_read(buf, tlv.length, CPKT_BUF_READ(in->in_cpkt), in get_float32fix() 790 if (buf_read_u8(&read_char, CPKT_BUF_READ(msg->in.in_cpkt), in do_write_op_tlv_dummy_read()
|
D | lwm2m_engine.c | 2360 uint16_t remaining = in->in_cpkt->max_len - in->offset; in lwm2m_engine_get_opaque_more() 2376 if (buf_read(buf, in_len, CPKT_BUF_READ(in->in_cpkt), in lwm2m_engine_get_opaque_more() 2689 nr_opt = coap_find_options(msg->in.in_cpkt, COAP_OPTION_URI_QUERY, in lwm2m_write_attr_handler() 3014 args = (uint8_t *)coap_packet_get_payload(msg->in.in_cpkt, &args_len); in lwm2m_exec_handler() 3565 msg->in.in_cpkt = request; in handle_request() 3572 code = coap_header_get_code(msg->in.in_cpkt); in handle_request() 3575 tkl = coap_header_get_token(msg->in.in_cpkt, token); in handle_request() 3582 r = coap_find_options(msg->in.in_cpkt, COAP_OPTION_URI_PATH, options, in handle_request() 3641 r = coap_find_options(msg->in.in_cpkt, COAP_OPTION_CONTENT_FORMAT, in handle_request() 3652 r = coap_find_options(msg->in.in_cpkt, COAP_OPTION_ACCEPT, options, 1); in handle_request() [all …]
|
D | lwm2m_object.h | 427 struct coap_packet *in_cpkt; member
|