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

Problems connecting to the app even though the service gets detected #8

Open
adam2809 opened this issue Oct 4, 2021 · 2 comments
Open
Labels
bug Something isn't working

Comments

@adam2809
Copy link
Contributor

adam2809 commented Oct 4, 2021

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 #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

failed_connection_attempt.log

@palto42
Copy link
Owner

palto42 commented Oct 5, 2021

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.

@palto42 palto42 added the bug Something isn't working label Oct 5, 2021
@adam2809
Copy link
Contributor Author

adam2809 commented Oct 5, 2021

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 : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants