This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SMARTRFTM-STUDIO: Command line version of SmartRF studio

Part Number: SMARTRFTM-STUDIO
Other Parts Discussed in Thread: CC1310, CC1121

Hi,

    I want to know how to control SmartRF studio with Windows command line stream.So that I can config CC1310 with one .bat file.

   To be more clear, for example, I want to set CC1310 as TX and set the frequency as 868Mhz. This operation on PC contains some steps, and I want to repeat it again and again. So why not make a .bat file, and whenever I want to do this operation just open the .bat file.

   Hopefully, you have any idea about Windows command line stream. 

   Thanks for your kindly help.

Br,

Haojie

  • Hi Haojie,

    Refer to the included documentation in SmartRF Studio (the help menu).

    Cheers,
    Fredrik
  • Hi Haojie,

    Unfortunately there is no Command line interface for SmartRF Studio directly. But, there is a SW library that will give you the same functionality. The Radio Test Library (RTLib). The library is included with SmartRF Studio and you will find code examples that covers the use cases you have described. The code examples included are prebuilt and can be executed from the command line interface as is. Under the tools icon on the startup window (upper right corner) you will find an option to install the library. The installation includes both documentation and code examples. I believe the example you mentioned for CC1310 can be achieved with the prebuilt version of the code examples.

    Regards,
    Øyvind 

  • Hi Øyvind,

    Thanks a lot! I've found the exact code. I'll make a little change to the code and achieve what I want.

    Best regards!
    Haojie
  • Hi Fredrik,

    Thanks for your help.
    I've found the PERL version of SmartRF Studio in help menu. But it can only control CC1121 which is a transceiver. It is quite different from CC1310 so I give up on the PERL script.

    Best regards,
    Haojie