Martijn van Welie
Martijn van Welie
Hi, I tried to reproduce this using nRFConnect on iOS and using the peripheral example on Android: https://github.com/weliem/bluetooth-server-example ...but connecting seems to work every time. Can't see any issues. So...
I don't know how you built your app exactly, but Android may ofcourse kill your app at some point....
Great findings! Keep them coming. I haven't had the time to investigate this thoroughly myself. It looks like it is related to Android rather than this library. However, there might...
Just released version 2.4.1. that contains a possible fix for your issue. You now need to tell the PeripheralManager who the Central is and then I check every connected event...
It is very unlikely that this particular change would prevent any connections to take place. It must be caused by something else. Please share a log so I can see...
What I changed is that I have added a heuristic to PeripheralManager. If it gets a 'connected' event while there is also connection attempted by the CentralManager for the same...
Ok this looks as expected. Your app sees 48:8A:73:08:76:D9 and connects to it. All normal and you don't get any incorrect OnCentralConnected event....which you would previously get before my fix....
Sure, I can build and run on my iphone....
I can see a million chicken related apps in the app store but I don't see yours....probably logical since I live in the Netherlands...
Thx for taking the effort to make the apps. I will take a look somewhere this week. Let's see if there is a solution to the issue...