You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, When the notify feature is disabled in Windows, the 'CentralManager.instance.readCharacteristic()' function always gives the value when the project is first opened, and then it continues to give the same value even if the value in the characteristic is changed on the peripheral device. This problem does not occur when notify is enabled, it occurs when it is disabled. I did not encounter this problem on Android, iOS, or Mac, I encountered this problem only on Windows.
The text was updated successfully, but these errors were encountered:
Tunahan0155
changed the title
Read function on windows always return the initial value
'CentralManager.instance.readCharacteristic' function on windows always return the initial value
Jan 18, 2024
Tunahan0155
changed the title
'CentralManager.instance.readCharacteristic' function on windows always return the initial value
'CentralManager.instance.readCharacteristic()' function on windows always return the initial value
Jan 18, 2024
Thanks for this report, the windows API is a little different from other platforms, it cached values of the peripherals, after looked at the GattCharacteristic.ReadValueAsync and GattDescriptor.ReadValueAsync documents, I need to add the cacheMode argument when I call this method.
Hi, When the notify feature is disabled in Windows, the 'CentralManager.instance.readCharacteristic()' function always gives the value when the project is first opened, and then it continues to give the same value even if the value in the characteristic is changed on the peripheral device. This problem does not occur when notify is enabled, it occurs when it is disabled. I did not encounter this problem on Android, iOS, or Mac, I encountered this problem only on Windows.
The text was updated successfully, but these errors were encountered: