/Zephyr-latest/tests/net/lib/coap/src/ |
D | main.c | 120 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/ |
D | observer.c | 51 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()
|
D | separate.c | 65 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in separate_get()
|
D | query.c | 68 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in query_get()
|
D | test.c | 52 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in piggyback_get()
|
D | large.c | 58 r = coap_append_option_int(&response, COAP_OPTION_CONTENT_FORMAT, in large_get()
|
/Zephyr-latest/tests/net/lib/lwm2m/block_transfer/src/ |
D | main.c | 112 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/ |
D | stubs.h | 30 DECLARE_FAKE_VALUE_FUNC(int, coap_append_option_int, struct coap_packet *, uint16_t, unsigned int); 102 FUNC(coap_append_option_int) \
|
D | stubs.c | 32 DEFINE_FAKE_VALUE_FUNC(int, coap_append_option_int, struct coap_packet *, uint16_t, unsigned int);
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | coap_server.rst | 98 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/ |
D | coap-client.c | 510 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/ |
D | coap_link_format.c | 490 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()
|
D | coap.c | 378 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()
|
D | coap_client.c | 235 ret = coap_append_option_int(&internal_req->request, in coap_client_init_request()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_pull_context.c | 198 ret = coap_append_option_int(&msg->cpkt, COAP_OPTION_SIZE2, 0); in transfer_request()
|
D | lwm2m_message_handling.c | 1808 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()
|
D | lwm2m_rd_client.c | 905 ret = coap_append_option_int( in sm_send_registration()
|
D | lwm2m_observation.c | 1393 r = coap_append_option_int(msg->out.out_cpkt, COAP_OPTION_OBSERVE, in lwm2m_engine_observation_handler()
|
/Zephyr-latest/include/zephyr/net/ |
D | coap.h | 653 int coap_append_option_int(struct coap_packet *cpkt, uint16_t code,
|
/Zephyr-latest/subsys/mgmt/updatehub/ |
D | updatehub.c | 311 ret = coap_append_option_int(&request_packet, in send_request()
|