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

Bluetooth isn´t working - Enable Controller failed #12

Open
chbardel opened this issue Apr 24, 2019 · 5 comments
Open

Bluetooth isn´t working - Enable Controller failed #12

chbardel opened this issue Apr 24, 2019 · 5 comments

Comments

@chbardel
Copy link

I get the following debug messages through serial monitor:
I (2092) gpio: GPIO[27]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 1| Intr:1
I (4092) BTDM_INIT: BT controller compile version [484c057]
I (4092) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
E (4092) HeartyPatch: heartypatch_ble_Init enable controller failed

I wasn´t able to find it via bluetooth on my S9+ with the heartypatch, EliteHRV and various scanner apps. So i decided to reflash the newest firmware. But still I get the above mentioned error messages. Please help!

@shashi100
Copy link

Where you able to resolve this issue? I have the same problem.

@chbardel
Copy link
Author

Na sadly not. Currently it remains useless and lies around in my apartement :/

@styck
Copy link

styck commented Oct 3, 2019

I was able to use "make menuconfig" and turn on some debugging then it got around this error. Seems like a problem in the ESP32, I didn't see anything wrong with the heartypatch code, will investigate more this weekend. Could be a hard problem if it works turning on debug and doesn't work when it is off. I'd look for a timing issue then.

@styck
Copy link

styck commented Oct 4, 2019

I got Bluetooth working, don't think it was code changes but more the changes in the sdkconfig file, I turned off the debugging. Attached image shows the EliteHRV app and my calibrator showing 100bpm.

My fork has the updated code and configurations: https://github.com/styck/protocentral_heartypatch

HeartyPatchBlueTooth

@chbardel
Copy link
Author

Thanks for the code and your efforts I will try it out as soon as I have time!

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

3 participants