wildlifeai / wildlife-watcher-mobile-app

Mobile app to communicate with the Wildlife Watchers
MIT License
3 stars 1 forks source link

Scanning problems #35

Closed Burzo closed 3 months ago

Burzo commented 3 months ago

As reported by @acutetech

I have installed 0.1.2

Advertising devices are now found quickly.

The substantive issue for me remains unchanged: the WW130 connects then disconnects almost immediately. Please advise if this is intended or not.

I have two WW130 devices and have tried them both. Once they have each been discovered, both BLE names are shown under the Scan button, even when both are powered off.

I see the rotating circle icon appear before the "Scan" text, for about 2s, then it vanishes for about 4s, then this cycle repeats.

I then click on one device name and the rotating circle appears by that name for a few seconds. After that the rotating circle does not appear before the Scan text, until I logoff and then go back in again.

I see that if I click on both names then there is a rotating circle by by names, as though the device is trying to connect to both.

There does not seem to be an "Exit"control. I can logout, but when I enter the app again I still see the same two device names. In contrast, if I go into the app list I can force a stop. Then when I re-enter the app I see the "No devices found." message.

I would expect this:

1 At start, no devices appear. 2 User presses Scan button and rotating circle icon appears to indicate scanning is under way. Text changes from "Scan" to "Scanning". Maybe a colour change. 3 Scanning should happen for a reasonable time - maybe 10s? Then the rotating circle should stop and the text returns to "Scan". 4 Only advertising devices should be shown in the list. 5 If the user clicks on a device name the app should attempt to connect. Maybe the text could change to "Connecting". 6 While attempting to connect to one device, it should not be possible to attempt to connect to a second device.

Burzo commented 3 months ago

Should be solved in v0.2.2.