1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

net/nanocoap: deprecate coap_pkt token ptr

This commit is contained in:
Karl Fessel 2022-04-26 18:16:59 +02:00
parent 9821e556ac
commit dcac22eebb

View File

@ -196,7 +196,9 @@ typedef struct {
*/
typedef struct {
coap_hdr_t *hdr; /**< pointer to raw packet */
uint8_t *token; /**< pointer to token */
uint8_t *token; /**< pointer to token
* @deprecated Use coap_get_token(),
* Will be removed after 2022.10. */
uint8_t *payload; /**< pointer to payload */
uint16_t payload_len; /**< length of payload */
uint16_t options_len; /**< length of options array */