com.apama.cumulocity
Event ManagedObject


Description of a device or other Managed Object.

Sent on startup or in response to a RequestAllDevices event, or if a new ManagedObject is detected (and configuration property subscribeToDevices is enabled). Example:
 ManagedObject("43026768","com_ublox_C027_REV-A","Mbed Test Device",["c8y_Relay","c8y_Configuration","c8y_Message"],[],[],[],{"alt":610.2,"lat":17.426479,"lng":78.33123},{,"c8y_Availability":any(dictionary,{any(string,"status"):any(string,"UNAVAILABLE")}), ,"c8y_Hardware":any(dictionary,{any(string,"model"):any(string,"Ublox C027"),any(string,"revision"):any(string,"1"),any(string,"serialNumber"):any(string,"352648069564516")}),"c8y_IsDevice":any(dictionary,{}),"c8y_Mobile":any(dictionary,{any(string,"cellId"):any(string,"14D80CD"),any(string,"iccid"):any(string,"89914905900016774658"),any(string,"imei"):any(string,"352648069564516")}),"c8y_MotionTracking":any(dictionary,{any(string,"active"):any(boolean,true),any(string,"interval"):any(integer,0)}),"c8y_RequiredAvailability":any(dictionary,{any(string,"responseInterval"):any(integer,20)}),"com_cumulocity_model_Agent":any(dictionary,{}),"owner":any(string,"device_352648069564516")}) 

Constant summary
 stringCHANNEL := "cumulocity.devices"

The channel to which MangedObject events are sent from the transport.
 stringUPDATE_CHANNEL := "CumulocityIoT"

The channel to send a managedObject event to update an existing managedObject object in Cumulocity.
 
Member summary
 stringid

The unique identifier for this specific Device.
 stringtype

The type of the device.
 stringname

The name of this ManagedObject. Note: This does not have to be a unique value.
 sequence<string>supportedOperations

List of supported operations for this device.
 sequence<string>supportedMeasurements

List of supported measurements for this device.
 sequence<string>childDeviceIds

Ids of child devices.
 sequence<string>childAssetIds

Ids of child devices.
 sequence<string>deviceParentIds

Ids of parent devices.
 sequence<string>assetParentIds

Ids of parent assets.
 dictionary<stringfloat>position

If known, contains lat, lng, altitude and accuracy.
 dictionary<stringany>params

Other fragments for this ManagedObject.
 
Constant detail

CHANNEL

string CHANNEL := "cumulocity.devices"
The channel to which MangedObject events are sent from the transport.

UPDATE_CHANNEL

string UPDATE_CHANNEL := "CumulocityIoT"
The channel to send a managedObject event to update an existing managedObject object in Cumulocity.
Member detail

assetParentIds

sequence<stringassetParentIds
Ids of parent assets.

childAssetIds

sequence<stringchildAssetIds
Ids of child devices.

childDeviceIds

sequence<stringchildDeviceIds
Ids of child devices.

deviceParentIds

sequence<stringdeviceParentIds
Ids of parent devices.

id

string id
The unique identifier for this specific Device.

Supply as empty if creating a new ManagedObject.

name

string name
The name of this ManagedObject. Note: This does not have to be a unique value.

params

dictionary<stringanyparams
Other fragments for this ManagedObject.

position

dictionary<stringfloatposition
If known, contains lat, lng, altitude and accuracy.

supportedMeasurements

sequence<stringsupportedMeasurements
List of supported measurements for this device.

supportedOperations

sequence<stringsupportedOperations
List of supported operations for this device.

type

string type
The type of the device.