Use Case 3 - BLE Notification-Based Use Cases
A BLE device can have multiple services and each service can have multiple characteristics. For BLE notification, you can register the topic and subscribe for a specific service or characteristic ID for which the notification needs to be received. In this case, the best example is to subscribe for BLE GATT notification.
In this use case, you will be able to onboard a device, register a topic, connect to a device, and subscribe for notification.
Here, the sample use case is that of a Pulse Oximeter. A Pulse Oximeter is a medical device that non-invasively measures the oxygen saturation level (SpO2) of a person’s blood and pulse rate. The Pulse Oximeter is a small portable device commonly used in hospitals, clinics, and home to monitor patients with respiratory or cardiovascular conditions.
The following are the GATT attributes associated with the Pulse Oximeter:
-
Oxygen level
-
Heart rate
The following workflow covers the sequence of operations: