You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by Alexandru Motoi <al...@gmail.com> on 2023/03/17 14:44:39 UTC

Questions about ble/wifi

Hello!

I started working on a project for my university. The idea is to make a
smart home proxy using NuttX and ESP32-devkitc.

I tested the already available configs(wifi/ble/sta_softap/blewifi) to see
if they work and they seem fine using the stable release V10.3.0.
Using the latest version I got some problems:
https://github.com/apache/nuttx/issues/8767

I think it should be fine using the stable release since I have no idea
what is going wrong using master.

As for my questions:
I could not find a lot of information about the status of the bluetooth for
NuttX, only articles on running the available ble config to do a scan and
that is it. If there is an example or something on how to use the bluetooth
implementation available to connect and transmit to other devices?
Also is there any information/guide/tutorial on building an application for
NuttX, and if so, where could I find it?

Any help would be appreciated, thank you!

Re: Questions about ble/wifi

Posted by Alexandru Motoi <al...@gmail.com>.
Hi Alan,

Thank you for your answer!

I will look into nimBLE and try to adapt it to ESP32 and start from there.

BR,

Alex

În sâm., 18 mar. 2023 la 13:41, Alan C. Assis <ac...@gmail.com> a scris:

> Hi Alexandru,
>
> I tested here and the BLE for ESP32/C3 is indeed broken in the mainline!
>
> So I will investigate and fix it.
>
> Currently NuttX BLE stack is very limited, depending on what you want to
> do, it is better to use NuttX with nimBLE. There are board config examples
> for nRF52/SIM, they need to be adapted to ESP32.
>
> About your question how to write application for NuttX, there is no secret,
> it is POSIX, if you can write application for Linux, you can write for
> NuttX too. Also there are many samples at apps/ repository.
>
> BR,
>
> Alan
>
> On 3/17/23, Alexandru Motoi <al...@gmail.com> wrote:
> > Hello!
> >
> > I started working on a project for my university. The idea is to make a
> > smart home proxy using NuttX and ESP32-devkitc.
> >
> > I tested the already available configs(wifi/ble/sta_softap/blewifi) to
> see
> > if they work and they seem fine using the stable release V10.3.0.
> > Using the latest version I got some problems:
> > https://github.com/apache/nuttx/issues/8767
> >
> > I think it should be fine using the stable release since I have no idea
> > what is going wrong using master.
> >
> > As for my questions:
> > I could not find a lot of information about the status of the bluetooth
> for
> > NuttX, only articles on running the available ble config to do a scan and
> > that is it. If there is an example or something on how to use the
> bluetooth
> > implementation available to connect and transmit to other devices?
> > Also is there any information/guide/tutorial on building an application
> for
> > NuttX, and if so, where could I find it?
> >
> > Any help would be appreciated, thank you!
> >
>

Questions about ble/wifi

Posted by "Alan C. Assis" <ac...@gmail.com>.
Hi Alexandru,

I tested here and the BLE for ESP32/C3 is indeed broken in the mainline!

So I will investigate and fix it.

Currently NuttX BLE stack is very limited, depending on what you want to
do, it is better to use NuttX with nimBLE. There are board config examples
for nRF52/SIM, they need to be adapted to ESP32.

About your question how to write application for NuttX, there is no secret,
it is POSIX, if you can write application for Linux, you can write for
NuttX too. Also there are many samples at apps/ repository.

BR,

Alan

On 3/17/23, Alexandru Motoi <al...@gmail.com> wrote:
> Hello!
>
> I started working on a project for my university. The idea is to make a
> smart home proxy using NuttX and ESP32-devkitc.
>
> I tested the already available configs(wifi/ble/sta_softap/blewifi) to see
> if they work and they seem fine using the stable release V10.3.0.
> Using the latest version I got some problems:
> https://github.com/apache/nuttx/issues/8767
>
> I think it should be fine using the stable release since I have no idea
> what is going wrong using master.
>
> As for my questions:
> I could not find a lot of information about the status of the bluetooth
for
> NuttX, only articles on running the available ble config to do a scan and
> that is it. If there is an example or something on how to use the
bluetooth
> implementation available to connect and transmit to other devices?
> Also is there any information/guide/tutorial on building an application
for
> NuttX, and if so, where could I find it?
>
> Any help would be appreciated, thank you!
>