Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
|
Methods used during production. More...
import <Production.idl;
Public Member Functions | |
int | enterFactoryConfigMode (in string password) |
Enter factory configuration mode. | |
void | leaveFactoryConfigMode () |
Leave factory configuration mode. | |
boolean | isFactoryConfigModeEnabled () |
Check whether device is in factory configuration mode. | |
int | assignRandomRs485Addresses (in byte deviceId, in byte rangeStart, in byte rangeEnd) |
Instruct RS485 controllers to choose random bus addresses. | |
Methods used during production.
Definition at line 10 of file Production.idl.
int production::Production::assignRandomRs485Addresses | ( | in byte | deviceId, |
in byte | rangeStart, | ||
in byte | rangeEnd ) |
Instruct RS485 controllers to choose random bus addresses.
This command is only allowed in factory configuration mode.
deviceId | Device ID of target controllers |
rangeStart | Start of address range |
rangeEnd | End of address range |
int production::Production::enterFactoryConfigMode | ( | in string | password | ) |
Enter factory configuration mode.
This mode unlocks several features which should only be available during production, e.g. the RS485 address assignment or sensor calibration. Factory configuration mode will be enabled until the next reboot or until leaveFactoryConfigMode is called.
password | Password required to enter factory config mdoe. |
boolean production::Production::isFactoryConfigModeEnabled | ( | ) |
Check whether device is in factory configuration mode.
true
if factory configuration mode is enabled