Modules#
ZigBee Device Object Commands (ZDO)
Cluster Commands: BACnet Protocol Tunnel
Cluster Commands: Barrier Control
Cluster Commands: Color Control
Cluster Commands: Configuration Cluster
Cluster Commands: Demand Response and Load Control
Cluster Commands: Device Management
Cluster Commands: Generic Tunnel
Cluster Commands: Level Control
Cluster Commands: MFGLIB Cluster
Cluster Commands: Poll Control
Cluster Commands: Power Profile
Cluster Commands: SL Works With All Hubs
Cluster Commands: Simple Metering
Cluster Commands: Window Covering
Plugin Commands for Bulb Pwm Driver
Plugin Commands: APS Link Key Authorization
Plugin Commands: Address Table
Plugin Commands: Barrier Control Server Cluster
Plugin Commands: Button Joining
Plugin Commands: CLI password protection
Plugin Commands: Calendar Client
Plugin Commands: Calendar Common
Plugin Commands: Calendar Server
Plugin Commands: Command Relay
Plugin Commands: Comms Hub Function
Plugin Commands: Comms Hub Function (SubGhz)
Plugin Commands: Compact Logger
Plugin Commands: Connection Manager
critical-message-queue Plugin Commands: Critical Message Queue
Plugin Commands: DMP Tuning and Testing
Plugin Commands: Demand Response and Load Control
Plugin Commands: Demand Response and Load Control Server
Plugin Commands: Device Database
Plugin Commands: Device Management Client
Plugin Commands: Device Management Server
Plugin Commands: Device Query Service
Plugin Commands: Door Lock Server Cluster
Plugin Commands: EZ-Mode Commissioning
Plugin Commands: Electrical Measurement Server commands
Plugin Commands: End Device Support
Plugin Commands: Events Server
Plugin Commands: Find and Bind Initiator
Plugin Commands: Find and Bind Target
Plugin Commands: Fragmentation
Plugin Commands: GBCS Device Log
Plugin Commands: GBCS Gas Meter
Plugin Commands: Gas Proxy Function
Plugin Commands: Green Power Client
Plugin Commands: Green Power Server
Plugin Commands: Green Power Test Device
Plugin Commands: Green Power Translation Table
Plugin Commands: Groups Server
Plugin Commands: IAS Zone Client
Plugin Commands: IAS Zone Server
Plugin Commands: Illuminance Measurement Server commands
Plugin Commands: Key Establishment
Plugin Commands: Mac address filtering
Plugin Commands: Manufacturing Library
Plugin Commands: Manufacturing Library CLI
Plugin Commands: Messaging Client
Plugin Commands: Messaging Server
Plugin Commands: Meter Snapshot Server
Plugin Commands: Multi-Network Price Passthrough
Plugin Commands: Network Creator
Plugin Commands: Network Creator Security
Plugin Commands: Network Steering
Plugin Commands: OTA Simple Storage EEPROM
Plugin Commands: OTA Storage Common
Plugin Commands: PYD-1698 Occupancy Sensor CLI
Plugin Commands: Partner Link Key Exchange
Plugin Commands: Poll Control Client
Plugin Commands: Power Consumption Model CLI
Plugin Commands: Prepayment Server
Plugin Commands: Relative Humidity Measurement Server commands
Plugin Commands: Relay Control Server
Plugin Commands: SB1 Gesture Sensor
Plugin Commands: Scenes Server
Plugin Commands: Simple Metering Client
Plugin Commands: Simple Metering Server
Plugin Commands: Simple Metering Server
Plugin Commands: Sleepy Message Queue
Plugin Commands: Smart Energy Registration
Plugin Commands: Stack Diagnostics
Plugin Commands: Standalone Bootloader Client
Plugin Commands: Standalone Bootloader Server
Plugin Commands: Sub-GHz Client
Plugin Commands: Sub-GHz Server
Plugin Commands: Temperature Measurement Server commands
Plugin Commands: Throughput Legacy
Plugin Commands: Trust Center Backup
Plugin Commands: Tunneling Client
Plugin Commands: Tunneling Server
Plugin Commands: Update TC Link Key
Plugin Commands: Wwah Connectivity Manager
Plugin Commands: ZigBee 3.0 Test Harness
Plugin Commands: ZigBee Light Link (ZLL) Commissioning
Plugin Commands: Zigbee Event Logger
Utility Commands: Multiple RAIL Demo Code
Application Framework CLI Command Reference#
This header provides cli command function prototypes for the Application Framework's core ZigBee Cluster Library implementation.
Macros#
network form <channel> <power> <panid>
Commands used to change the default link or network key that will be used when forming or joining a network.
Command used for key establishment.
Commands used to send global commands in the zcl.
Macro Definition Documentation#
EMBER_AF_DOXYGEN_CLI__NETWORK_COMMANDS#
#define EMBER_AF_DOXYGEN_CLI__NETWORK_COMMANDS
network form <channel> <power> <panid>
Form a network on a given channel, with a given TX Power and PAN ID.
channel - uint8_t. The channel on which to form the network.
power - int8_t. One byte signed value indicating the TX Power that the radio should be set to.
panId - uint16_t. The PAN ID on which to form the network.
network join <channel> <power> <panid>
Join a network on a given channel, with a given TX Power and PAN ID.
channel - uint8_t. The channel on which to join the network.
power - int8_t. One byte signed value indicating the TX Power that the radio should be set to.
panId - uint16_t. The PAN ID on which to join the network.
network rejoin <encrypted>
Find and rejoin the previous network the device was connected to.
encrypted - uint8_t. A single byte boolean 0 or 1 indicating whether or not the rejoin should be done with encryption.
network leave
Leave the current network that the device is connected to.
network pjoin <seconds>
Turn permit joining on for the amount of time indicated.
seconds - uint8_t. A single byte indicating how long the device should have permit joining turn on for. A value of 0xff turns permit join indefinitely.
network broad-pjoin <seconds>
Turn permit joining on for the amount of time indicated AND broadcast a ZDO Mgmt Permit Joining request to all routers.
seconds - uint8_t. A single byte indicating how long the device should have permit joining turn on for. A value of 0xff turns permit join indefinitely.
network isopen
Check if the network has permit joining on and if yes report the remaining time for which the network will be open.
seconds - uint8_t. A single byte indicating how long the device will have permit joining turn on for.
network extpanid <bytes>
Write the extended PAN ID of the device.
bytes - byte array. An array of bytes which represents the extended PAN ID for the device.
network find unused
Begins a search for an unused Channel and PAN ID. Will automatically form a network on the first unused Channel and PAN ID it finds.
network find joinable
Begins a search for a joinable network. Will automatically attempt to join the first network it finds.
117
of file ./app/framework/cli/network-cli.c
EMBER_AF_DOXYGEN_CLI__SECURITY_CHANGEKEY_COMMANDS#
#define EMBER_AF_DOXYGEN_CLI__SECURITY_CHANGEKEY_COMMANDS
Commands used to change the default link or network key that will be used when forming or joining a network.
changekey link <key>
key - 16 byte array. The Link Key provided as a 16 byte array.
changekey network <key>
key - 16 byte array. The Network Key provided as a 16 byte array.
67
of file ./app/framework/cli/security-cli.c
EMBER_AF_DOXYGEN_CLI__SECURITY_CBKE_COMMANDS#
#define EMBER_AF_DOXYGEN_CLI__SECURITY_CBKE_COMMANDS
Command used for key establishment.
<b>cbke start <new partner id> <destination endpoint></b>
- new partner ID - uint16_t. The 2 byte node ID of the partner
with whom to start cbke.
<b>cbke interpan <pan id> <eui64></b>
- PAN ID - uint16_t. The 2 byte PAN ID that the target is located on.
- eui64 - EmberEUI64. The 8 byte EUI64 of the target (big endian)
<b>cbke partner <node id> <endpoint></b>
- node ID - uint16_t. The two byte node ID of the device
with whom to initiate key establishment.
- endpoint - uint8_t. The endpoint on which to begin
key establishment.
92
of file ./app/framework/cli/security-cli.c
EMBER_AF_DOXYGEN_CLI__ZCL_GLOBAL_COMMANDS#
#define EMBER_AF_DOXYGEN_CLI__ZCL_GLOBAL_COMMANDS
Commands used to send global commands in the zcl.
<b>zcl global read <cluster> <attribute id> </b>
- Creates a global read command message to read from
the cluster and attribute specified.
- cluster - uint16_t. The cluster id to read from.
- attribute id - uint16_t. The attribute id to read from
<b>zcl global write <cluster> <attribute id> <data type> <data></b>
- Creates a global write command message to write to
the cluster and attribute specified.
- cluster - uint16_t. The cluster id to read from.
- attribute id - uint16_t. The attribute id to read from
- data type - uint8_t. The two byte zigbee type value
- data - byte array. The data to write
<b>zcl global uwrite <cluster> <attribute id> <data type> <data></b>
- Creates a global write command message to write to the
cluster and attribute specified.
- cluster - uint16_t. The cluster id to read from.
- attribute id - uint16_t. The attribute id to read from
- data type - uint8_t. The two byte zigbee type value
- data - byte array. The data to write
<b>zcl global nwrite <cluster> <attribute id> <data type> <data></b>
- Creates a global write command message to write to the
cluster and attribute specified.
- cluster - uint16_t. The cluster id to read from.
- attribute id - uint16_t. The attribute id to read from
- data type - uint8_t. The two byte zigbee type value
- data - byte array. The data to write
<b>zcl global discover <cluster> <attribute id> <max></b>
- Creates discovery message for devices with the associated
cluster and attribute
- cluster - uint16_t. The cluster id to read from.
- attribute id - uint16_t. The attribute id to read from
- max - uint8_t. Max number of discovery responses.
<b>zcl global report-read <cluster> <attribute id> <direction></b>
- Creates a global read reporting command for the associated
cluster, attribute and server/client direction.
- cluster - uint16_t. The cluster id to read from.
- attribute id - uint16_t. The attribute id to read from
- direction - uint8_t. 0 for client-to-server, 1 for server-to-client.
<b>zcl global send-me-a-report <cluster> <attribute id> <data type>
<min report time> <max report time> <reportable change></b>
- Creates a global send me a report command for the associated values.
- cluster - uint16_t. The cluster id for requested report.
- attribute id - uint16_t. The attribute for requested report.
- data type - uint8_t. The two byte zigbee type value for the requested report
- min report time - uint16_t. Minimum number of seconds between reports.
- max report time - uint16_t. Maximum number of seconds between reports.
- reportable change - byte array. Amount of change to trigger a report.
<b>zcl global expect-report-from-me <cluster> <attribute id> <timeout></b>
- Create a expect-report-from-me message with associated values.
- cluster - uint16_t. The cluster id for requested report.
- attribute id - uint16_t. The attribute for requested report.
- timeout - uint16_t. The maximum amount of time between reports.
<b>zcl global direction <direction></b>
- Sets the direction for global commands, either client to server
or server to client.
- direction - uint8_t. The direction for global commands.
client-to-server == 0, server-to-client == 1.
<b>zcl global disc-com-gen <start command id> <max command ids></b>
- Sends a global Discover Commands Generated command.
- start command id - uint8_t. The command id to start discovery at.
- max command ids - uint8_t. The maximum number of command ids to return.
<b>zcl global disc-com-rec <start command id> <max command ids></b>
- Sends a global Discover Commands Received command.
- start command id - uint8_t. The command id to start discovery at.
- max command ids - uint8_t. The maximum number of command ids to return.
2025
of file ./app/framework/cli/zcl-cli.c