Simple interface for Mbed Cloud Client
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_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 Tue Jul 12 2022 19:01:38 by 1.7.2