Skip to content
Commit 0475cd0e authored by Hubert Miś's avatar Hubert Miś Committed by Anas Nashif
Browse files

net: coap: Allow encoding packets using data from constant buffers



Token and payload are appended from data buffers to a CoAP packet
being encoded. Keyword const was missing for parameters in functions
appending these parts to a packet.

Now token and paylod can be copied to CoAP packet from constant
buffers, that can be stored in ROM.

Signed-off-by: default avatarHubert Miś <hubert.mis@nordicsemi.no>
parent 759f7454
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment