Wireless Communication Library Support Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Wireless Communication Library Support Forum
»
Frameworks
»
Bluetooth Framework
»
scosche heart rate sensor - Client_OnCharacteristicChanged not firing
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: scosche heart rate sensor - Client_OnCharacteristicChanged not firing (Read 17031 times)
ericgholland
Guest
scosche heart rate sensor - Client_OnCharacteristicChanged not firing
«
on:
November 19, 2019, 06:54:19 PM »
I am using your demo app. I am able to connect and subscribe to the heart rate 2A37 but I never get change notifications.
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: scosche heart rate sensor - Client_OnCharacteristicChanged not firing
«
Reply #1 on:
November 19, 2019, 06:58:13 PM »
Hi,
To be able to receive notification it is no enought to just "subscribe". You also have to tell your device that you are interested in notifications. To do that you must write Client Configuration Descriptor. In GattClientDemo app just click Write CCD subscribe button.
You can find more information about GATT notifications by this link:
https://www.btframework.com/ble.htm#CharacteristicValueChangeNotifications
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
ericgholland
Guest
Re: scosche heart rate sensor - Client_OnCharacteristicChanged not firing
«
Reply #2 on:
November 20, 2019, 03:11:31 AM »
Thank you - works perfectly.
Logged
Mike Petrichenko
Bluetooth Framework Developer
Administrator
Hero Member
Posts: 3675
Karma: 1000
Re: scosche heart rate sensor - Client_OnCharacteristicChanged not firing
«
Reply #3 on:
November 20, 2019, 05:04:41 AM »
You are very welcome.
Logged
Bluetooth Framework
IrDA Framework
Serial Framework
WiFi Framework
Print
Pages: [
1
]
Go Up
« previous
next »
Wireless Communication Library Support Forum
»
Frameworks
»
Bluetooth Framework
»
scosche heart rate sensor - Client_OnCharacteristicChanged not firing
Sitemap
1
2
3
4
5
6
7