Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hud show ok but no navigation #7

Open
gary52 opened this issue Jan 8, 2019 · 33 comments
Open

Hud show ok but no navigation #7

gary52 opened this issue Jan 8, 2019 · 33 comments

Comments

@gary52
Copy link

gary52 commented Jan 8, 2019

Hello I just got my garminHUD to try with this. 2 issues i have so far. 1. In 0.1.5 release, nothing happen or show the bluetooth device menu when i hit "scan bluetooth".
2. I rolled back to 0.1.4. This time i got the garminHUD to pair. However it stuck showing OK, but nothing else after i started a navigation with my google maps. (The app is showing its reading notification from google map)
I have read the issues post before, it looks like it was something to do with language. I am in the US, so not sure if there's issue with the US english Google maps.

@skyforcetw
Copy link
Owner

Hi, which version do you use ? 0.1.5 or 0.1.5a?
0.1.5 had some bluetooth issue, cannot link to garmin hud.

@gary52
Copy link
Author

gary52 commented Jan 10, 2019

Will give 0.1.5a a try. Side note, i found build 542 version worked for me, tho the app build say its 0.1.0.

@skyforcetw
Copy link
Owner

Will give 0.1.5a a try. Side note, i found build 542 version worked for me, tho the app build say its 0.1.0.

It should be my mistake, I forget to push Garminuino/GoogleMaps_HUD/app/version.properties to github. This file records the build number & version.
Than I build app in two place, information is not sync.

@gary52
Copy link
Author

gary52 commented Jan 11, 2019

Confirmed 0.1.5a works. Although I don't think the bluetooth auto reconnect is working. Still need to go into the app, click scan and click to connect to the hud.

@Niklas04
Copy link
Contributor

Hi,

Autoconnect-feature have been temporary disabled with version 0.1.5a cause it leads the app to crash

@skyforcetw
Copy link
Owner

Auto-connect function maybe not workable cause of Android-BluetoothSPPLibrary had some issue with auto-connect: akexorcist/BluetoothSPPLibrary#14

@Niklas04
Copy link
Contributor

Niklas04 commented Feb 5, 2019

Don't really understand what the problem is.
Maybe you can explain it a little bit?

I am using autoconnect all time and it seems generally to work.

I think the Bluetooth library is sometimes a little bit buggy. Sometimes it need more times to connect (with autoconnect disabled).

@doctorkrypto
Copy link

I've just downloaded the signed apk and am having this issue. Is there a known workaround that is not discussed above. Totally love the idea of the project and do hope to get it working.

@skyforcetw
Copy link
Owner

I've just downloaded the signed apk and am having this issue. Is there a known workaround that is not discussed above. Totally love the idea of the project and do hope to get it working.

Could you screenshot the 2 tabs of app: SETUP and DEBUG .

@skyforcetw skyforcetw reopened this Mar 29, 2019
@doctorkrypto
Copy link

doctorkrypto commented Mar 29, 2019 via email

@Niklas04
Copy link
Contributor

@doctorkrypto What language are you using?
One of the supported languages? (English, Chinese, Korean, German)

@doctorkrypto
Copy link

doctorkrypto commented Mar 29, 2019 via email

@doctorkrypto
Copy link

Hey guys,

Please find the screenshots attached.

Noel.

Screenshot_20190330-112259_GoogleMaps HUD

Screenshot_20190330-112242_GoogleMaps HUD

@skyforcetw
Copy link
Owner

skyforcetw commented Apr 3, 2019

Hey guys,

Please find the screenshots attached.

Noel.

It's seems no problem with these screenshots.
What the android version do you use?

Can you screenshot the google map's notification like this:
image

@doctorkrypto
Copy link

Hey skyforcetw,

Yes, I can see the green google maps notifications bar. Google 'Maps' has all Notifications allowed in 'Settings > Apps' and all Notifications allowed in 'More settings in app' (at the bottom of the 'Settings > Apps screen). Additionally your app 'GoogleMaps HUD' has all permissions and notifications allowed.

My phone is running android version 8.0.0

Thanks,

N.

@skyforcetw
Copy link
Owner

189601

Hi, could you try to press the debug button? (scroll to the bottom of the debug tab)

There are two main part of the app.
Part 1: Parse notification.
Part 2: Send to Garmin HUD.

These buttons can test the Part 2.
If you can see any arrow on Garmin HUD when pressing.
,there should have some mistake in Part 1.

Please try and help us to clarify the problem. Thanks.

@doctorkrypto
Copy link

doctorkrypto commented Apr 8, 2019 via email

@doctorkrypto
Copy link

doctorkrypto commented Apr 9, 2019 via email

@skyforcetw
Copy link
Owner

app-debug.zip

I build a simple app that can connect to garmin hud, and show a arrow.
We can clarify connection problem by this app.

Please connect to garmin hud, and press the button "send".
If everything ok, it should be show "success".
If failed, will show a error-code.

197258
197260

@doctorkrypto
Copy link

doctorkrypto commented Apr 14, 2019 via email

@skyforcetw
Copy link
Owner

Ok, it not a good news...
The blue-tooth library the app use which maybe not compatible with samsung S7.

@doctorkrypto
Copy link

doctorkrypto commented Apr 16, 2019 via email

@skyforcetw
Copy link
Owner

app-debug.zip

I apply another bt library for testing: https://github.com/skyforcetw/Blue2Serial
If it works, it should be a bt library problem.
If not, needs some working on it.......

step1 press "Connect" , connect to garmin hud.
step2 press button, it will send "100 meter" to garmin hud.
1555412407585

@wypiki
Copy link

wypiki commented Apr 25, 2019

I also have the problem that the connection and speed display is working fine, but Google Maps navigation notification is not captured. (Gmap's notification is disabled)
Google Maps is listed in the debug screen, the language is german.

@skyforcetw
Copy link
Owner

I also have the problem that the connection and speed display is working fine, but Google Maps navigation notification is not captured. (Gmap's notification is disabled)
Google Maps is listed in the debug screen, the language is german.

What is the android version you use?

@wypiki
Copy link

wypiki commented Apr 25, 2019 via email

@doctorkrypto
Copy link

doctorkrypto commented Apr 29, 2019 via email

@doctorkrypto
Copy link

garmin_log

@skyforcetw
Copy link
Owner

skyforcetw commented Apr 30, 2019

https://gist.github.com/gabonator/7150910/ Could it be a firmware issue? Or is there a difference between the HUD and HUD+ api?

Hi, I have HUD & HUD+, all can work with this app.
Maybe HUD+ had two different firmware, but how does official app to recognize it?
It's need some sniffer on it.

I tried to download the api docs from the garmin website but they have all been removed or are corrupted. Can you post them if you have a copy?

No. I don't see anything about protocol of garmin hud from official before.
The only resource is https://github.com/gabonator/Work-in-progress/tree/master/GarminHud .

@doctorkrypto
Copy link

doctorkrypto commented Apr 30, 2019 via email

@skyforcetw
Copy link
Owner

Would you mind checking if you get the same responses from the hud (as I
posted yesterday)?

OK, could you give the .exe file or visual studio project?

@skyforcetw
Copy link
Owner

skyforcetw commented Apr 30, 2019

Would you mind checking if you get the same responses from the hud (as I posted yesterday)?

I guess the gist result is same as the garminuino app.
Because the library we use and the gist you mentioned , all author are same one: gabonator

https://github.com/gabonator/Work-in-progress/tree/master/GarminHud
https://gist.github.com/gabonator/7150910/

Could you test the official app:
https://play.google.com/store/apps/details?id=com.garmin.hud.indonesia&hl=en_US&rdid=com.garmin.hud.indonesia

@doctorkrypto
Copy link

bluetooth_hud.zip

Visual Studio 2019 project attached

I guess what I meant previously is that there seems to be a lot of documentation on what to send to the HUD, but nothing on what the HUD sends back. Maybe in my case it is trying to communicate some sort of an error. What's why I was wonder what does yours send back in response to sending it commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants