Periodic broadcast data types. More...


typedef uint8_t *(* broadcast_callback_t) (uint8_t *buffer, uint16_t max_length)
 Periodic broadcast callback. More...

Detailed Description

Periodic broadcast data types.

Typedef Documentation

typedef uint8_t*(* broadcast_callback_t) (uint8_t *buffer, uint16_t max_length)

Periodic broadcast callback.

This is periodically called from the 'Network' thread context. This allows for broadcasting custom packets via UDP and/or HTTP post.

bufferBuffer to hold the custom broadcast data
max_lengthThe maximum length of the supplied buffer
Pointer to the end of the buffered data