-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Guru Meditation Error (LoadProhibited) while executing NimBLEClient::discoverAttributes() #821
Comments
Looks like you didn't check if the characteristic returned was nullptr and then called subscribe? |
OK, Thanks for the hint. I will investigate this thouroughly. I will let you know the result :-) |
OK, I stripped down the code now to:
This way I still get resets as follows: `ELF file SHA256: 0640369f7aa19f50 Rebooting... rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) Starting Arduino BLE Client application... D NimBLEClient: >> connect(00:1a:22:10:ac:c3) Found device D NimBLERemoteCharacteristic: Descriptor Discovery >> status: 10 handle: -1 Core 0 register dump: Backtrace: 0x400d360d:0x3ffcc6d0 0x400d8643:0x3ffcc710 0x400d9901:0x3ffcc730 0x400d5081:0x3ffcc770 0x400d4dd9:0x3ffcc7c0 0x400dc39f:0x3ffcc7f0 0x400db1b4:0x3ffcc820 0x400db1bf:0x3ffcc840 0x40081339:0x3ffcc860 0x400d2d94:0x3ffcc880` Obviously I am using discoverAttributes() wrongly?! |
I believe you need: If (client != nullptr){ |
Thanks for your proposal. But this did not make any difference. (With |
You are calling |
I thought that in the given example a proper connection is already ensured by checking connected (= client->connect(btadd, false)) right before the discovery leading to the "Found device" output?! ... Found device |
Hello (and merry christmas to everybody :-) ),
with the update of NimBLE-Arduino from 1.4.3 to 2.1.2 the executing of NimBLEClient::discoverAttributes() leads now to a Guru Meditation Error (LoadProhibited):
Any idea on the reason for this behavior?
Thanks a lot in advance!
gittehupe
The text was updated successfully, but these errors were encountered: