Device gets disconnected when navigated to next screen and connects again when back on the screen, Is there any solution to keep it conected always? I am trying to connect my app with HC 05 Adapter, and I am successfully able to connect the adapter. But the issue is that in app I check the availability in one screen and connect to device and receive data. till here everything is ok but when I navigate to other screen the device disconnects and when I come back on connection screen the device reconnects after checking availability. Is there any solution to keep it connected even when changed the screen.
Asked
Active
Viewed 57 times
0
-
Please [edit] your question to add a minimal, reproducible sample so we can better understand what is going on. – TarHalda Mar 18 '23 at 12:05