komoot-navi
komoot-navi copied to clipboard
Problems connecting to the app even though the service gets detected
I am trying to install this project on my TTGO Lora32 V2 and my device seems to detect the BLE service (It displays the service uuid in the attached log file line 48, tries to connect in line 57) but always fails to connect to it without giving an error I tried using the BLE ESP32 Arduino library downloaded from both from pio in lib _deps and the version disccussed here https://github.com/palto42/komoot-navi/issues/2 that is this repo: https://github.com/palto42/ESP32_BLE_Arduino.git#testing. Does anybody have an idea what might be happening?
PS
I couldn't get the Serial.print to show up but logs worked fine so I am submitting a PR with Serial.println replaced with ESP_LOG which makes it a bit more readable
Hi @adam2809 , thanks for your interest in my app. I haven't worked on it since 2 years anymore since it worked for me and I finally rarely used it. I have re-compiled it with latest VScode, PlatformIO and libraries and confirm that I see the same issues on a device which worked with old build. So it's most likely not a hardware issue but something changed on the libraries or ESP platform.
Not sure if I will have time for troubleshooting in the near future, but happy to try and suggestions or PR from you.
I tested your PR in new branch esp_log
and looks good.
I'll give it a look but also I'm considering rewriting this in esp-idf since it tends to be more reliable in my experience. Also would you mind adding a hacktoberfest-accepted label on my PR? I'm looking to get a free t-shirt : )