Hello, I did a simple sample code using CMake and NuttX as external library:
https://github.com/Phi-Innovations/nuttx-apps/tree/main/example-mqtt Hope it helps. I used MQTT-C for it, and I added the sources into my project (not into Nuttx). It would be nice to have the library integrated into NuttX too. Best regards, Flavio Em qui., 25 de mar. de 2021 às 19:11, Alan Carvalho de Assis <acas...@gmail.com> escreveu: > > I think it is better to put it at apps/netutils/mqttc > > On 3/25/21, Abdelatif Guettouche <abdelatif.guettou...@gmail.com> wrote: > > Espressif has already signed an SGA, licensing shouldn't be an issue. > > That said, I can submit it later if you guys want. > > One question: where do we put the library? > > A new "mqtt" folder? > > > > On Thu, Mar 25, 2021 at 10:59 PM Alan Carvalho de Assis > > <acas...@gmail.com> wrote: > >> > >> On 3/25/21, Matias N. <mat...@imap.cc> wrote: > >> > > >> > > >> > On Thu, Mar 25, 2021, at 15:21, Alan Carvalho de Assis wrote: > >> >> Hi Matias, > >> >> > >> >> On 3/25/21, Matias N. <mat...@imap.cc <mailto:matias%40imap.cc>> > >> >> wrote: > >> >> > > >> >> > > >> >> > On Thu, Mar 25, 2021, at 15:02, Abdelatif Guettouche wrote: > >> >> >> Someone was asking the other day on Linkedin, so I pushed this: > >> >> >> https://github.com/Ouss4/MQTTC_NuttX > >> >> > > >> >> > Great, thanks! I see the wrapper app is quite simple. Could we > >> >> > submit > >> >> > it > >> >> > to nuttx apps repo? > >> >> > > >> >> > >> >> Yes, please! > >> > > >> > The copyright header is from Espressif so I guess it would be best if > >> > someone at Espressif can submit it > >> > (not sure if it would require a SGA). > >> > > >> > >> It is not a code from IDF, it was Abdelatif whom added it :-) > >> > >> But you are right, maybe it is better if we submit it because there is > >> an Espressif copyright on it. > >> > >> BR, > >> > >> Alan > > -- Flavio de Castro Alves Filho flavio.al...@gmail.com Twitter: http://twitter.com/#!/fraviofii LinkedIn profile: www.linkedin.com/in/flaviocastroalves