NDT outside of Zephyr (specifically arduino)

Hi,

My ultimate goal is to add NDT [1] to a meshtastic [2] device implemented with RAK4631[3]. For this goal I can see the following obstacles:

- The meshtastic stack is arduino based.

- The nordic SDK is Zephyr dependent

- The NDT is not standalone, it requires the nordic SDK.

So at first glance, it seems that is not possible to do an integration. Luckily I have a sketch of a plan:

- Meshtastic uses softdevice (for nrf52 devices) [4]

- NDT can be accessed using RPC, which is OS-independent.  [5]

My conclusion is; the "only" missing link is the IPC [6] support from within the meshtatic stack. So NDT could be implemented by sending and receiving RPC packets.

Is this the only hurdle? Could I be missing something?

Regards,

Juan Andrés

[1] https://blog.nordicsemi.com/getconnected/using-the-nordic-distance-toolbox-to-measure-the-distance-between-short-range-radios

[2] https://meshtastic.org/

[3] https://store.rakwireless.com/products/rak4631-lpwan-node

[4] https://github.com/meshtastic/firmware/tree/master/src/platform/nrf52

[5] https://github.com/nrfconnect/sdk-nrf/tree/main/subsys/dm/rpc

[6] https://docs.zephyrproject.org/latest/services/ipc/ipc_service/ipc_service.html

Parents
  • Hi Juan

    I'm afraid there are more steps here, since you say Meshtastic use the SoftDevice, while the NDT was built with NCS features in mind I'm not so sure these will be 1-to-1 compatible. I have asked the NDT devs internally if they see this as a viable way to do NDT on an Arduino stack but I wouldn't have my hopes up. The NDT was specifically made for the nRF Connect SDK, and has not been planned to move outside of the Zephyr environment.

    Either way I'm afraid this is not something we will be able to support you in implementing, but I will get back to you regarding the feasibility of the project as a whole when I hear some thoughts on the matter from the developers. Thank you for taking interest in it. It does sound like an interesting project.

    Best regards,

    Simon

Reply
  • Hi Juan

    I'm afraid there are more steps here, since you say Meshtastic use the SoftDevice, while the NDT was built with NCS features in mind I'm not so sure these will be 1-to-1 compatible. I have asked the NDT devs internally if they see this as a viable way to do NDT on an Arduino stack but I wouldn't have my hopes up. The NDT was specifically made for the nRF Connect SDK, and has not been planned to move outside of the Zephyr environment.

    Either way I'm afraid this is not something we will be able to support you in implementing, but I will get back to you regarding the feasibility of the project as a whole when I hear some thoughts on the matter from the developers. Thank you for taking interest in it. It does sound like an interesting project.

    Best regards,

    Simon

Children
No Data
Related