I'm working on a BLE app with a hardware partner using samples of their device, which I am able to erase and re-flash when needed.
When I try to use the device it initially works fine. I can connect to it, make requests, and get back responses.
However, after a short time and a few successful runs, I start getting the error "Encryption is insufficient". The error is seen in the "didUpdateValueFor" function. I can still connect to the device, and enumerate all of its services and characteristics, but I can't read any data.
If at this point I re-flash the device and also go into the iOS setting app and "forget" it, then I can use the device normally again, at least for a while.
What causes this? Is there a way I can fix it in my app?
Thanks, Frank