Home
last modified time | relevance | path

Searched refs:token_len (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/net/lib/coap/
Dcoap.c170 uint8_t ver, uint8_t type, uint8_t token_len, in coap_packet_init() argument
189 hdr |= token_len & 0xF; in coap_packet_init()
206 if (token && token_len) { in coap_packet_init()
207 res = append(cpkt, token, token_len); in coap_packet_init()
214 cpkt->hdr_len = 1 + 1 + 2 + token_len; in coap_packet_init()
2043 const uint8_t *token, uint8_t token_len) in coap_find_observer() argument
2045 if (token_len == 0U || token_len > COAP_TOKEN_MAX_LEN) { in coap_find_observer()
2052 if (o->tkl == token_len && in coap_find_observer()
2053 memcmp(o->token, token, token_len) == 0 && in coap_find_observer()
2081 const uint8_t *token, uint8_t token_len) in coap_find_observer_by_token() argument
[all …]
Dcoap_server.c711 const uint8_t *token, uint8_t token_len) in coap_resource_remove_observer() argument
729 ret = coap_service_remove_observer(service, resource, addr, token, token_len); in coap_resource_remove_observer()
751 const uint8_t *token, uint8_t token_len) in coap_resource_remove_observer_by_token() argument
753 return coap_resource_remove_observer(resource, NULL, token, token_len); in coap_resource_remove_observer_by_token()
/Zephyr-latest/include/zephyr/net/
Dcoap.h534 uint8_t ver, uint8_t type, uint8_t token_len,
1040 const uint8_t *token, uint8_t token_len);
1075 const uint8_t *token, uint8_t token_len);
Dcoap_service.h302 const uint8_t *token, uint8_t token_len);