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

Merge pull request #18013 from kfessel/p-coap_pkt-token-deprecate

net/nanocoap: deprecate coap_pkt token ptr
This commit is contained in:
benpicco 2022-04-28 11:25:47 +02:00 committed by GitHub
commit 42f0d0d24c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 */