Control a robot over the internet using UDP and a Ethernet interface.

Dependencies:   EthernetInterface Motor TextLCD mbed-rtos mbed Socket lwip-eth lwip-sys lwip

Auto generated API documentation and code listings for Robot_Control_UDP_Ethernet


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)
EMAC_CFG_Type EMAC configuration structure definition
EMAC_PACKETBUF_Type TX Data Buffer structure definition
Endpoint IP Endpoint (address, port)
eth_hdr Ethernet header
eth_vlan_hdr VLAN header inserted between ethernet header and payload if 'type' in ethernet header is ETHTYPE_VLAN
etharp_hdr ARP message, see RFC 826 ("Packet format")
etharp_q_entry Struct for queueing outgoing packets for unknown address defined here to be accessed by memp.h
EthernetInterface Interface using Ethernet to connect to an IP-based network
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
igmp_group Igmp group structure - there is a list of groups for each interface these should really be linked from the interface, but if we keep them separate we will not affect the lwip original code too much
in_addr For compatibility with BSD code
local_hostlist_entry Struct used for local host-list
Mail< T, queue_sz > The Mail class allow to control, send, receive, or wait for mail
MemoryPool< T, pool_sz > Define and manage fixed-size memory pools of objects of a given type
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
Motor Interface to control a standard DC motor
Mutex Used to synchronise the execution of threads
netconn A netconn descriptor
netif Generic data structure used for all lwIP network interfaces
obj_def Object definition returned by (get_object_def)()
os_mailQ_def Definition structure for mail queue
os_messageQ_def Definition structure for message queue
os_mutex_def Mutex Definition structure contains setup information for a mutex
os_pool_def Definition structure for memory block allocation
os_semaphore_def Semaphore Definition structure contains setup information for a semaphore
os_thread_def Thread Definition structure contains startup information of a thread
os_timer_def Timer Definition structure contains timer parameters
osEvent Event structure contains detailed information about an event
pbuf_custom A custom pbuf: like a pbuf, but following a function pointer to free it
pbuf_custom_ref A custom pbuf that holds a reference to another pbuf, which is freed when this custom pbuf is freed
Queue< T, queue_sz > The Queue class allow to control, send, receive, or wait for messages
RtosTimer Allow creating and and controlling of timer functions in the system
RX_Desc RX Descriptor structure type definition
RX_Stat RX Status structure type definition
Semaphore Used to manage and protect access to a set of shared resources
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
Socket Socket file descriptor and select wrapper
TCPSocketConnection TCP socket connection
TCPSocketServer TCP Server
TextLCD A TextLCD interface for driving 4-bit HD44780-based LCDs
Thread Allow defining, creating, and controlling thread functions in the system
TimeInterval Time interval class used to specify timeouts
TX_Desc TX Descriptor structure type definition
TX_Stat TX Status structure type definition
UDPSocket UDP Socket


api.h [code]
api_lib.c [code] Sequential API External module
api_msg.c [code] Sequential API Internal module
api_msg.h [code]
arch.h [code]
asn1_dec.c [code] Abstract Syntax Notation One (ISO 8824, 8825) decoding
asn1_enc.c [code] Abstract Syntax Notation One (ISO 8824, 8825) encoding
auth.c [code]
auth.h [code]
autoip.c [code] AutoIP Automatic LinkLocal IP Configuration
autoip.h [code] AutoIP Automatic LinkLocal IP Configuration
cc.h [code]
chap.c [code]
chap.h [code]
checksum.c [code]
chpms.c [code]
chpms.h [code]
cmsis_os.h [code]
debug.h [code]
def.c [code] Common functions used throughout the stack
def.h [code]
dhcp.c [code] Dynamic Host Configuration Protocol client
dhcp.h [code]
dns.c [code] DNS - host name to IP address resolver
dns.h [code]
Endpoint.cpp [code]
Endpoint.h [code]
err.c [code] Error Management module
err.h [code]
etharp.c [code] Address Resolution Protocol module for IP over Ethernet
etharp.h [code]
ethernetif.c [code] Ethernet Interface Skeleton
EthernetInterface.cpp [code]
EthernetInterface.h [code]
fsm.c [code]
fsm.h [code]
HAL_CM.c [code]
icmp.c [code] ICMP - Internet Control Message Protocol
icmp.h [code]
igmp.c [code] IGMP - Internet Group Management Protocol
igmp.h [code]
inet.c [code] Functions common to all TCP/IPv4 modules, such as the byte order functions
inet.h [code]
inet_chksum.c [code] Incluse internet checksum functions
inet_chksum.h [code]
init.c [code] Modules initialization
init.h [code]
ip.c [code] This is the IPv4 layer implementation for incoming and outgoing IP traffic
ip.h [code]
ip_addr.c [code] This is the IPv4 address tools implementation
ip_addr.h [code]
ip_frag.c [code] This is the IPv4 packet segmentation and reassembly implementation
ip_frag.h [code]
ipcp.c [code]
ipcp.h [code]
lcp.c [code]
lcp.h [code]
lpc17_emac.c [code] LPC17 ethernet driver for LWIP
lpc17_emac.h [code] LPC17 ethernet driver header file for LWIP
lpc17xx_emac.h [code] Contains all macro definitions and function prototypes support for Ethernet MAC firmware library on LPC17xx
lpc_emac_config.h [code] PHY and EMAC configuration file
lpc_phy.h [code] Common PHY definitions used with all PHYs
lpc_phy_dp83848.c [code] DP83848C PHY status and control
lwipopts.h [code]
lwipopts_conf.h [code]
magic.c [code]
magic.h [code]
Mail.h [code]
main.cpp [code]
md5.c [code]
md5.h [code]
mem.c [code] Dynamic memory manager
mem.h [code]
memcpy.c [code]
MemoryPool.h [code]
memp.c [code] Dynamic pool memory manager
memp.h [code]
memp_std.h [code]
mib2.c [code] Management Information Base II (RFC1213) objects and functions
mib_structs.c [code] MIB tree access/construction functions
Motor.cpp [code]
Motor.h [code]
msg_in.c [code] SNMP input message processing (RFC1157)
msg_out.c [code] SNMP output message processing (RFC1157)
Mutex.cpp [code]
Mutex.h [code]
netbuf.c [code] Network buffer management
netbuf.h [code]
netdb.c [code] API functions for name resolving
netdb.h [code]
netif.c [code] LwIP network interface abstraction
netif.h [code]
netifapi.c [code] Network Interface Sequential API module
netifapi.h [code]
opt.h [code] LwIP Options Configuration
os_tcb.h [code]
pap.c [code]
pap.h [code]
pbuf.c [code] Packet buffer management
pbuf.h [code]
perf.h [code]
ppp.c [code]
ppp.h [code]
ppp_oe.c [code]
ppp_oe.h [code]
pppdebug.h [code]
Queue.h [code]
randm.c [code]
randm.h [code]
raw.c [code] Implementation of raw protocol PCBs for low-level handling of different types of protocols besides (or overriding) those already available in lwIP
raw.h [code]
rt_CMSIS.c [code]
rt_Event.c [code]
rt_Event.h [code]
rt_HAL_CM.h [code]
rt_List.c [code]
rt_List.h [code]
rt_Mailbox.c [code]
rt_Mailbox.h [code]
rt_MemBox.c [code]
rt_MemBox.h [code]
rt_Mutex.c [code]
rt_Mutex.h [code]
rt_Robin.c [code]
rt_Robin.h [code]
rt_Semaphore.c [code]
rt_Semaphore.h [code]
rt_System.c [code]
rt_System.h [code]
rt_Task.c [code]
rt_Task.h [code]
rt_Time.c [code]
rt_Time.h [code]
rt_TypeDef.h [code]
rtos.h [code]
RtosTimer.cpp [code]
RtosTimer.h [code]
RTX_CM_lib.h [code]
RTX_Conf.h [code]
RTX_Conf_CM.c [code]
Semaphore.cpp [code]
Semaphore.h [code]
sio.h [code]
slipif.c [code] SLIP Interface
slipif.h [code]
snmp.h [code]
snmp_asn1.h [code] Abstract Syntax Notation One (ISO 8824, 8825) codec
snmp_msg.h [code] SNMP Agent message handling structures
snmp_structs.h [code] Generic MIB tree structures
Socket.cpp [code]
Socket.h [code]
sockets.c [code] Sockets BSD-Like API module
sockets.h [code]
stats.c [code] Statistics module
stats.h [code]
sys.h [code]
sys_arch.c [code]
sys_arch.h [code]
tcp.c [code] Transmission Control Protocol for IP
tcp.h [code]
tcp_impl.h [code]
tcp_in.c [code] Transmission Control Protocol, incoming traffic
tcp_out.c [code] Transmission Control Protocol, outgoing traffic
tcpip.c [code] Sequential API Main thread module
tcpip.h [code]
TCPSocketConnection.cpp [code]
TCPSocketConnection.h [code]
TCPSocketServer.cpp [code]
TCPSocketServer.h [code]
TextLCD.cpp [code]
TextLCD.h [code]
Thread.cpp [code]
Thread.h [code]
timers.c [code] Stack-internal timers implementation
timers.h [code]
udp.c [code] User Datagram Protocol module
udp.h [code]
UDPSocket.cpp [code]
UDPSocket.h [code]
vj.c [code]
vj.h [code]