Some quick code to use UDP-only (no TCP) with mBed. Echos received packets and sends packets when a button is pressed
Data Structures
api_msg | 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 |
api_msg_msg | 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) |
dhcp_msg | Minimum set of fields of any DHCP message |
dns_api_msg | As do_gethostbyname requires more arguments but doesn't require a netconn, it has its own struct (to avoid struct api_msg getting bigger than necessary) |
etharp_hdr | ARP message |
etharp_q_entry | Struct for queueing outgoing packets for unknown address defined here to be accessed by memp.h |
HTTPConnection | For every incomming connection we have a HTTPConnection object which will handle the requests of this connection |
HTTPData | A parent object for a data storage container for all HTTPHandler objects |
HTTPFields | A simple HTTPHandler which will add new fields to the httpresult header |
HTTPFileSystemData | This class will store the data which are required for an request |
HTTPFileSystemHandler | This class will deliver files form the virtual file system |
HTTPHandler | A HTTPHandler will serve the requested data if there is an object of a child class from HTTPHandler which is registert to an matching prefix |
HTTPRPC | Thsi class enables you to make rpc calls to your mbed |
HTTPRPCData | A datastorage helper for the HTTPRPC class |
HTTPStaticPage | This class Provide a Handler to send Static HTTP Pages from the bin file |
HTTPStaticPageData | A datastorage helper for the HTTPStaticPage class |
icmp_echo_hdr | This is the standard ICMP header only that the u32_t data is splitted to two u16_t like ICMP echo needs it |
memp_malloc_helper | This structure is used to save the pool one element came from |
mib_array_node | Derived node, points to a fixed size const array of sub-identifiers plus a 'child' pointer |
mib_external_node | Derived node, has access functions for mib object in external memory or device using 'tree_level' and 'idx', with a range 0 |
mib_list_rootnode | Derived node, points to a doubly linked list of sub-identifiers plus a 'child' pointer |
mib_node | Node "base class" layout, the mandatory fields for a node |
mib_ram_array_node | Derived node, points to a fixed size mem_malloced array of sub-identifiers plus a 'child' pointer |
netconn | A netconn descriptor |
netif | Generic data structure used for all lwIP network interfaces |
NetServer | Network main class provides the basic network features |
obj_def | Object definition returned by (get_object_def)() |
snmp_obj_id | Internal object identifier representation |
snmp_resp_header_lengths | Output response message header length fields |
snmp_trap_header_lengths | Output response message header length fields |
TCPItem | A simple object which provides the base for all TCP enabled objects |
Generated on Tue Jul 12 2022 19:17:24 by 1.7.2