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

Related