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

net: coap: define default CoAP version



RFC 7252 (CoAP) specifies value of the Version (Ver) field in the
protocol header to value 1. This patch defines value of the Version
field to make packet initialization easier. All samples and tests
are updated to use the new COAP_VERSION_1 field when initializing
a CoAP packet.

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