Home
last modified time | relevance | path

Searched refs:coap_append_option_int (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-2.7.6/samples/net/sockets/coap_server/src/
Dcoap-server.c249 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in piggyback_get()
512 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in query_get()
662 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in separate_get()
742 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in large_get()
1072 r = coap_append_option_int(&response, COAP_OPTION_OBSERVE, age); in send_notification_packet()
1078 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in send_notification_packet()
/Zephyr-Core-2.7.6/samples/net/sockets/coap_client/src/
Dcoap-client.c496 r = coap_append_option_int(&request, COAP_OPTION_OBSERVE, 0); in send_obs_coap_request()
542 r = coap_append_option_int(&request, COAP_OPTION_OBSERVE, 0); in send_obs_reset_coap_request()
/Zephyr-Core-2.7.6/subsys/net/lib/coap/
Dcoap.c289 int coap_append_option_int(struct coap_packet *cpkt, uint16_t code, in coap_append_option_int() function
910 r = coap_append_option_int(cpkt, COAP_OPTION_BLOCK1, val); in coap_append_block1_option()
930 r = coap_append_option_int(cpkt, COAP_OPTION_BLOCK2, val); in coap_append_block2_option()
938 return coap_append_option_int(cpkt, COAP_OPTION_SIZE1, ctx->total_size); in coap_append_size1_option()
944 return coap_append_option_int(cpkt, COAP_OPTION_SIZE2, ctx->total_size); in coap_append_size2_option()
Dcoap_link_format.c490 r = coap_append_option_int(response, COAP_OPTION_CONTENT_FORMAT, in coap_well_known_core_get()
670 r = coap_append_option_int(response, COAP_OPTION_CONTENT_FORMAT, in coap_well_known_core_get()
/Zephyr-Core-2.7.6/tests/net/lib/coap/src/
Dmain.c107 r = coap_append_option_int(&cpkt, COAP_OPTION_CONTENT_FORMAT, in test_build_simple_pdu()
818 r = coap_append_option_int(&response, COAP_OPTION_OBSERVE, in server_resource_1_get()
912 r = coap_append_option_int(&req, COAP_OPTION_OBSERVE, observe); in test_observer_client()
/Zephyr-Core-2.7.6/include/net/
Dcoap.h474 int coap_append_option_int(struct coap_packet *cpkt, uint16_t code,
/Zephyr-Core-2.7.6/subsys/net/lib/lwm2m/
Dlwm2m_obj_firmware_pull.c177 ret = coap_append_option_int(&msg->cpkt, COAP_OPTION_SIZE2, 0); in transfer_request()
Dlwm2m_rd_client.c738 ret = coap_append_option_int( in sm_send_registration()
Dlwm2m_engine.c3102 ret = coap_append_option_int(msg->out.out_cpkt, in lwm2m_perform_read_op()
3233 ret = coap_append_option_int(msg->out.out_cpkt, in lwm2m_discover_handler()
3819 r = coap_append_option_int( in handle_request()
4263 ret = coap_append_option_int(&msg->cpkt, COAP_OPTION_OBSERVE, in generate_notify_message()
/Zephyr-Core-2.7.6/subsys/mgmt/updatehub/
Dupdatehub.c317 ret = coap_append_option_int(&request_packet, in send_request()