ALEOS AF API Reference Guide
- Apr 5, 2012
- Author: Sierra Wireless
This provides detailed API documentation of all the Lua modules in ALEOS AF.
System related tasks
Type
Type
Initialize the module.
No service provided by this module will work unless this initializer function has been called first.
Instruct the ReadyAgent to reboot the system, with an optional
reason passed as a string.
Type system
| system.init() | Initialize the module. |
| system.reboot(reason) | Instruct the ReadyAgent to reboot the system, with an optional reason passed as a string. |
Type system
Field(s)
system.init()
Initialize the module.
No service provided by this module will work unless this initializer function has been called first.
Return values
- a true value upon success
-
nilfollowed by an error message otherwise.
system.reboot(reason)
Instruct the ReadyAgent to reboot the system, with an optional
reason passed as a string.
Parameter
-
reason: the (logged) reason why the reboot is requested
Return values
- non-nil if the request has been received.
-
nilfollowed by an error message otherwise.
Comment
Forum