I'm using a TI Launchpad, together with the nRF Connect application on my Samsung Galaxy S21. I've got the launchpad connected to my computer and I'm using TI's bTool to send BLE Commands. My phone is the peripheral, while the TI Launchpad is the central.
What I'm trying to do is to look for a service in the nRF Connect app, which sends notifications to my TI Launchpad, whenever the value of a characteristic is changed (not like a heart rate monitor that notifies you periodically).
I read some things about the Battery Service and thought that may be the best option for me. I've added such a service using the "Configure GATT Server" section on my nRF Connect app. I've also added a Battery Level characteristic with NOTIFY properties, and a descriptor called "Client Characteristic Configuration" has been automatically added.
Now, I'm connecting to my phone using bTool. After the connection, I'm trying to change the value of the "Battery Level" characteristic (directly from the app - the "SERVER" section), while sending a notification on my TI Launchpad. It works. But unfortunately, it works even if I didn't enable notifications on my bTool. The notifications are sent even if I didn't write 00:01 to subscribe to the service's notifications.
Whenever I'm pressing that button and adding a new value, notifications are sent no matter if I set the descriptor value to 00:00 or 00:01(notifications disabled/enabled).
Why is this happening? Also, do you have any other suggestion for a service that sends notifications whenever a value is changed? I'm pretty sure Battery Service is not the best option.