Unfortunately, from what I remember, nimble only supports ble5?  I didn't think it supported bt4 (classic).  The app I'm writing has to support being a beacon using both.

So, the ble implementation in NuttX is all on someone's head and not documented anywhere?  Who wrote it?  How do you even know if it works aside from whatever simple stuff exists in btsak?  How is nimble even able to use this implementation (did someone write that layer for nimble)?

-m

On 9/1/2023 1:12 PM, Tiago Medicci Serrano wrote:
Hi!

There is no documentation available for that, but I can add some
information about BLE and Wi-Fi and, hopefully, you can try and submit an
example application for the NuttX community.

Well, the `esp32-devkitc:blewifi` already does the radio sharing with
Wi-Fi. As you've said, it builds only the `btsak` app to provide simple
usage of the BLE stack on ESP32. You can build the nimBLE port available on
`nuttx-apps` and try it with ESP32.

If I'm not mistaken, there were some users using nimBLE on NuttX (maybe you
can ask specifically about it).

Please share your findings and help us to improve documentation on NuttX ;)

Best regards,

Em sex., 1 de set. de 2023 às 12:00, Mike Moretti <nu...@mordent.com.invalid>
escreveu:

Hi,

I still have not heard back about this.  Is there any documentation for
developing with BLE on NuttX (with esp32)?  I can't find anything.  I
found a presentation that says it's based on Zephyr but the NuttX code
doesn't seem to have anything at all in it like what's in the Zephyr api
docs.  It almost looks like NuttX implemented the lower level bluez
driver ioctls?

Are there any examples apps for ble?  Especially ones that include both
bt4 and ble5?

Thanks,
-m


On 8/29/2023 8:14 AM, nu...@mordent.com.INVALID wrote:
Hi,

I'm developing a device using an ESP32 with NuttX that needs to
broadcast a beacon/advertise on both bt4 and ble5 (and also do radio
sharing with wifi).  I've done some work with ble 5 with ESP-IDF and
understand a little about bluetooth.  Unfortunately, I can't seem to
find any documentation or examples of bluetooth for NuttX except for
the very limited btsak shell command code that looks like it only
supports ble 5.  I was hoping I wouldn't have to try to reverse
engineer the various bluetooth layers in the guts of NuttX to figure
this out.  Does anyone have any examples or info on how to
configure/implement something like this?  It's required to support
both bt4 and ble5 at the same time, unfortunately (but luckily it's
only a beacon).

Thanks,
-m


Reply via email to