Dear Franson support staff,
I have an end-user using Rocketfish Micro Bluetooth 2.1 EDR USB Adapter with Widcomm stack 22.214.171.12400 reporting "A service discovery is already pending" errors long after previous discovery should have ended.
I understand this error is reported by the lib if the application asks for a new service discovery when the previous discovery has not finished yet.
However, the timed detail log shows that the previous service discovery is stuck or something. Long after the first "already pending" errors, the lib still reports the same error when a service discovery is initiated. I have a log that shows the application is trying to discover new services every few minutes for several hours, and the result is always the same "already pending" error.
It looks like the lib or stack is stuck on the previous discovery.
The only solution he found is to restart the application... then it works fine until the first service discovery already pending error happens again.
Is there a way I could reset the library when I detect this error is happening several times when it shouldn't ?
Any other suggestion ?