|
Raritan / Server Technology Xerus™ PDU JSON-RPC API
|
Zigbee Manager. More...
import"ZigbeeManager.idl";
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. More... | |
| DongleState | getDongleState () |
| Retrieve Dongle State. More... | |
| Settings | getSettings () |
| Retrieve Dongle Settings. More... | |
| int | setSettings (in Settings settings) |
| Set Dongle Settings. More... | |
| vector< int > | addDevices (in vector< DeviceRegistration > sensors) |
| Add new devices. More... | |
| int | removeDevice (in int sourceId) |
| Remove a device. More... | |
| vector< ZigbeeDevice > | getRegisteredDevices () |
| Get the list of registered devices. More... | |
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.
| 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.