Home
last modified time | relevance | path

Searched refs:coap_add_token (Results 1 – 14 of 14) sorted by relevance

/dports/net/libcoap/libcoap-4.3.0/tests/
H A Dtest_error_response.c68 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response2()
97 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response3()
136 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response4()
177 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response5()
218 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response6()
259 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response7()
295 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response8()
H A Dtest_pdu.c342 result = coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_encode_pdu1()
362 result = coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_encode_pdu2()
449 result = coap_add_token(pdu, 8, (const uint8_t *)"12345678"); in t_encode_pdu5()
531 result = coap_add_token(pdu, 2, (const uint8_t *)"\x00\x01"); in t_encode_pdu8()
646 result = coap_add_token(pdu, 2, (const uint8_t *)"\0\0"); in t_encode_pdu10()
924 coap_add_token(pdu, sizeof(token), token); in t_encode_pdu17()
1012 result = coap_add_token(pdu, 2, (const uint8_t *)"\0\0"); in t_encode_pdu18()
1070 coap_add_token(pdu, sizeof(token), token); in t_encode_pdu19()
1127 coap_add_token(pdu, sizeof(token), token); in t_encode_pdu20()
1181 coap_add_token(pdu, sizeof(token), token); in t_encode_pdu21()
[all …]
/dports/net/libcoap/libcoap-4.3.0/
H A Dlibcoap-3.map17 coap_add_token;
H A Dlibcoap-3.sym15 coap_add_token
/dports/net/libcoap/libcoap-4.3.0/man/
H A Dcoap_pdu_setup.txt.in18 coap_add_token,
52 *int coap_add_token(coap_pdu_t *_pdu_, size_t _length_,
233 The *coap_add_token*() function adds in the specified token's _data_ of length
389 The *coap_add_token*(), *coap_insert_optlist*(), *coap_delete_optlist*(),
438 if (!coap_add_token(pdu, buflen, buf)) {
H A Dcoap_observe.txt.in341 if (!coap_add_token(pdu, sizeof(token), (unsigned char*)&token)) {
H A Dcoap_block.txt.in220 if (!coap_add_token(pdu, buflen, buf)) {
/dports/net/libcoap/libcoap-4.3.0/include/coap3/
H A Dpdu.h411 int coap_add_token(coap_pdu_t *pdu,
/dports/net/libcoap/libcoap-4.3.0/src/
H A Dpdu.c168 coap_add_token(pdu, token_length, token); in coap_pdu_duplicate()
258 coap_add_token(coap_pdu_t *pdu, size_t len, const uint8_t *data) { in coap_add_token() function
288 return coap_add_token(pdu, len, data); in coap_update_token()
H A Dnet.c2140 if (!coap_add_token(response, request->token_length, in coap_new_error_response()
2211 if (!coap_add_token(resp, request->token_length, request->token)) { in coap_wellknown_response()
2753 if (coap_add_token(response, pdu->token_length, pdu->token)) { in handle_request()
H A Dresource.c903 if (!coap_add_token(response, obs->pdu->token_length, obs->pdu->token)) {
/dports/net/libcoap/libcoap-4.3.0/examples/
H A Dcoap-server.c856 !coap_add_token(response, proxy_list[i].token->length, in remove_proxy_association()
1114 if (!coap_add_token(pdu, token.length, token.s)) { in hnd_proxy_uri()
1663 if (!coap_add_token(pdu, rcv_token.length, rcv_token.s)) { in proxy_message_handler()
H A Dcoap-rd.c209 coap_add_token(response, request->hdr->token_length, request->hdr->token); in hnd_put_resource()
H A Dcoap-client.c201 if ( !coap_add_token(pdu, the_token.length, the_token.s)) { in coap_new_request()