TR181-XPON
1.4.0
TR-181 PON manager.
|
Go to the source code of this file.
Functions | |
void | rth_init (void) |
void | rth_cleanup (void) |
void | rth_schedule_enable (const char *const object) |
void | rth_disable (const char *const object) |
Functionality related to enabling objects towards the HAL at startup if they are enabled according to the persistent settings.
The only read-write Enable fields in the BBF XPON DM are:
This plugin calls rth_schedule_enable() for each such parameter which is true according to the persistent settings. The restore_to_hal part then enables the object in the HAL.
Definition in file restore_to_hal.h.
void rth_cleanup | ( | void | ) |
Definition at line 234 of file restore_to_hal.c.
void rth_disable | ( | const char *const | object | ) |
Remove task to enable an object in the HAL if such task exists.
[in] | object | object path, e.g. "XPON.ONU.1" |
Definition at line 286 of file restore_to_hal.c.
void rth_init | ( | void | ) |
Definition at line 226 of file restore_to_hal.c.
void rth_schedule_enable | ( | const char *const | object | ) |
Schedule task to enable an object in the HAL.
[in] | object | object path, e.g. "XPON.ONU.1" |
The function creates a task to enable the object in the HAL, appends it to the list of tasks managed by this restore_to_hal part, and starts the timer to handle all tasks in that list.
If there is already a task in the list to enable the object, the function immediately returns.
Definition at line 256 of file restore_to_hal.c.