GNSS commander does not remember the USB device

Allgemeine Diskussionen zum GNSS Commander
Antworten
Leopoll
Beiträge: 4
Registriert: 03.07.2018, 21:51

GNSS commander does not remember the USB device

Beitrag von Leopoll » 03.07.2018, 22:11

I have a problem.
After loading, I open the GNSS commander, the window "Allow the GNSS application to access the USB device" is appear. I put a check "use by default for this USB device" and click yes. gps not works. Then I press the play button, the same window appears again. Again click yes. The gps now works. But after rebooting the device everything repeats in the same order.
What is the problem?
If I cant fix it, then maybe I can do all of this through a batch script?

PilaBlu
Site Admin
Beiträge: 94
Registriert: 21.08.2017, 16:28
Wohnort: Stuttgart
Kontaktdaten:

Re: GNSS commander does not remember the USB device

Beitrag von PilaBlu » 04.07.2018, 08:16

Hi Leopoll,

what type of USB vendor are you using in GNSS-Commander? (FTDI,UBlox,etc.)
And - what's your Android version?

Regards,
Markus
C macht es einfach, sich selbst ins Bein zu schießen; C++ erschwert es, aber wenn es Dir gelingt, bläst es Dir das ganze Bein weg! [Bjarne Stroustrup]

Leopoll
Beiträge: 4
Registriert: 03.07.2018, 21:51

Re: GNSS commander does not remember the USB device

Beitrag von Leopoll » 04.07.2018, 14:36

Thanks for the answer.
Gps GN-801 UART, this one https://ru.aliexpress.com/item/UAV-Ublo ... 33edX35YoG
Сonnected via USB UART converter.
u-centr identifies it like u-blox m8/8, but GC only like Generic usb.
Android 7.1.2, but Android 4 have the same problem.

PilaBlu
Site Admin
Beiträge: 94
Registriert: 21.08.2017, 16:28
Wohnort: Stuttgart
Kontaktdaten:

Re: GNSS commander does not remember the USB device

Beitrag von PilaBlu » 04.07.2018, 17:50

Hi,
but GC only like Generic usb
That's the problem! Android only "remembers" USB vendors which are known by the app.
So it's impossible to remember the settings for generic because there is no known vendor. :(
Why can't you connect using UBlox USB vendor?

Please send me a log-file to check what USB vendor is recognized.
+ Goto: settings - bugfixing and switch on "log to trace file"
+ select "generic" in the GPS input settings
+ go back to the main screen
+ connect your device ... wait 5 seconds
+ disconnect and connect again
+ go again to the bugfixing settings-page and send the logfile to "gnss@pilablu.de"

Markus
C macht es einfach, sich selbst ins Bein zu schießen; C++ erschwert es, aber wenn es Dir gelingt, bläst es Dir das ganze Bein weg! [Bjarne Stroustrup]

Leopoll
Beiträge: 4
Registriert: 03.07.2018, 21:51

Re: GNSS commander does not remember the USB device

Beitrag von Leopoll » 04.07.2018, 19:26

Just sent. Thanks a lot.

PilaBlu
Site Admin
Beiträge: 94
Registriert: 21.08.2017, 16:28
Wohnort: Stuttgart
Kontaktdaten:

Re: GNSS commander does not remember the USB device

Beitrag von PilaBlu » 06.07.2018, 10:11

Hi Leopoll,

looks like your device has an invalid vendor id. :(
In the trace i see the message "USB device: v=0xFFFF p=0x12"
So the vendor-ID is set to 0xFFFF (unknown) and the product-id is 0x12.

I'm pretty sure you have any chinese copy and not an original device.
Otherwise you would see the correct vendor-ID, like 0x1546 for U-Blox.

Sorry - but you can't use the USB recognition feature of Android with your vendor-ID. :|

Regards,
Markus
C macht es einfach, sich selbst ins Bein zu schießen; C++ erschwert es, aber wenn es Dir gelingt, bläst es Dir das ganze Bein weg! [Bjarne Stroustrup]

Leopoll
Beiträge: 4
Registriert: 03.07.2018, 21:51

Re: GNSS commander does not remember the USB device

Beitrag von Leopoll » 06.07.2018, 16:22

Thanks a lot.
Oh, I anderstend. Its not a GPS vendor, its vendor of UART USB converter.

PilaBlu
Site Admin
Beiträge: 94
Registriert: 21.08.2017, 16:28
Wohnort: Stuttgart
Kontaktdaten:

Re: GNSS commander does not remember the USB device

Beitrag von PilaBlu » 06.07.2018, 20:59

Its not a GPS vendor, its vendor of UART USB converter.
Exactly! :)
C macht es einfach, sich selbst ins Bein zu schießen; C++ erschwert es, aber wenn es Dir gelingt, bläst es Dir das ganze Bein weg! [Bjarne Stroustrup]

Antworten