You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 15, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: packages/user_packages/README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,9 @@ IoTCC over MQTT Protocol to acquire "registered edge system", i.e. iotcc_edge_sy
15
15
which is pre-loaded during the installation in order to provide the required credentials and configuration parameters in the liota package manager registry.
16
16
The properties for the edge system can be set as 'key:value' pair, you can also set the location by passing the
17
17
'latitude:value' and 'longitude:value' as properties in the user package.
18
-
Kindly include the unregister edge_system call in the clean up method required during the unload of the package.
18
+
If the unregister call is included in the clean up method then the resource will be unregistered and the entire history will be deleted
19
+
from Pulse IoT Control Center so comment the logic if the unregsitration of the resource is not required to be done on the package unload.
20
+
The retry mechanism has been implemented for important calls like registration, create_relationship or set_property in case of exception. User Configurable Retry and Delay Settings can be tweaked by user as per the targeted scale.
19
21
20
22
* iotcc_mqtt_edge_system_stats.py
21
23
@@ -24,3 +26,10 @@ monitor the health status of the edge system from Pulse IoT Control Center.
24
26
Optional mechanism: If the device raises an intermittent exception during metric collection process it will be required to be handled in the user code
25
27
otherwise if an exception is thrown from user code the collection process will be stopped for that metric.
26
28
If the None value is returned by User Defined Method(UDM) then metric value for that particular collector instance won't be published.
29
+
30
+
* iotcc_mqtt_device.py
31
+
32
+
This is a sample device package which registers five devices to Pulse IoT Control Center and then a relationship is established to Edge System.
33
+
A basic UDM returns random value it should be tweaked by user in order to collect device specific metric, all the five devices are loaded with dev_metric.
34
+
The retry mechanism has been implemented for important calls like registration, create_relationship or set_property in case of exception.
35
+
User Configurable Retry and Delay Settings can be tweaked by user as per the targeted scale.
0 commit comments