udp API Callbacks
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
-
destinationIPV6 destination address sourceIPV6 source address localPortUDP source port remotePortUDP destination port payloadUDP transport payload payloadLengthpayload 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
-
destinationIPV6 destination address sourceIPV6 source address localPortUDP source port remotePortUDP destination port payloadUDP transport payload payloadLengthpayload length
References emberUdpHandler() .