- Press the button for 3 seconds, you will hear a long beep.
- Scan for the button mac address
- run gatttool, connect, primary, char-desc
sudo hcitool lescan | grep iTag
sudo gatttool -b FF:FF:30:00:04:76 -I
connect
primary
char-desc
When you press the button you will see the following gatttool output:
Notification handle = 0x000e value: 01
There are tools in python that will allow you to connect to gatttool and write code against the bluetooth button press received event.
-iTag button Link to Amazon