How to use the NimBLE spp example?

brahmajit
Posts: 24
Joined: Wed Sep 08, 2021 10:31 am

How to use the NimBLE spp example?

Postby brahmajit » Thu Mar 03, 2022 5:55 pm

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.

brahmajit
Posts: 24
Joined: Wed Sep 08, 2021 10:31 am

Re: How to use the NimBLE spp example?

Postby brahmajit » Fri Mar 04, 2022 7:26 am

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

dmenezes
Posts: 1
Joined: Sun Jan 26, 2025 1:30 pm

Re: How to use the NimBLE spp example?

Postby dmenezes » Sun Jan 26, 2025 1:39 pm

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!

Who is online

Users browsing this forum: Google [Bot] and 1 guest