6#ifndef __ZIGBEEMANAGER_IDL__
7#define __ZIGBEEMANAGER_IDL__
10#include <ZigbeeDevice.idl>
18 constant
int ERR_DEVICE_EXISTS = 1;
19 constant
int ERR_MAX_DEVICE_REACHED = 2;
20 constant
int ERR_DEVICE_NOT_FOUND = 3;
21 constant
int ERR_INVALID_PARAMS = 4;
22 constant
int ERR_INVALID_KEY = 5;
23 constant
int ERR_INVALID_CHANNEL = 6;
vector< ZigbeeDevice > getRegisteredDevices()
Get the list of registered devices.
vector< int > addDevices(in vector< DeviceRegistration > sensors)
Add new devices.
int removeDevice(in int sourceId)
Remove a device.
DongleState
States for the dongle.
@ INIT_IN_PROGRESS
dongle init in progress
@ FW_UPGRADE
firmware upgrade
@ READY
default state if no action in progress
DongleState getDongleState()
Retrieve Dongle State.
int setSettings(in Settings settings)
Set Dongle Settings.
Settings getSettings()
Retrieve Dongle Settings.
MetaData getMetaData()
Retrieve Dongle MetaData.
Common base for all events.
int sourceId
the device which is affected by the event
int sourceId
the source id to add
int slot
the preferred slot. 0xFFFF for auto manage
string key
the OOB key (including CRC16)
Settings oldSettings
the old settings
Settings newSettings
the new settings
int channel
channel between 11 and 26 or 0xFF for auto search
DongleState oldState
the old state
DongleState newState
the new state