Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c120 r = coap_append_option_int(&cpkt, COAP_OPTION_CONTENT_FORMAT, in ZTEST()
887 r = coap_append_option_int(&response, COAP_OPTION_OBSERVE, in server_resource_1_get()
981 r = coap_append_option_int(&req, COAP_OPTION_OBSERVE, observe); in ZTEST()
1060 r = coap_append_option_int(&cpkt, COAP_OPTION_CONTENT_FORMAT, in ZTEST()
1093 r = coap_append_option_int(&cpkt, COAP_OPTION_BLOCK2, block_option); in ZTEST()
1160 r = coap_append_option_int(&cpkt, COAP_OPTION_SIZE2, in ZTEST()
1179 r = coap_append_option_int(&cpkt, COAP_OPTION_CONTENT_FORMAT, COAP_CONTENT_FORMAT_APP_JSON); in ZTEST()
1201 r = coap_append_option_int(&cpkt, COAP_OPTION_URI_PORT, 5638); in ZTEST()
1231 r = coap_append_option_int(&cpkt, COAP_OPTION_ACCEPT, COAP_CONTENT_FORMAT_APP_CBOR); in ZTEST()
1243 r = coap_append_option_int(&cpkt, COAP_OPTION_OBSERVE, 0); in ZTEST()
[all …]
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dobserver.c51 r = coap_append_option_int(&response, COAP_OPTION_OBSERVE, age); in send_notification_packet()
57 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in send_notification_packet()
Dseparate.c65 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in separate_get()
Dquery.c68 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in query_get()
Dtest.c52 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in piggyback_get()
Dlarge.c58 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in large_get()
/Zephyr-latest/tests/net/lib/lwm2m/block_transfer/src/
Dmain.c112 ret = coap_append_option_int(&msg->cpkt, COAP_OPTION_CONTENT_FORMAT, in ZTEST_F()
175 ret = coap_append_option_int(&msg->cpkt, COAP_OPTION_CONTENT_FORMAT, in ZTEST_F()
179 ret = coap_append_option_int(&msg->cpkt, COAP_OPTION_ACCEPT, COAP_CONTENT_FORMAT_APP_JSON); in ZTEST_F()
235 ret = coap_append_option_int(&msg->cpkt, COAP_OPTION_ACCEPT, in ZTEST_F()
311 ret = coap_append_option_int(&msg->cpkt, COAP_OPTION_CONTENT_FORMAT, in ZTEST_F()
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_rd_client/src/
Dstubs.h30 DECLARE_FAKE_VALUE_FUNC(int, coap_append_option_int, struct coap_packet *, uint16_t, unsigned int);
102 FUNC(coap_append_option_int) \
Dstubs.c32 DEFINE_FAKE_VALUE_FUNC(int, coap_append_option_int, struct coap_packet *, uint16_t, unsigned int);
/Zephyr-latest/doc/connectivity/networking/api/
Dcoap_server.rst98 coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT,
169 coap_append_option_int(&response, COAP_OPTION_OBSERVE, age);
173 coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT,
/Zephyr-latest/samples/net/sockets/coap_client/src/
Dcoap-client.c510 r = coap_append_option_int(&request, COAP_OPTION_OBSERVE, 0); in send_obs_coap_request()
560 r = coap_append_option_int(&request, COAP_OPTION_OBSERVE, 1); in send_obs_reset_coap_request()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_link_format.c490 r = coap_append_option_int(response, COAP_OPTION_CONTENT_FORMAT, in coap_well_known_core_get_len()
674 r = coap_append_option_int(response, COAP_OPTION_CONTENT_FORMAT, in coap_well_known_core_get_len()
Dcoap.c378 int coap_append_option_int(struct coap_packet *cpkt, uint16_t code, in coap_append_option_int() function
1308 r = coap_append_option_int(cpkt, COAP_OPTION_BLOCK1, val); in coap_append_block1_option()
1328 r = coap_append_option_int(cpkt, COAP_OPTION_BLOCK2, val); in coap_append_block2_option()
1336 return coap_append_option_int(cpkt, COAP_OPTION_SIZE1, ctx->total_size); in coap_append_size1_option()
1342 return coap_append_option_int(cpkt, COAP_OPTION_SIZE2, ctx->total_size); in coap_append_size2_option()
Dcoap_client.c235 ret = coap_append_option_int(&internal_req->request, in coap_client_init_request()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_pull_context.c198 ret = coap_append_option_int(&msg->cpkt, COAP_OPTION_SIZE2, 0); in transfer_request()
Dlwm2m_message_handling.c1808 ret = coap_append_option_int(msg->out.out_cpkt, COAP_OPTION_CONTENT_FORMAT, content_format); in lwm2m_perform_read_op()
1908 ret = coap_append_option_int(msg->out.out_cpkt, COAP_OPTION_CONTENT_FORMAT, in lwm2m_discover_handler()
2138 (void)coap_append_option_int(msg->out.out_cpkt, COAP_OPTION_BLOCK1, in parse_write_op()
3156 ret = coap_append_option_int(&msg->cpkt, COAP_OPTION_OBSERVE, obs->counter); in generate_notify_message()
3236 ret = coap_append_option_int(msg->out.out_cpkt, COAP_OPTION_CONTENT_FORMAT, content_format); in lwm2m_perform_composite_read_op()
Dlwm2m_rd_client.c905 ret = coap_append_option_int( in sm_send_registration()
Dlwm2m_observation.c1393 r = coap_append_option_int(msg->out.out_cpkt, COAP_OPTION_OBSERVE, in lwm2m_engine_observation_handler()
/Zephyr-latest/include/zephyr/net/
Dcoap.h653 int coap_append_option_int(struct coap_packet *cpkt, uint16_t code,
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c311 ret = coap_append_option_int(&request_packet, in send_request()