Rtos API example
whiteboard_api.h File Reference
An API for DAD, intercepting messages from backhaul network and keeping track of routes inside the PAN. More...
Go to the source code of this file.
Data Structures | |
struct | whiteboard_entry_t |
A structure describing a whiteboarding entry. More... | |
Functions | |
whiteboard_entry_t * | whiteboard_get (whiteboard_entry_t *cur) |
Read whiteboard entries. | |
void | whiteboard_set_device_hard_limit (uint16_t limit) |
Whiteboard_set_device_hard_limit Sets the absolut limit of child devices this device can handle. |
Detailed Description
An API for DAD, intercepting messages from backhaul network and keeping track of routes inside the PAN.
Definition in file whiteboard_api.h.
Function Documentation
whiteboard_entry_t* whiteboard_get | ( | whiteboard_entry_t * | cur ) |
Read whiteboard entries.
- Parameters:
-
cur NULL to read first entry, or get next entry after cur.
- Returns:
- A pointer to whiteboard_entry_t structure.
void whiteboard_set_device_hard_limit | ( | uint16_t | limit ) |
Whiteboard_set_device_hard_limit Sets the absolut limit of child devices this device can handle.
This is very useful in situations, where 1 GW drops from network and causes it's children to join other GW networks. This might cause other GWs to run out of memory.
- Parameters:
-
limit Absolute maximum amount of devices allowed to join. Default value=0 means unlimited (as long as there is memory)
Generated on Sun Jul 17 2022 08:25:36 by 1.7.2