e-sr / moonboard

GNU General Public License v3.0
100 stars 43 forks source link

moonboard app keeps disconnecting #12

Open grasnag opened 4 years ago

grasnag commented 4 years ago

When connected to moonboard app connection is lost after route has been sent. Is this normal behaviour or should it maintain the connection with the app?

e-sr commented 4 years ago

I normally not. I have sometimes troubles to connect to the device. Then when connected I have normally a stable situation.

grasnag commented 4 years ago

Thanks for the info. I tested with android and everything is working fine. So problem seems to be iOS, at least my iPhone keeps disconnecting.

e-sr commented 4 years ago

I think the problem can also be the ble service implemented in the rpi. but at this time I have no time to investigate. I also experienced less stability problems with Android

8cH9azbsFifZ commented 4 years ago

What iOS version do you use? I have no problem here with iPhone 11, iOS 14.1.

grasnag commented 4 years ago

I was using iPhone Xr, iOS 13.7. I will update the IOS and check again.

grasnag commented 3 years ago

Tested with iPhone Xr, iOS 14.1, same issue. I will stick to android for now.

8cH9azbsFifZ commented 3 years ago

For testing: what Raspi do you use? (I will try to investigate this in detail)

8cH9azbsFifZ commented 3 years ago

Today I was able to reproduce the following behavior (after update to the latest moonboard app on my iPhone): when switching the routes too quickly the routes are received by the raspi, but the led driver stops working. Is this what you have observed?

grasnag commented 3 years ago

I am using rpi 3b+.

My iPhone just disconnects after about 5s. I can send one route to rpi in that time. When checking with bluetoothctl it totally disconnects the ble. Reconnect works fine and again one route is light and then rpi/iPhone disconnects.

8cH9azbsFifZ commented 3 years ago

I think the problem can also be the ble service implemented in the rpi. but at this time I have no time to investigate. I also experienced less stability problems with Android

This could be caused by the same problem referenced in #21 ...