Rtos API example
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
typedef struct sn_nsdl_transmit_ sn_nsdl_transmit_s |
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_ptr is source for building Packet data coap_version is 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.
Generated on Sun Jul 17 2022 08:25:36 by 1.7.2