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
api_msg Struct Reference
This struct includes everything that is necessary to execute a function for a netconn in another thread context (mainly used to process netconns in the tcpip_thread context to be thread safe). More...
#include <api_msg.h>
Data Fields | |
struct netconn * | conn |
The netconn which to process - always needed: it includes the semaphore which is used to block the application thread until the function finished. | |
err_t | err |
The return value of the function executed in tcpip_thread. | |
struct netbuf * | b |
used for lwip_netconn_do_send | |
struct netvector * | vector |
current vector to write | |
u16_t | vector_cnt |
number of unwritten vectors | |
size_t | vector_off |
offset into current vector | |
size_t | len |
total length across vectors | |
size_t | offset |
offset into total length/output of bytes written when err == ERR_OK |
Detailed Description
This struct includes everything that is necessary to execute a function for a netconn in another thread context (mainly used to process netconns in the tcpip_thread context to be thread safe).
Definition at line 79 of file api_msg.h.
Field Documentation
size_t offset |
u16_t vector_cnt |
size_t vector_off |
Generated on Tue Jul 12 2022 13:55:28 by
