Wireless Communication Library Support Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Calendar
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 232 times)
ericgholland
Newbie
Posts: 2
Karma: 0
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: 3418
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
Newbie
Posts: 2
Karma: 0
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: 3418
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
8
9
10
11
12
13
14