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_internal.h File Reference

sn_coap_header_internal.h File Reference

Header file for CoAP Header part. More...

Go to the source code of this file.

Data Structures

struct  sn_nsdl_transmit_
 This structure is returned by sn_coap_exec() for sending. More...

Typedefs

typedef struct sn_nsdl_transmit_ sn_nsdl_transmit_s
 This structure is returned by sn_coap_exec() for sending.

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

Header file for CoAP Header part.

Definition in file sn_coap_header_internal.h.


Typedef Documentation

This structure is returned by sn_coap_exec() for sending.


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.