Kaspersky IoT Secure Gateway uses Firebase™ Cloud Messaging (FCM) to forward push notifications about events in the form of JSON messages over the HTTPS protocol to the address https://fcm.googleapis.com/fcm/send. The system relays information about its name and provided topics of push notifications every 4 seconds to the topic /topics/DevicesandTopics residing in the FCM cloud service.
Example of JSON data sent by the system indicating its name and provided topics of push notifications:
|
In this case, the system named Device-1 lets you subscribe to push notifications about NewRecord, NewDevice and DeviceUpdate events.
A push notification about an event is sent to the topic /topics/DeviceName_EntityName_EventType, where:
Example of JSON data sent by the system regarding an event that occurred:
} |
To receive push notifications, you can create your own application that works with FCM. To do so, you will need a google-services.json configuration file and the system name.
To configure the system name for sending push notifications:
For more detailed information about creating an application to receive push notifications, please refer to the Firebase Cloud Messaging documentation.
Page top