Page 1 of 1

How to use the NimBLE spp example?

Posted: Thu Mar 03, 2022 5:55 pm
by brahmajit
Does anyone know how to use the NimBLE spp example? I flashed the code to my device then what? How do I read the data being sent to the device, I can connect to the device using my phone. Can someone help. I can't even find any relevant documentation. I just want to send data from my phone to ESP.

Re: How to use the NimBLE spp example?

Posted: Fri Mar 04, 2022 7:26 am
by brahmajit
Rahul from ESP reached out and pointed out that I can use the fields of ble_gatt_access_ctxt and the buffer om present inside this structure. So, now I'm able to read the data being sent to my ESP device.

Issue #8492 https://github.com/espressif/esp-idf/issues/8492

Re: How to use the NimBLE spp example?

Posted: Sun Jan 26, 2025 1:39 pm
by dmenezes
Hi @brahmajit! I'm also trying to get Android (or a Windows or Linux client, or actually anything :) ) to interact with my ESP32-S3 using the nimble SPP example (esp-idf/examples/bluetooth/nimble/ble_spp/spp_server). If you can, I would like to ask a couple of questions:

1) What Android app did you use to make the connection?
2) Do you know of any other way to connect to the ESP32-S3 using that example (eg, some linux or windows program)?
3) Can you please give us an update on your progress on this?

TIA!