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.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
sn_coap_builder.c File Reference
CoAP Message builder. More...
Go to the source code of this file.
Functions | |
| static uint8_t | sn_coap_builder_options_build_add_uint_option (uint8_t **dst_packet_data_pptr, uint32_t option_value, sn_coap_option_numbers_e option_number, uint16_t *previous_option_number) |
| Constructs a uint Options part of Packet data. | |
Detailed Description
CoAP Message builder.
Functionality: Builds CoAP message
Definition in file sn_coap_builder.c.
Function Documentation
| static uint8_t sn_coap_builder_options_build_add_uint_option | ( | uint8_t ** | dst_packet_data_pptr, |
| uint32_t | option_value, | ||
| sn_coap_option_numbers_e | option_number, | ||
| uint16_t * | previous_option_number | ||
| ) | [static] |
Constructs a uint Options part of Packet data.
- Parameters:
-
**dst_packet_data_pptr is destination for built Packet data; NULL to compute size only. option_value is Option value to be added option_number is Option number to be added
- Returns:
- Return value is total option size, or -1 in write failure case
Definition at line 763 of file sn_coap_builder.c.
Generated on Tue Jul 12 2022 13:55:18 by
1.7.2