Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
|
Zigbee Manager. More...
Classes | |
struct | DeviceAddedEvent |
A sensor was added. More... | |
struct | DeviceEvent |
Base Event. More... | |
struct | DeviceRegistration |
Device Registration. More... | |
struct | DeviceRemovedEvent |
A sensor was removed. More... | |
struct | MetaData |
Dongle MetaData. More... | |
struct | Settings |
struct | SettingsChangedEvent |
Settings changed. More... | |
struct | StateChangedEvent |
State changed. More... | |
Public Types | |
enum | DongleState { NOT_INIT , READY , ERROR , INIT_IN_PROGRESS , FW_UPGRADE , IN_MODEM_STATE } |
States for the dongle. More... | |
Public Member Functions | |
MetaData | getMetaData () |
Retrieve Dongle MetaData. | |
DongleState | getDongleState () |
Retrieve Dongle State. | |
Settings | getSettings () |
Retrieve Dongle Settings. | |
int | setSettings (in Settings settings) |
Set Dongle Settings. | |
vector< int > | addDevices (in vector< DeviceRegistration > sensors) |
Add new devices. | |
int | removeDevice (in int sourceId) |
Remove a device. | |
vector< ZigbeeDevice > | getRegisteredDevices () |
Get the list of registered devices. | |
Public Attributes | |
constant int | ERR_DEVICE_EXISTS = 1 |
Error Codes. | |
constant int | ERR_MAX_DEVICE_REACHED = 2 |
constant int | ERR_DEVICE_NOT_FOUND = 3 |
constant int | ERR_INVALID_PARAMS = 4 |
constant int | ERR_INVALID_KEY = 5 |
constant int | ERR_INVALID_CHANNEL = 6 |
Zigbee Manager.
Definition at line 15 of file ZigbeeManager.idl.
States for the dongle.
Definition at line 26 of file ZigbeeManager.idl.
vector< int > zigbee::ZigbeeManager::addDevices | ( | in vector< DeviceRegistration > | sensors | ) |
Add new devices.
Return codes: 0 if OK ERR_DEVICE_EXISTS if device is already in list ERR_MAX_DEVICE_REACHED if the max device limit reached ERR_INVALID_KEY if the key is wrong ERR_INVALID_PARAMS if the entered data is invalid
DongleState zigbee::ZigbeeManager::getDongleState | ( | ) |
Retrieve Dongle State.
vector< ZigbeeDevice > zigbee::ZigbeeManager::getRegisteredDevices | ( | ) |
Get the list of registered devices.
int zigbee::ZigbeeManager::removeDevice | ( | in int | sourceId | ) |
Remove a device.
int zigbee::ZigbeeManager::setSettings | ( | in Settings | settings | ) |
Set Dongle Settings.
constant int zigbee::ZigbeeManager::ERR_DEVICE_EXISTS = 1 |
Error Codes.
Definition at line 18 of file ZigbeeManager.idl.
constant int zigbee::ZigbeeManager::ERR_DEVICE_NOT_FOUND = 3 |
Definition at line 20 of file ZigbeeManager.idl.
constant int zigbee::ZigbeeManager::ERR_INVALID_CHANNEL = 6 |
Definition at line 23 of file ZigbeeManager.idl.
constant int zigbee::ZigbeeManager::ERR_INVALID_KEY = 5 |
Definition at line 22 of file ZigbeeManager.idl.
constant int zigbee::ZigbeeManager::ERR_INVALID_PARAMS = 4 |
Definition at line 21 of file ZigbeeManager.idl.
constant int zigbee::ZigbeeManager::ERR_MAX_DEVICE_REACHED = 2 |
Definition at line 19 of file ZigbeeManager.idl.