Types
Periodic broadcast data types. More...
Typedefs |
|
typedef uint8_t *(* | gos_broadcast_callback_t ) (uint8_t *buffer, uint16_t max_length) |
Periodic broadcast callback.
More...
|
|
Detailed Description
Periodic broadcast data types.
Typedef Documentation
◆ gos_broadcast_callback_t
typedef uint8_t*(* gos_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.
- Parameters
-
buffer
Buffer to hold the custom broadcast data max_length
The maximum length of the supplied buffer
- Returns
- Pointer to the end of the buffered data