User Documentation

Table Of Contents
Program development
System manual
2696790000/02/04.2020
32
Command
Command
type
Description
Stop Controller State transition The status changes from "OsReady".
Start Applica-
tions
State transition The status changes from "Stop" to "Run".
Stop Applica-
tions
State transition The status changes from "Run" to "Stop".
Init Controller State transition The status changes from "OsReady" to "Stop".
Shutdown Con-
troller
Special state
transition
Closes all running software applications on the device
and stops it.
Reboot Con-
troller
Special state
transition
Closes all running software applications on the device
and restarts it.
Delete Applica-
tions
Comprehensive
Command
Deletes all applications on the device ("reset to factory
settings").
Restart Con-
troller
Combined state
transition
Execute "Stop Controller" followed by "Start Con-
troller".
Restart Applica-
tions
Combined state
transition
Execute "Stop Applications" followed by "Start Applica-
tions".
7.3.2 Device Service Item
A Device Service Item represents a program installed on the current device.
To do this, a description file called <itemname>.item is created in the direc-
tory /opt/deviceservice/items.d/. The file must be created in Lua
(http://www.lua.org). The program must implement a defined status model
with defined transitions.
7.3.2.1 Defined state model Device Service Item
Each program (DeviceServiceItem) must implement a status model de-
fined as given below to be managed by the DeviceService.
Fig.7-6: DeviceService Item status model