Some quick code to use UDP-only (no TCP) with mBed. Echos received packets and sends packets when a button is pressed
api_msg Struct Reference
This struct contains a function to execute in another thread context and a struct api_msg_msg that serves as an argument for this function. More...
#include <api_msg.h>
Data Fields | |
void(* | function )(struct api_msg_msg *msg) |
function to execute in tcpip_thread context | |
struct api_msg_msg | msg |
arguments for this function |
Detailed Description
This struct contains a function to execute in another thread context and a struct api_msg_msg that serves as an argument for this function.
This is passed to tcpip_apimsg to execute functions in tcpip_thread context.
Definition at line 109 of file api_msg.h.
Field Documentation
void(* function)(struct api_msg_msg *msg) |
struct api_msg_msg msg |
Generated on Tue Jul 12 2022 19:17:24 by 1.7.2