heartypatch
heartypatch copied to clipboard
Bluetooth isn´t working - Enable Controller failed
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!
Where you able to resolve this issue? I have the same problem.
Na sadly not. Currently it remains useless and lies around in my apartement :/
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.
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
Thanks for the code and your efforts I will try it out as soon as I have time!