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

OpenThread: RaspPi_OT_Border_Router_Demo_v4.1.0-1.alpha, BorderRouter image support for Command line interface(CLI) and diagnostic commands

Hi all, 

I have RaspPi_OT_Border_Router_Demo_v4.1.0-1.alpha image for BorderRouter and need to work with Command lines in Command line Interface(CLI) and with diag commands.

Let us know whether the above mentioned image supports CLI and diag commands.

Need help on how to open CLI if there is any, if not, how can I have Command line Interface.

  • Hello,

    I am not sure I understand what you are asking. Where do you intend to run the CLI commands? From the openthread border router, or to the openthread border router? And either way, why?

     

    Need help on how to open CLI if there is any, if not, how can I have Command line Interface.

     Have you tried the CLI example from our SDK on an nrf52840?

    BR,

    Edvin

  • Thanks for the reply Edvin,

    I'm using Raspberry pi with nrf52840 dongle in NCP design as BorderRouter [used Nordics Alpha 4.1.0.1 image to flash the Raspberry PI] for Thread network and using EFR32 WSTK from SI labs as end device and made the commissioning successfully.

    I want to demo some working example to ensure that the Thread network is established successfully, up and running. so I thought I can send some commands using CLI from BorderRouter to End device to blink LED. 

    Even I'm not sure that this works but giving a try. If you have any other idea to demo this project, I would be pleased to hear that. 

    Thank you. 

  • Hello,

    The NCP doesn't accept CLI commands, but you can use pyspinel. It has most of the same commands as the CLI. You can check if you can use that. If not, you need to use a different DK/dongle running the CLI example from the SDK. You can probably run it from the same Raspberry pi, but the NCP doesn't run CLI commands exactly like the CLI example does.

    Best regards,

    Edvin

  • I tried installing PySpinel in Raspberry Pi but I'm struck at second step that is installing Pyspinel when I tried 

     sudo python3 setup.py install

    Python3: can't open file 'setup.py':[Errno 2] No such file or directory

    I'm getting above error and need help on this. Tried installing in the Python3 folder from root also but couldn't make it happen

    Also I have only one Nordic dongle connected to Raspberry Pi for BorderRouter and need to add EFR32 as child through commissioning. For Commissioning I need Master Key and stuff from BorderRouter. For that information I need CLI which is not supported by Nordic image that I used to flash for BorderRouter.

    Need to know the possible ways of Commissioning

  • Hello,

    Support for PySpinel isn't really handled by us, since we didn't make it, but it looks like you are calling the command "sudo python3 setup.py install" from a folder that doesn't have the "setup.py" file. Try navigating to that folder first. You can use "cd <folder_name>" to change folders.

    BR,

    Edvin

Related