NimBLE examples taking away my sanity help
Posted: Thu Oct 31, 2024 11:27 pm
So, I'm running the NimBLE SPP server example from ESP-IDF. It has been quite a while since I began trying to make this work (more time than I would like to admit). I'm trying to get the write callback to show up but it doesn't seem to want to cooperate. The read callback works and even if I write to a custom characteristic, that is not the SPP one, it reads just fine. The problem seems to be exactly writing to the SPP characteristic in the SPP example. Yesterday, for some unknown reason, the callback write from the SPP custom characteristic activated once (and kept working until I unplugged the ESP32 or changed some of it's code, I can't really recall). I was at first trying to make it work with a Android app of mine (which had Bluetooth Classic up and running just fine), but then I just installed the nRF Connect app, to see if the problem was with my app. The nRF Connect app didn't work either, giving the same results. When
I write to the characteristic, it says the write was successful, but nothing in the ESP32 log.
Since I'm trying to make the example work, I won't post the custom code I was building for the ESP32.
I've read almost all the results for searching similar issues, nothing seems to relate to the behavior I'm experiencing. I think I may be doing something wrong or expecting the wrong results, I don't really know.
The SPP example I'm using: https://github.com/espressif/esp-idf/tr ... spp_server
Any help will be enormously appreciated, I have a project that I really need to continue after figuring this out.
I write to the characteristic, it says the write was successful, but nothing in the ESP32 log.
Since I'm trying to make the example work, I won't post the custom code I was building for the ESP32.
I've read almost all the results for searching similar issues, nothing seems to relate to the behavior I'm experiencing. I think I may be doing something wrong or expecting the wrong results, I don't really know.
The SPP example I'm using: https://github.com/espressif/esp-idf/tr ... spp_server
Any help will be enormously appreciated, I have a project that I really need to continue after figuring this out.