Closed yapudjus closed 2 years ago
after a bit of searching, i found that the problem come from the line if(pRemoteCharacteristicNotify->canNotify())
still dunno how to fix it, tried replacing it with if(true)
to test the next line pRemoteCharacteristicNotify->registerForNotify(ESP_notify_callback);
and i still got an error, but this time it was
Core 1 register dump:
PC : 0x400d5404 PS : 0x00060730 A0 : 0x800d5461 A1 : 0x3ffcf980
A2 : 0x000000fc A3 : 0x00000024 A4 : 0x3ffccb4c A5 : 0x49bd7489
A6 : 0x00000000 A7 : 0x0000000a A8 : 0x400d15f0 A9 : 0x3ffcf960
A10 : 0x00000000 A11 : 0x400d15f0 A12 : 0x00000002 A13 : 0x0000ff00
A14 : 0x00ff0000 A15 : 0xff000000 SAR : 0x00000018 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000100 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff
ELF file SHA256: 0000000000000000
Backtrace: 0x400d5404:0x3ffcf980 0x400d545e:0x3ffcf9c0 0x400d2181:0x3ffcfa10 0x400d23f1:0x3ffcfa50 0x400d14df:0x3ffcfa70 0x400d844e:0x3ffcfaa0 0x4008ff66:0x3ffcfac0
still no clues at how to fix it
I looked into this before and found the problem was in the BLEDiscoverServices() code. Either way, it's in the ESP32 support and I can't see an easy way to work around it.
Sorry, but I had this on two ESP32 models. It used to work on an ESP 32...
@yapudjus did you ever find a way to get it working?
@bitbank2 is there a supported model on which it works?
Sorry, but I had this on two ESP32 models. It used to work on an ESP 32...
@yapudjus did you ever find a way to get it working?
@bitbank2 is there a supported model on which it works?
never made it work, I'll buy an esp8266 and try something else
I'm able to use the printer with the Arduino Nano 33 BLE and other nRF52 devices.
esp8266
An esp8266 doesn't have BLE though, so that's a pity.
Shame that esp32 crashes. I can't remember how I got it working earlier. It's really nice since it has wifi too. The telegram bot is the reason I wanted to use it. But I guess I'm better of with a cheap wired thermal printer and a esp32.
when trying to connect, it doesn't want to and give me this error