Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: edunet on January 26, 2017, 10:29:14 PM

Title: Bluetooth low energy: Characteristic OnChange is never called
Post by: edunet on January 26, 2017, 10:29:14 PM
Hi, I'm testing BTFramework library for developing a windows 10 sensor client based on bluetooth low energy.
The sensor publish a custom service with a characteristic to suscribe as notification.
I'm using this code to setting up the characteristic:

dataCharacteristic.OnChanged += MldpService_DataReceived;
result = dataCharacteristic.Subscribe(currentRadio);

But the event is never called when the sensor updates de characteristic.

I've tried to setting up the descriptor but BTFrameWork library only allow read descriptor fields.

The sensor works fine using my own android app, so I assume that the sensor writes fine the characteristic value.

Any ideas?


Thanks in advance.

Title: Re: Bluetooth low energy: Characteristic OnChange is never called
Post by: Mike Petrichenko on January 27, 2017, 06:06:22 AM
Hi,

That is known issue and we are working on this matter. Unfortunately the problem is outside the WCL amd we are in touch with BlueSoleil to fix it. Updated version should be ready soon.