This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Usage of CLI from BorderRouter to communicate to end device

we have BorderRouter- Raspberry pi flashed with nordic alpha 4.1.0.1 image + nrf52840 dongle in NCP design .

As an end device I have EFR32 MG12 WSTK flashed with OT-CLI-FTD code and connected to the BorderRouter as a child.

we have one more extra nrf52840 dongle too.

Want to communicate to EFR32 device from BorderRouter, EFR32 has a CLI and can be able to send some commands to BorderRouter and when it comes to BorderRouter end, got to know that the BorderRouter code from Nordic doesn't provide CLI.

If CLI image [<install folder>\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8.zip\examples\thread\cli\ftd\usb\hex] is flashed on another dongle and connected to RaspberryPi through USB port, does this support all Commands? Because from Openthread github code they are providing has CLI and used to communicate to other devices in a network.

If the CLI doesn't work with BorderRouter, then how can we send any commands to end device to perform specific operation? [To toggle LED/reading temperature sensor in EFR32 board].

With this image [BorderRouter- Raspberry pi flashed with nordic alpha 4.1.0.1 image + nrf52840 dongle in NCP design] formed thread network and could be able to join end device, but unable to send commands to end device. Let us know if there's any App/tool that we can use to send commands with my existing setup.

Thanks in advance.

Parents Reply
  • I wanted to go for UDP network Communication and I have installed Hercules App to send UDP packets.

    When we looked into the code the UDP functions mentioned here https://openthread.io/reference/group/api-udp-forward are present in main branch of GitHub only, but we could not find these functions on NCP design code (wpantund/master branch) which has support for Wpantund and Nordics BorderRouter is also using the same I guess[Since there's no support for Wpantund in main branch of ot-br-posix repo]. Need some confirmation on whether the BorderRouter code it can handle UDP functionality. 
    Can you please provide any information how to frame and send a packet through Hercules App.
    If there's any other simple option that I can use to frame and transfer packets please provide the info.!!
Children
Related