0.01.00
udp_api.cpp File Reference

This file implements the OpenThread UDP API. More...

Functions

otMessageotUdpNewMessage (otInstance *aInstance, bool aLinkSecurityEnabled)
 Allocate a new message buffer for sending a UDP message. More...
 
otError otUdpOpen (otInstance *aInstance, otUdpSocket *aSocket, otUdpReceive aCallback, void *aCallbackContext)
 Open a UDP/IPv6 socket. More...
 
otError otUdpClose (otUdpSocket *aSocket)
 Close a UDP/IPv6 socket. More...
 
otError otUdpBind (otUdpSocket *aSocket, otSockAddr *aSockName)
 Bind a UDP/IPv6 socket. More...
 
otError otUdpConnect (otUdpSocket *aSocket, otSockAddr *aSockName)
 Connect a UDP/IPv6 socket. More...
 
otError otUdpSend (otUdpSocket *aSocket, otMessage *aMessage, const otMessageInfo *aMessageInfo)
 Send a UDP/IPv6 message. More...
 

Detailed Description

This file implements the OpenThread UDP API.