Author Topic: Bluetooth low energy: Characteristic OnChange is never called  (Read 16610 times)

edunet

  • Guest
Bluetooth low energy: Characteristic OnChange is never called
« 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.


Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Bluetooth low energy: Characteristic OnChange is never called
« Reply #1 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.

 

Sitemap 1 2 3 4 5 6 7