locked
Force cache refresh of a bluetooth Low Energy Device RRS feed

  • Question

  • hi,

    i'm developing a desktop application with Windows Kit 8.1 and VC++ 2013.

    In my application i connect with a bluetooth low energy device and i want read some characteristics (like temperature).

    I'm able to do all of this, but i have a problem with the windows devices cache:

    After i read data from my device, i don't get the up-to-date data, instead Windows gives me some kind of cached data..

    i'd like get the last data and not the cached ones. Do you know if there is a way to disable the read from the cache or forcing data update??

    I already developed a metro apps with BTHLE and i was able to setting the Cache mode... is there any similar solution with vc++ and Windows Kit 8.1??

    thanks for replys!

    Thursday, May 15, 2014 11:03 AM

Answers

  • Hi,

    You may use BLUETOOTH_GATT_FLAG_FORCE_READ_FROM_DEVICE to force the read request to be issued to the device.

    Thanks!

    Thursday, May 15, 2014 5:58 PM

All replies

  • Hi,

    You may use BLUETOOTH_GATT_FLAG_FORCE_READ_FROM_DEVICE to force the read request to be issued to the device.

    Thanks!

    Thursday, May 15, 2014 5:58 PM
  • thanks!!
    Friday, May 16, 2014 1:59 PM