Difference between revisions of "Observations production and consumption"
From AMTech WikiDocs
(→The M2MBridge consumes 2 observation types, if those observations have been configured at the observation production configuration) |
|||
Line 1: | Line 1: | ||
− | =The M2MBridge | + | ==Observations Produced== |
+ | The M2MBridge can produce 3 standard observation type about its life-cycle, if those observations have been configured at the observation production configuration, plus per-plugin observations. | ||
# '''m2mBridgeStarted''' when load process has finished | # '''m2mBridgeStarted''' when load process has finished | ||
# '''m2mBridgeStopped''' when unload process has finished | # '''m2mBridgeStopped''' when unload process has finished | ||
Line 5: | Line 6: | ||
# Observation types produce by plugins (depending of the implementation) | # 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 | + | ==Observations Consumed== |
+ | The M2MBridge consumes 2 observation types, if those observations have been configured at the observation production configuration | ||
# '''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 | + | # '''command''' - Observation types implemented for a plugin as a [[Actions#Send_command|command]] 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]]) |
− | + | ||
+ | ==Observations Validation== | ||
+ | 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 18:59, 11 October 2016
Observations Produced
The M2MBridge can produce 3 standard observation type about its life-cycle, if those observations have been configured at the observation production configuration, plus per-plugin observations.
- m2mBridgeStarted when load process has finished
- m2mBridgeStopped when unload process has finished
- m2mBridgeError if an error occurred at the M2MBridge logic
- Observation types produce by plugins (depending of the implementation)
Observations Consumed
The M2MBridge consumes 2 observation types, if those observations have been configured at the observation production configuration
- observationresourcecrud when a property of things instance related with the M2MBridge changes
- command - Observation types implemented for a plugin as a command to be sent to devices. The M2MBridge validates that it has a valid targetthings (the instance type that will process the command)
Observations Validation
The validation of the observation production configuration validates that only one topic has been set for Asynchronous operations observationresourcecrud and command