nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

Thread with nrf52840dongle without using the ot-ctl c

Hey,
I was trying to create a python application on a linux environment to send UDP messages over thread. Do I need to use the ot-ctl cli to send udp messages? I tried to communicate using netcat and this did not work. Opening a socket via the ot-ctl cli and sending the same message however worked perfect, but I prefer to not use this cli at all. If communicating over thread without the cli is possible, does any python example exist?

I currently have 2 linux devices with an nrf52840dongle inserted, running an OpenThread daemon. 

Parents
  • Hi

    We have no direct IP to thread functionality on our chips. So you have two alternatives.

    1. Use the serial interface to control the chip. This can be done either using ot-ctl or spinel for this.

    2. If you connect the thread network to the internet using a OpenThread Border Router. In this case, the devices can bet IPv6 addresses, which you can ping over the net.
    EDIT: This alternative is not as simple as it sounds, as it requires the router to allow the Border Router to use IP addresses for all of you Thread devices. See OpenThread on IPv6 addressing for the concepts of Thread Addressing.

    Does this answer your question?

    Regards,
    Sigurd Hellesvik

Reply
  • Hi

    We have no direct IP to thread functionality on our chips. So you have two alternatives.

    1. Use the serial interface to control the chip. This can be done either using ot-ctl or spinel for this.

    2. If you connect the thread network to the internet using a OpenThread Border Router. In this case, the devices can bet IPv6 addresses, which you can ping over the net.
    EDIT: This alternative is not as simple as it sounds, as it requires the router to allow the Border Router to use IP addresses for all of you Thread devices. See OpenThread on IPv6 addressing for the concepts of Thread Addressing.

    Does this answer your question?

    Regards,
    Sigurd Hellesvik

Children
Related