Error Code
Definition
Common failures that occur on a Device may be assigned an Error Code on a Device Configuration which can help diagnose and fix problems. Error codes may be generated by
a Watch Dog that does not receive a Message in a predefined period of time
or if Business Logic determines there is an error and returns False
An Error Code may be used to perform necessary steps to address the problem. This may include sending a Notification to a Distribution List.
Optionally, NuvIoT has a very basic Field Service implementation called Field Service Lite. Error Codes may generate Service Tickets which are then managed by the Field Service module.
Example
The Plymouth IoT Conveyor Belt sent a Message to the Deployment Instance with a bearing temperature of 425°. Business Logic determined this was out of range and generated an Error Code which sent a Notification to the company owner. It also sent a Message back to the Device to stop the conveyor belt before any damage took place. No further Messages were received by the Message Watch Dog which once again generated an Error Code and sent a Notification to the owner.