Socket echo server sample with border router

Hello !

I have taken echo server sample

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/net/sockets/echo_server/README.html#sockets-echo-server-sample

and it work well with USB-NET connectivity

west build --pristine --board nrf5340dk_nrf5340_cpuapp – -DOVERLAY_CONFIG=overlay-netusb.conf

ping and echos are returned as expected

I have got impression that server sample can be part of mesh and border router might  be activated

by using OpenThread and/or IPSP  overlays

west build --pristine --board nrf5340dk_nrf5340_cpuapp – -DOVERLAY_CONFIG=”overlay-ot.conf;overlay-netusb.conf”

or

west build --pristine --board nrf5340dk_nrf5340_cpuapp – -DOVERLAY_CONFIG=”overlay-bt.conf;overlay-netusb.conf”

Image build is OK, but looks like extra configuration need. No ping and echo any more.

Pictures from netterminal

Does this kind of configuration with Border Router exist in samples ?

I have some Hosts what would like to communicate via nRF53 what is used as modem like device ( IPV6 like).

Really I need good start point for environment where I can use own radio via HCI_rpmg on network core.

Regards,

Eugene

  • HI Maria !

    Looks like Zephyr and NCS dosn't provide any more generic Border router what can run on device.

    Even routing capabilities is hidden in zephyr's IP stack.

    All of your network drivers running on the network core but controlled via IPC from application core.

    I call it as serialized network driver.

    Now I looking good sample for this kind of driver because I need to write own one in similar way.

    Regards,

    Eugene

  • Hello,

    Hiihtaja said:
    All of your network drivers running on the network core but controlled via IPC from application core.

    The drivers are not controlled via IPC but the communication between the cores is done using the RPMsg messaging protocol which is based on the OpenAMP. You can learn more about the RPMsg protocol from this documentation: https://github.com/OpenAMP/open-amp/wiki/RPMsg-Messaging-Protocol

    Hiihtaja said:
    Now I looking good sample for this kind of driver because I need to write own one in similar way.

    To enable and use communication between the cores, for Bluetooth LE you use HCI RPMsg  (documentation, code) or for Bluetooth LE and 802.15.4 radio you use Multiprotocol RPMsg (documentation, code).

    The network driver you write can use RPMsg i a similar manner to enable communication between the cores.

    Best Regards,
    Maria

Related