ALEOS AF API Reference Guide

  • Apr 5, 2012
  • Author: Sierra Wireless

This provides detailed API documentation of all the Lua modules in ALEOS AF.

← Back

System related tasks


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

  1. a true value upon success
  2. nil followed 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

  1. non-nil if the request has been received.
  2. nil followed by an error message otherwise.

Comment

Forum

Tags

Related items

  • ALEOS Application Framework