Difference between revisions of "Observations production and consumption"

From AMTech WikiDocs
Jump to: navigation, search
(The M2MBridge consumes 2 observation types, if those observations have been configured at the observation production configuration)
(The M2MBridge consumes 2 observation types, if those observations have been configured at the observation production configuration)
Line 8: Line 8:
 
# '''observationresourcecrud''' when a property of things instance related with the M2MBridge changes
 
# '''observationresourcecrud''' when a property of things instance related with the M2MBridge changes
 
# Observation types implemented for a plugin as commands to be sent to devices. The M2MBridge validates that it has a valid [[Sensor%27s_network#targetthings|targetthings]]  (the instance type that will process the [[Actions#Send_command|command]])
 
# Observation types implemented for a plugin as commands to be sent to devices. The M2MBridge validates that it has a valid [[Sensor%27s_network#targetthings|targetthings]]  (the instance type that will process the [[Actions#Send_command|command]])
*The validation of the[[Activities#Observation_production_configuration|observation production configuration]] validates that only one topic has been set for Asynchronous operations [[Sensor%27s_network#CRUD_observation|observationresourcecrud]] and [[Actions#Send_command|command]]
+
*The validation of the [[Activities#Observation_production_configuration|observation production configuration]] validates that only one topic has been set for Asynchronous operations [[Sensor%27s_network#CRUD_observation|observationresourcecrud]] and [[Actions#Send_command|command]]

Revision as of 15:10, 20 June 2016

The M2MBridge produces 3 observation type about its life-cycle, if those observations have been configured at the observation production configuration

  1. m2mBridgeStarted when load process has finished
  2. m2mBridgeStopped when unload process has finished
  3. m2mBridgeError if an error occurred at the M2MBridge logic
  4. Observation types produce by plugins (depending of the implementation)

The M2MBridge consumes 2 observation types, if those observations have been configured at the observation production configuration

  1. observationresourcecrud when a property of things instance related with the M2MBridge changes
  2. Observation types implemented for a plugin as commands to be sent to devices. The M2MBridge validates that it has a valid targetthings (the instance type that will process the command)