Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-client-c by
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 45 of file sn_coap_header_check.c.
Generated on Wed Jul 13 2022 17:43:56 by
