Simulated product dispenser

Dependencies:   HTS221

Fork of mbed-cloud-workshop-connect-HTS221 by Jim Carver

Embed: (wiki syntax)

« Back to documentation index

sn_coap_header_check.c File Reference

sn_coap_header_check.c File Reference

CoAP Header validity checker. More...

Go to the source code of this file.

Functions

int8_t sn_coap_header_validity_check (sn_coap_hdr_s *src_coap_msg_ptr, coap_version_e coap_version)
 Checks validity of given Header.

Detailed Description

CoAP Header validity checker.

Functionality: Checks validity of CoAP Header

Definition in file sn_coap_header_check.c.


Function Documentation

int8_t sn_coap_header_validity_check ( sn_coap_hdr_s src_coap_msg_ptr,
coap_version_e  coap_version 
)

Checks validity of given Header.

Parameters:
*src_coap_msg_ptris source for building Packet data
coap_versionis version of used CoAP specification
Returns:
Return value is status of validity check. In ok cases 0 and in failure cases -1

Definition at line 47 of file sn_coap_header_check.c.