Convenient debugging of Zigbee networks based on Simplicity Studio's CLI

I believe that many engineers who have developed and designed have contacted Silicon Labs (also known as Silicon Technology) IT solutions, including Sensor, MCU, Wireless products, the use of the most basic Simplicity StudioTM development tools can be easily mastered, such as how Obtain the data sheet of the chip, the manual of the chip, the configuration of the chip parameters, the generation of related sample code, and the power analysis.

In order to make better use of the development tool Simplicity Studio to facilitate the development of the program, we know that many products have APIs, how to use specific APIs, this article is mainly for solutions with firmware, such as Zigbee, MCU, Thread, BLE, WIFI, etc. Product, the use of CLI in Simplicity Studio, it should be noted that in the hardware design, you need to reserve relevant interfaces (such as Zigbee hardware interface, you can refer to another article: Zigbee schematic based on EFR32MG series wireless SoC Design Guide. This interface is reserved for the relevant development boards of Silicon Labs. After plugging in, the following operations can be performed.
Convenient debugging of Zigbee networks based on Simplicity Studio's CLI

1. Enter the CLI command window

Plug in the development board, wait for the studio to display the name of the development board, right click, select lauch console, select serial port 1, enter the CLI command window.

2. CLI command type

Use the CLI command to send various commands, including commands such as ZCL/ZDO. Enter help at the console to query all CLI commands. In the installation directory of the protocol stack, there are documents describing all CLI commands.

C:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v1.0/protocol

/zigbee_5.9/documentation/120-3023-000_AF_V2_API/index.html

3. Actual use case

· Establish a network:

Network form [channel:1] [power:1] [panId:2]

Create a network on the given channel, power and panId.

Channel - INT8U - The channel on which to form the network

Power - INT8S - One byte signed value indicating the TX power that theradio should be set to

panId - INT16U -Two byte pan id for the network

· Allow access to the network:

Network pjoin[time:1]

· Join the network:

Network join [channel:1] [power:1] [panId:2]

· Send the on/off command:

Zcl on-off on

Send 0x1234 1 1

Where 0x1234 is the nodeID of the node.

The above is the method of entering the CLI command, the role of the CLI command and the source. When developing the design, engineers can easily debug the Zigbee network using the CLI.

1200 Puffs

1200 Puffs Vape Pen,Pen Style Atomizer,Pen Atomizer,Vape Pen Atomizer

Shenzhen Xcool Vapor Technology Co.,Ltd , http://www.xcoolvapor.com

Posted on