I’m learning about connection monitoring, reading about that here.
Our system is based on plenty of devices. On each device an agent sends data to our tenant using both MQTT and REST API depending on the type of data. We monitor our devices through a custom Cockpit application.
When I look in device managment → device status, the arrow corresponding to the push connection is always green.
I was wondering how this is working as long as I didn’t implemented explicitly this feature. In the documentation (linked at the beginnign) under Push connections it’s stated that:
A push connection is an active HTTPS long poll or an MQTT connection from Cumulocity IoT to the /notification/operations API endpoint (not the real time API endpoint).
- How can I tell which of the two options is the one in use in my system?
- The following statement it’s not clear to me: “an MQTT connection from Cumulocity IoT to the /notification/operations API endpoint”. In my understanding, the operations is something CumulocityIoT sends to the device. So, using MQTT CumulocityIot is able to get if operations are pushed to the device and so if a push connection is open. This is my best guess, plese correct me if I’m wrong.