UDP Server New Data Available

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Revision as of 14:15, 21 March 2017 by Jasonvankolfschoten (talk | contribs) (Created page with "{{HANcoder/block| info= This block obtains the value of the so called new data flag. By checking this flag, the application can determine if there is data available in the UD...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Supported Targets: Olimexino, E407, P405

General information about UDP Server New Data Available

This block obtains the value of the so called new data flag. By checking this flag, the application can determine if there is data available in the UDP server receive buffer that has not been read out yet.

This new data flag is set each time the UDP server receives a data packet, right after it wrote the data to its internal receive buffer. The new data flag is reset when the application reads data from the UDP server's internal receive buffer, by means of block 'UDP Server Receive'.

Block

UDPServerNewDataAvailable.png

Mask

UDPServerNewDataAvailableMask.png