apache / nuttx

Apache NuttX is a mature, real-time embedded operating system (RTOS)
https://nuttx.apache.org/
Apache License 2.0
2.6k stars 1.11k forks source link

Adding OpenThread support for eventual Google Hub/Apple Home device integration... #8830

Open CartBlanche opened 1 year ago

CartBlanche commented 1 year ago

Is anyone looking at implementing OpenThread ( https://github.com/openthread/openthread ) in the nuttx system? As quite a few projects use nuttx for IoT devices, wondering if it would be a good idea for nuttx to support this networking/communication protocol?

Matter ( https://en.wikipedia.org/wiki/Matter_(standard) ) uses Thread for supposedly lower power and faster home device communication (is my understanding).

acassis commented 1 year ago

@CartBlanche I suggest you to ask it in the nuttx mailing list, there are more people that could see your request. Are you subscribed to the mailing list? Info here: https://nuttx.apache.org/community/

CartBlanche commented 1 year ago

@acassis I am not yet subscribed to that mailing list :)

xiaoxiang781216 commented 1 year ago

We are working Matter on NuttX, but it's in the early stage.

CartBlanche commented 1 year ago

That's great news @xiaoxiang781216 ! Is that a private repo or an open source one where others can contribute?

xiaoxiang781216 commented 1 year ago

Not yet, we have a running demo and plan upstream the porting to Matter, but may at the end of this year. The major issue:

  1. Enable NuttX CMake build(https://github.com/apache/nuttx/pull/6718) which is better to integrate with Matter
  2. Bluetooth stack integration we are using zephyr native stack, not nuttx bluetooth stack
acassis commented 1 year ago

@xiaoxiang781216 I think these are two important things to have on NuttX: CMake and improved BLE stack!

maxikrie commented 10 months ago

Is there any update on integrating OpenThread with nuttx? I have also posted on the mailing list, but I want to make sure this gets visibility here in case somebody is already working on this.. thanks!

xiaoxiang781216 commented 10 months ago

@zhhyu7 will upstream NuttX specific change to Matter community in the end of this quarter.

maxikrie commented 10 months ago

@xiaoxiang781216 Thanks for the update! For clarification, especially as I am not familiar with Matter: will the changes of @zhhyu7 include OpenThread support? I read that Matter is application layer and operates on OpenThread, but also WiFi or BlueTooth. I am specifically interested in OpenThread, and even more specific OpenThread on a nRF52840 SoC.

xiaoxiang781216 commented 10 months ago

The initial version just supports WiFi and BLE, Matter over OpenThread need additional work.