The behavior is incorrect when BT is disconnected after the smartphone goes to sleep.

Errors and crash analysis for GPS-Connector App
Fehlermeldungen und Abstürze zur GPS-Connector App
Antworten
matsubi
Beiträge: 7
Registriert: Mo 14. Okt 2024, 04:30

The behavior is incorrect when BT is disconnected after the smartphone goes to sleep.

Beitrag von matsubi »

When using BT Classic.
This is when the BT device is disconnected while the smartphone is in sleep mode. Even after the smartphone wakes up, this app continues to send the location information when the BT device was disconnected, even though it has not received NMEA.
I have confirmed that the same behavior occurs on multiple smartphones.
Mazuch
Administrator
Beiträge: 64
Registriert: Mi 11. Nov 2020, 17:54
Kontaktdaten:

Re: The behavior is incorrect when BT is disconnected after the smartphone goes to sleep.

Beitrag von Mazuch »

Even after the smartphone wakes up, this app continues to send the location information when the BT device was disconnected, even though it has not received NMEA.
I can't imagine that :o ... the mocking is fed by the NMEA data! No NMEA - no mocking.

How did you verify that (non existant) BT NMEA data is mocked?
Btw. just watching your Maps app is not enough, because Android switch to internal data if mocking is off.


Regards,
Markus
There is no code so big, twisted, or complex that maintenance can't make it worse. (Gerald M. Weinberg)
matsubi
Beiträge: 7
Registriert: Mo 14. Okt 2024, 04:30

Re: The behavior is incorrect when BT is disconnected after the smartphone goes to sleep.

Beitrag von matsubi »

Thank you for your reply.
First, the Satellites and GNSS Status tabs in the GPS Connector app remain in a positioning state (the Terminal tab is blank).
Next, I opened a map app and confirmed that the current location remains fixed and does not move even when I move around.
Dateianhänge
2784.jpg
2784.jpg (47.22 KiB) 2283 mal betrachtet
27a82.jpg
27a82.jpg (36.47 KiB) 2283 mal betrachtet
2781.jpg
2781.jpg (34.27 KiB) 2283 mal betrachtet
Mazuch
Administrator
Beiträge: 64
Registriert: Mi 11. Nov 2020, 17:54
Kontaktdaten:

Re: The behavior is incorrect when BT is disconnected after the smartphone goes to sleep.

Beitrag von Mazuch »

Hi matsubi,

OK - now i understand!
You did not exit the app, so the last valid location is mocked.
That's indeed the implemented behaviour. Just exit the app, if you want to stop mocking.

Btw. just "swiping" the app out of the opened app list does not really exit.
The app still runs in background - so you have to exit by menu. (tap left top icon => Exit app)
There is no code so big, twisted, or complex that maintenance can't make it worse. (Gerald M. Weinberg)
matsubi
Beiträge: 7
Registriert: Mo 14. Okt 2024, 04:30

Re: The behavior is incorrect when BT is disconnected after the smartphone goes to sleep.

Beitrag von matsubi »

Thank you. I understand that if communication with the GPS device is lost without killing the task, it is normal for the last location information to continue to be sent.
Antworten