CBPeripheral method SetNotifyValue(bool enabled, CBCharacteristic characteristic) constantly returns characteristic values.
I connect to a device with BLE and subscribe to certain characteristic. In DiscoveredCharacteristic I call SetNotifyValue(true, characteristic) method. In UpdatedCharacteristicValue I print out the values received in debugger. I noticed enormous output from the application.
The updated characteristic values are added to a queue from which I dequeue values in another thread. After each dequeue I check how many values are left. On previous iOS versions the queue has single digit size but on iOS 13 the length increases massively in size. In seconds the length becomes 100+ and it keeps rising, reaching 10000+ before I stopped the application. The values keep comming constantly and they are unchanged.
Has anyone else experienced this or some similar issue?
- Visual Studio for Mac Community:
- Version: 8.3 (build 1805)
- Version: 11.0 (11A420a)