Functions

void emberUdpHandler (const uint8_t *destination, const uint8_t *source, uint16_t localPort, uint16_t remotePort, const uint8_t *payload, uint16_t payloadLength)
Application callback for an incoming UDP message.
void emberUdpMulticastHandler (const uint8_t *destination, const uint8_t *source, uint16_t localPort, uint16_t remotePort, const uint8_t *payload, uint16_t payloadLength)
Application callback for an incoming UDP multicast.

Detailed Description

These callbacks were contributed by the udp API.

Function Documentation

void emberUdpHandler ( const uint8_t * destination,
const uint8_t * source,
uint16_t localPort,
uint16_t remotePort,
const uint8_t * payload,
uint16_t payloadLength
)

An application callback for an incoming UDP message.

Parameters
destination IPV6 destination address
source IPV6 source address
localPort UDP source port
remotePort UDP destination port
payload UDP transport payload
payloadLength payload length

Referenced by emberUdpMulticastHandler() .

void emberUdpMulticastHandler ( const uint8_t * destination,
const uint8_t * source,
uint16_t localPort,
uint16_t remotePort,
const uint8_t * payload,
uint16_t payloadLength
)

An application callback for an incoming UDP multicast.

Parameters
destination IPV6 destination address
source IPV6 source address
localPort UDP source port
remotePort UDP destination port
payload UDP transport payload
payloadLength payload length

References emberUdpHandler() .