AN1002: ZigBee HA CICIE AT Command Set Usage Scenarios

Similar documents
UG129: ZigBee USB Virtual Gateway Reference Design (RD ) User's Guide

Figure 1. 8-Bit USB Debug Adapter

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

AN962: Implementing Master-Slave Timing Redundancy in Wireless and Packet- Based Network Applications

UG103.8: Application Development Fundamentals: Tools

AN111: Using 8-Bit MCUs in 5 Volt Systems

AN803. LOCK AND SETTLING TIME CONSIDERATIONS FOR Si5324/27/ 69/74 ANY-FREQUENCY JITTER ATTENUATING CLOCK ICS. 1. Introduction

UG103-13: Application Development Fundamentals: RAIL

AN862. OPTIMIZING Si534X JITTER PERFORMANCE IN NEXT GENERATION INTERNET INFRASTRUCTURE SYSTEMS. 1. Introduction

AN952: PCIe Jitter Estimation Using an Oscilloscope

TS1005 Demo Board COMPONENT LIST. Ordering Information. SC70 Packaging Demo Board SOT23 Packaging Demo Board TS1005DB TS1005DB-SOT

AN580 INFRARED GESTURE SENSING. 1. Introduction. 2. Hardware Considerations

AN486: High-Side Bootstrap Design Using ISODrivers in Power Delivery Systems

AN922: Using the Command Line Interface (CLI) for Frequency On-the-Fly with the Si5346/47

ETRX3USB ETRX3USB-LRS ETRX3USB+8M ETRX3USB-LRS+8M PRODUCT MANUAL

Making Prototyping Boards for the EFM32 kits

Current Digital to Analog Converter

Telegesis is a trademark of Silicon Laboratories Inc. Telegesis ZigBee Communications Gateway. Product Manual

Bootloader with AES Encryption

Selecting the Right MCU Can Squeeze Nanoamps out of Your Next Internet of Things Application

QSG105 GETTING STARTED WITH SILICON LABS WIRELESS NETWORKING SOFTWARE

AN583: Safety Considerations and Layout Recommendations for Digital Isolators

RoHs compliant, Pb-free Industrial temperature range: 40 to +85 C Footprint-compatible with ICS , 2.5, or 3.3 V operation 16-TSSOP

APPLICATION NOTE. AT16268: JD Smart Cloud Based Smart Plug Getting. Started Guide ATSAMW25. Introduction. Features

QSG108: Blue Gecko Bluetooth Smart Software Quick-Start Guide

UG103.8 APPLICATION DEVELOPMENT FUNDAMENTALS: TOOLS

UG103.14: Application Development Fundamentals: Bluetooth Smart Technology

AN0822: Simplicity Studio User's Guide

AN588 ENERGY HARVESTING REFERENCE DESIGN USER S GUIDE. 1. Kit Contents. 2. Introduction. Figure 1. Energy Harvesting Sensor Node

UG103.9 EMBER APPLICATION DEVELOPMENT FUNDAMENTALS: ZLL

Backup Power Domain. AN Application Note. Introduction

AN335 USB DRIVER INSTALLATION UTILITY. 1. Description. 2. Installation Install Package

AN220 USB DRIVER CUSTOMIZATION

APPLICATION. si32library. Callback CMSIS HARDWARE. Figure 1. Firmware Layer Block Diagram

ZigBee-2.4-DK 2.4 GHZ ZIGBEE DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure GHz ZigBee Development Kit

IEEE /ZigBee USB Dongle

USER GUIDE EDBG. Description

AN220 USB DRIVER CUSTOMIZATION

AN614 A SIMPLE ALTERNATIVE TO ANALOG ISOLATION AMPLIFIERS. 1. Introduction. Input. Output. Input. Output Amp. Amp. Modulator or Driver

AN104 I NTEGRATING KEIL 8051 TOOLS INTO THE SILICON LABS IDE. 1. Introduction. 2. Key Points. 3. Create a Project in the Silicon Labs IDE

Design Challenges for Adding Relative Humidity Sensors

Table 1. RF Pico Boards of the EZRadioPRO Development Kits. Qty Description Part Number

USB Audio Simplified

APPLICATION NOTE. AT12405: Low Power Sensor Design with PTC. Atmel MCU Integrated Touch. Introduction

ETRX2 and ETRX357 Wireless Mesh Networking Modules. Application Note Accessing Modules over the Internet

AN LPC1700 timer triggered memory to GPIO data transfer. Document information. LPC1700, GPIO, DMA, Timer0, Sleep Mode

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram

AN335 USB DRIVER INSTALLATION METHODS. 1. Introduction. 2. Relevant Documentation. 3. DPInst Installation and Customization

ZigBee Technology Overview

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

ZigBee Home Automation User Guide

CPU. PCIe. Link. PCIe. Refclk. PCIe Refclk. PCIe. PCIe Endpoint. PCIe. Refclk. Figure 1. PCIe Architecture Components

AT88CK490 Evaluation Kit

How To Develop A Toolstick

AN655 R ANGE TEST APPLICATION FOR EZRADIO AND EZRADIOPRO. 1. Introduction. 2. Supported Radio Types

1 Software Overview ncp-uart ash-v3-test-app ash-v3-test-app Command Line Options Testing... 2

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

TOSR0X-D. USB/Wireless Timer Relay Module. User Manual. Tinysine 2013 Version 1.0

MONITORING EVENTS WITH INTEL AMT AND MICROSOFT SCOM 2012

PT Mbps Powerline Adapter. User Guide

Connect the EFM32 with a Smart Phone through the Audio Jack

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

AN4128 Application note

AN75. Si322X DUAL PROSLIC DEMO PBX AND GR 909 LOOP TESTING SOFTWARE GUIDE. 1. Introduction

Bluetooth for Windows

Hands-On Lab: WSUS. Lab Manual Expediting WSUS Service for XP Embedded OS

ETRX3USB ETRX3USB-LRS ETRX3USB+8M ETRX3USB-LRS+8M PRODUCT MANUAL

Temperature & Humidity SMS Alert Controller

Supporting ZDOs with the XBee API

Genesi Pegasos II Setup

Accuracy maintained over the entire operating temperature and voltage range Low Power Consumption

Keep it Simple Timing

SolarWinds. Packet Analysis Sensor Deployment Guide

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

Design Considerations for DVT and Manufacturing Test of Wireless Devices

SoftRAID 5 QUICK START GUIDE. for OWC ThunderBay

BLE113 DEVELOPMENT KIT

Quick Start Guide. USB Packet Sniffer/Dongle for Kinetis MKW22D and MKW24D Wireless MCUs USB-KW24D512

EMC Data Domain Management Center

CryptoAuth Xplained Pro

BLUETOOTH SERIAL PORT PROFILE. iwrap APPLICATION NOTE

Intelligent Monitoring Configuration Tool

Building a Basic Communication Network using XBee DigiMesh. Keywords: XBee, Networking, Zigbee, Digimesh, Mesh, Python, Smart Home

AN710 BRINGING UP CUSTOM DEVICES FOR THE EMBER EM35XX SOC OR NCP PLATFORM. (Formerly document )

Notification messages

TFTP Firmware upgrade

APPLICATION NOTE. AT17284: Proximetry Cloud Based Smart Plug User Guide. SMART ARM-based Microcontrollers. Introduction. Features

Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction

User's Guide. [Home Network] app. Model No.

BlackHawk for MAC Software User Guide

Dell OpenManage Mobile Version 1.4 User s Guide (Android)

ZME_WALLC-S Z-Wave Secure Wall Controller

Silabs Ember Development Tools

iloq P10S.10/20 Programming device User's Guide

USER GUIDE. ZigBit USB Stick User Guide. Introduction

CodeWarrior Development Studio Floating Licensing Quick Start

Si52144 PCI-EXPRESS GEN 1, GEN 2, & GEN 3 QUAD OUTPUT CLOCK GENERATOR. Features. Applications. Description. Functional Block Diagram

Touchless switch Object detection Handsets Intrusion/tamper detection. Reflectance-Based Proximity Detection PRX. Signal processing SREN

LOAD BALANCING 2X APPLICATIONSERVER XG SECURE CLIENT GATEWAYS THROUGH MICROSOFT NETWORK LOAD BALANCING

Transcription:

AN1002: ZigBee HA CICIE AT Command Set Usage Scenarios The Combined Interface with Control Indicating Equipment (CICIE) firmware provides a series of AT commands which allow developers to build a ZigBee HA compliant Combined Interface or Control Indicating Equipment without the need for any in-depth knowledge of the ZigBee PRO stack. To assist the user in working with the CICIE AT command set, this document provides step-by-step guidance for some typical usage scenarios. The user can follow the suggested sequence to input AT commands using a serial port communication tool (such as HyperTerminal, Telegesis Terminal etc) and run some tests. This application note briefly introduces several basic and advanced usage scenarios. However, it is recommended that the user check AN1003: TG-PM-0523-CICIE R3xx CICIE AT Command Set for Combined Interface & Control Indicating Equipment for information on the full command set and command syntax. KEY POINTS Discusses the following basic usage scenarios: Forming a HA network and commissioning a HA device to join Commissioning an on/off output device and how to work with it Comissioning a level-controllable device and how to work with it Commissioning an IAS zone device Discusses the following advanced usage scenarios: Finding a target HA device in the network Finding more information about a remote device in the network Current Firmware CICIE R311, Hardware ETRX358USB silabs.com Smart. Connected. Energy-friendly. Rev. 0.2

Introduction 1. Introduction The Combined Interface with Control Indicating Equipment (CICIE) firmware provides a series of AT commands which allow developers to build a ZigBee HA compliant Combined Interface or Control Indicating Equipment without the need for any in-depth knowledge of the ZigBee PRO stack. To assist the user in working with the CICIE AT command set, this document provides step-by-step guidance for some typical usage scenarios. The user can follow the suggested sequence to input AT commands using a serial port communication tool (such as HyperTerminal, Telegesis Terminal etc) and run some tests. This application note briefly introduces several basic and advanced usage scenarios. However, it is recommended that the user check AN1003: TG-PM-0523-CICIE R3xx CICIE AT Command Set for Combined Interface & Control Indicating Equipment for information on the full command set and command syntax. Note: Telegesis Terminal provides a pre-configured panel, as shown in the figure below. The user can edit the panel by adding buttons. Once added, clicking the buttons will trigger commands. Figure 1.1. Telegesis Terminal for CICIE When conducting the tests in 2. Basic Usage Scenarios, the user should check that the serial port has been properly connected and the ZigBee module can communicate via serial port communication tool. The user can input ATI command and check the response. If the user gets the message, ERROR:Invalid Parameter Length, check whether the ZigBee module has been equipped with a valid license (input H to access help manual). silabs.com Smart. Connected. Energy-friendly. Rev. 0.2 1

Introduction Table 1.1. Check Proper Serial Port Connection Step # Issue Command Expected response 1 ATI Telegesis ETRX358USB CICIE R311 B090316 000D6F0004B91052 Note: The above response is an example. The information can be different as the build number of the firmware may be incremented when a new version of firmware is released. silabs.com Smart. Connected. Energy-friendly. Rev. 0.2 2

Basic Usage Scenarios 2. Basic Usage Scenarios This section introduces several basic user cases of CICIE. 2.1 Form a HA Network and Commission a HA Device to Join The CICIE firmware can act as a HA network coordinator (COO) namely it can form a HA network and allow other HA compliant device to join. With assumption that the user is using a CICIE dongle that has not previously formed or joined a network, the user can follow: Table 2.1. Forming and Joining a HA Network 1 Issue AT+EN 2 Issue AT+PJOIN 3 The user will trigger a join procedure on the joining device (not on any network). Example JPAN prompt: JPAN:11,1456,717777C765EEC203 Example prompt after successful join: FFD:0021ED1000000009,A2DD The CICIE forms a network on channel 11, PanID: 0x1234, Extended Pan ID: 717777C765EEC203. This command will open the formed network for 60 seconds. The FFD/SED prompt will show to indicate that a new device has joined to CI- CIE network. silabs.com Smart. Connected. Energy-friendly. Rev. 0.2 3

Basic Usage Scenarios 2.2 Commission an On/off Output Device and How to Work with It This section introduces the procedure to commission an on/off output device to CICIE s network and send commands to control on/off. The on/off output device can be a ZigBee light (e.g. Aurora HA bulb) or smart plug (4Noks smart plug). Note: It is assumed that there are only two devices in this test, CICIE and the joining on/off output device. The two devices are within communication range to each other. Table 2.2. Commissioning an On/off Output Device 1 Issue AT+N 2 Issue AT+PJOIN 3 The user will trigger a join procedure on the joining onoff output device (not on any network) 4 Issue 5 Issue 6 Issue AT+DISCOVER:0006 AT+RONOFF:ACC2,0A,0 (Use the parameters shown after the DEV prompt in the step above.) AT+RONOFF:ACC2,0A,0 Example +N prompt: +N=COO,11,3,1456,717777C765EEC20 3 Or Example prompt after successful join: FFD:0021ED1000000006,ACC2 Example DEV prompt: DEV:ACC2,0A DFTREP:ACC2,0A,0006,02,00 DFTREP:ACC2,0A,0006,02,00 If it shall show: Please follow 2.1 Form a HA Network and Commission a HA Device to Join to form a network first. This command will open the formed network for 60 seconds. The FFD/SED prompt will show to indicate that a new device has joined to CI- CIE network. This step is to discover which endpoint on the joined device support onoff server. The response shows that device 0xACC2 supports onoff server on its endpoint 0x0A. The user can use the node ID and endpoint in next step. This step is to send a Toggle command to toggle the onoff state of the onoff output device. When DFTREP prompt is received with last parameter 00(Success status code), the user shall expect the onoff device to be toggled. The user should observe that the device is toggle again (if it was on, now the device should be in off state). silabs.com Smart. Connected. Energy-friendly. Rev. 0.2 4

Basic Usage Scenarios 2.3 Commission a Level-controllable Device and How to Work with It This section introduces the procedure to commission and control a level-controllable output device on CICIE s network. The level controllable output device can be a ZigBee dimmable light. Note: It is assumed that there are only two devices in this test: CICIE and the joining device. The two devices are within communication range to each other. Table 2.3. Commissioning a Level-controllable Device 1 Issue AT+N 2 Issue AT+PJOIN 3 The user will trigger a join procedure on the joining on/off output device (not on any network). 4 Issue 5 Issue 6 Issue AT+DISCOVER:0008 AT+LCMVTOLEV:ACC2,0A,0,1,FE,0066 (Use the parameters shown after the DEV prompt in the last step.) AT+LCMVTOLEV:ACC2,0A,0,1,01,0066 (Use the parameters shown after the DEV prompt in the last step.) Example +N prompt: +N=COO,11,3,1456,717777C765EEC20 3 Or Example prompt after successful join: FFD:0021ED1000000006,ACC2 Example DEV prompt: DEV:ACC2,0A DFTREP:ACC2,0A,0008,04,00 DFTREP:ACC2,0A,0008,04,00 If it shall show: Follow 2.1 Form a HA Network and Commission a HA Device to Join to form a network first. This command will open the formed network for 60 seconds. The FFD/SED prompt will show to indicate that a new device has joined to CI- CIE network. This step is to discover which endpoint on the joined device support level control cluster server. The response shows that device 0xACC2 supports the level control cluster server on its endpoint 0x0A. The user can use the node ID and endpoint in next step. This step is to send a MoveToLevel command to change the level of the level controllable output device to 0xFE (Max level). When DFTREP prompt is received with last parameter 00(Success status code), the user shall expect the device to be dimmed up (more bright if it is a dimmable light). This step is to send a MoveToLevel command to change the level of the level controllable output device to 0x01. When DFTREP prompt is received with last parameter 00(Success status code), the user shall expect the device to be dimmed down. silabs.com Smart. Connected. Energy-friendly. Rev. 0.2 5

Basic Usage Scenarios 2.4 Commission a Sensing Device and Configure Report This section introduces the procedure to commission a sensing device to CICIE s network and configure it to report its measurement periodically. The sensing device can be a ZigBee temperature sensor, illuminance sensor and other similar types of low-power sensors. Note: it is assumed that there are only two devices in this test, CICIE and the joining device. The two devices are within communication range to each other. Sensing devices usually are sleep end devices, therefore it is recommended that the configuration command should be issued in a short period after the device joins to CICIE to avoid the sensing device going to sleep mode and stops responding to the CICIE. Table 2.4. Commissioning a Sensing Device 1 Issue AT+N 2 Issue AT+PJOIN 3 The user should trigger a join procedure on the joining on/off output device (not on any network) 4 Issue 5 Issue AT+DISCOVER:0402 AT+CFGRPT:ACC2,0A,0,0402,0,0000, 29,0002,0008,0010 (Use the parameters shown after the DEV prompt in the last step.) Example +N prompt: +N=COO,11,3,1456,717777C765EEC20 3 Or Example prompt after successful join: SED:0021ED1000000006,ACC2 Example DEV prompt: DEV:ACC2,0A CFGRPTRSP:ACC2,0A,0402,00,00,000 0 If it shall show: Follow 2.1 Form a HA Network and Commission a HA Device to Join to form a network first. This command will open the formed network for 60 seconds. The SED prompt will show to indicate that a new device has joined. The user should conduct next step quickly before the sleepy end device goes to sleep mode. This step is to discover temperature cluster server. This step is to configure periodic temperature measurement report. 6 Wait for report REPORTATTR:ACC2,0A,0402,0000,29, 0050 The user should expect the periodic report. Notes: Attribute report command is usually sent via binding. Some sleepy end-device type based sensing devices do binding automatically when they join the network. If REPORTATTR prompt is not shown after step 5 (in above table), the user may need to manually set up a binding on the sleepy end device when the sleepy end device is awake (the user may need to wake up the sleepy end device with some manufacturer specified means e.g. pressing a button). Here is an example command: AT+BIND:ACC2,3,0000000000000001,0A,0402,0000000000000002,01 The user shall replace the parameters ACC2 and 0A to be the sensing device s node ID and endpoint. In addition, the user shall replace the parameter 0000000000000001 to be the sensing device s EUI (this information can be found in step 3). The parameter 0000000000000002 shall be replaced with the CICIE s EUI (please see ATI response). After issuing the AT+BIND command, the user shall expect a BIND prompt, for example: Bind:ACC2,00. If the status (the second parameter of the BIND prompt), it means that binding has been successfully set up then the user should expect periodic report as shown in step 6. silabs.com Smart. Connected. Energy-friendly. Rev. 0.2 6

Basic Usage Scenarios 2.5 Commission an IAS Zone Device The CICIE firmware supports CIE device type on endpoint 0x02. It can commission a zone device (e.g. a door contact) to join it and allow enrollment. After the device is enrolled, the zone device should report its zone status periodically or upon status change. When joining the CICIE s network, some zone devices will automatically discover CIE device s EUI and request to enroll. By default, the CICIE will accept the enrollment request and assign a zone ID to the zone device. The CICIE will show ZONESTATUS prompt when the zone device sends a command indicating a status change. Some zone devices require the CIE to set the EUI information to trigger an enroll request. The following procedure lists the steps to enroll such a device with the assumption that the user is aware of the requirement of setting CIE s EUI to trigger enroll. Table 2.5. Commissioning an IAS Zone Device 1 Issue AT+N 2 Issue AT+PJOIN 3 The user will trigger a join procedure on the joining zone device (not on any network). 4 Issue 5 Issue AT+DISCOVER:0500 AT+WRITEATR:ACC2,0A,0,0500,0010, F0,0000000000000002 (Replace the last parameter 0000000000000002 to be the CICIE s EUI.) Example +N prompt: +N=COO,11,3,1456,717777C765EEC20 3 Or Example prompt after successful join: SED:0021ED1000000006,ACC2 Example DEV prompt: DEV:ACC2,0A WRITEATTR:ACC2,0A,0500,00 If it shows: Follow 2.1 Form a HA Network and Commission a HA Device to Join to form a network first. This command will open the formed network for 60 seconds. The SED prompt will show to indicate that a new device has joined. The sleep zone device will be in awake state for a couple of minutes. If the user does not set CIE s EUI on the Zone device, some zones device may leave network in about one or two minutes. The purpose of this step is to discover the zone cluster server. This step sends the CIE address to the zone device in order for the zone device to report its status change. 6 Wait for enroll request. ZENROLLREQ:ACC2,0A,0015,1010 The user should expect a zone Status Change notification. 7 The zone device will send a notification. ZONESTATUS:ACC2,0A,6410,80 The prompt should show periodically. silabs.com Smart. Connected. Energy-friendly. Rev. 0.2 7

Advanced Usage Scenarios 3. Advanced Usage Scenarios The last section introduced some basic usage scenarios to help users understand some of the AT commands and how to test simple interactions between devices (for example, how to turn a light on and off). This section will introduce more complex scenarios. 3.1 Find a Target HA Device in the Network In this section, it is assumed that some HA lights have joined the CICIE s network. The user intends to identify the light and find a target light to turn on. The command sequence is: Table 3.1. Finding a Target HA Device 1 Issue AT+DISCOVER:0006 2 Issue AT+IDENTIFY:ACC2,0A 3 Issue AT+IDENTIFY:ACC3,0A 4 Issue AT+IDENTIFY:ACC4,0A 5 Issue AT+RONOFF:ACC4,0A,0 To toggle the target light. Example DEV prompt: DEV:ACC2,0A DEV:ACC3,0A DEV:ACC4,0A DFTREP:ACC2,0A,0003,00,00 DFTREP:ACC3,0A,0003,00,00 DFTREP:ACC4,0A,0003,00,00 DFTREP:ACC4,0A,0003,00,00 This step allows users to discover all endpoints on the joined device that support on/off server. The user shall observe that one of the three lights is blinking. If the blinking light is the one that the user is looking for, skip to the last step. The user shall observe that one of the three lights is blinking. If the blinking light is the one that the user is looking for, skip to the last step. The user shall observe that one of the three lights is blinking. If the blinking light in steps 2 or 3 was not the target light, this blinking light should be the one the user is looking for. If the user skips to this step from step 2 or 3, then the user shall use the node ID and endpoint used in step 2 or 3 in the AT+RONOFF command. silabs.com Smart. Connected. Energy-friendly. Rev. 0.2 8

Advanced Usage Scenarios 3.2 Find More Information about a Remote Device in the Network This section introduce a scenario when the user intends to use CICIE to discover more information from a node on CICIE s network. It is assumed that the user is sending commands to a non-sleepy device. If the user intends to discover information of a sleepy end device, it is suggested that the user shall make sure the sleepy device is awake to receive the following commands. Table 3.2. Finding More Information about a Remote Device in the Network 1 Issue AT+N 2 Issue AT+PJOIN 3 The user will trigger a join procedure on the joining on/off output device (not on any network). 4 Issue AT+ACTEPDESC:0021ED1000000006,AC C2 Example +N prompt: +N=COO,11,3,1456,717777C765EEC20 3 Or Example prompt after successful join: FFD:0021ED1000000006,ACC2 Example DEV prompt: SEQ:24 ActEpDesc:ACC2,00,01,0A ACK:24 It means that the device ACC2 has two active endpoints: 0x01 and 0x0A. The number in SEQ and ACK prompt are the sequence number contained in outgoing and incoming command. These two prompts are used to track whether a unicast ZDO request received a response. If the request cannot be delivered, the CICIE will show NACK instead of ACK. If it shows: Follow 2.1 Form a HA Network and Commission a HA Device to Join and form a network first. Permits join for 60 seconds. This prompt indicates that a new device has joined to network. The purpose of this step is to discover the number of endpoints supported by the joining device. silabs.com Smart. Connected. Energy-friendly. Rev. 0.2 9

Advanced Usage Scenarios 5 Issue 6 Issue AT+NODEDESC:0021ED1000000006,ACC 2 (Use the parameters shown after the DEV prompt in the last step.) AT+SIMPLEDESC:0021ED1000000006,A CC2,0A SEQ:25 NodeDesc:A2DD,00 Type:FFD ComplexDesc:No UserDesc:No APSFlags:00 FreqBand:40 MacCap:8E ManufCode:1010 MaxBufSize:52 MaxInSize:0052 SrvMask:0000 MaxOutSize:0052 DescCap:00 ACK:25 The response contains information of the remote node. For example: device type, manufacture code, etc. SEQ:26 SimpleDesc:ACC2,00 EP:0A ProfileID:0104 DeviceID:0002v02 InCluster:0000,0001,0002,0003, 0 004,0005,0006,0600,0704 OutCluster:0600,0704 ACK:26 The response contains information about the device type of the endpoint 0x0A of node 0xACC2. Device type 0x0002 means that this device is an onoff output device (maybe a light). Also, the response shows the supported clusters by the endpoint 0x0A of 0xACC2. The purpose of this step is to send a command to request the node descriptor information. The purpose of this step is to discover the device type and supported clusters on the remote device. silabs.com Smart. Connected. Energy-friendly. Rev. 0.2 10

Advanced Usage Scenarios 7 Issue AT+READATR:ACC2,0A,0,0000,0000,0 001 This command reads the value of basic cluster (cluster ID:0x0000) attributes, ZCL Version (ID:0x0000), and Application Version (ID:0x0001) RESPATTR:A2DD,0A,0000,0000,00,01 RESPATTR:A2DD,0A,0000,0001,00,02 The response shows the value of the requested attribute. silabs.com Smart. Connected. Energy-friendly. Rev. 0.2 11

Conclusion 4. Conclusion There may be more complex usage scenarios when the user uses CICIE to develop a control or monitoring device. This document provides some basic scenarios to use the AT commands. It is recommended that the user check AN1003: TG-PM-0523-CICIE R3xx CICIE AT Command Set for Combined Interface & Control Indicating Equipment, as well as the ZigBee Cluster Library and ZigBee HA profile specifications for more detailed information. silabs.com Smart. Connected. Energy-friendly. Rev. 0.2 12

Simplicity Studio One-click access to MCU and wireless tools, documentation, software, source code libraries & more. Available for Windows, Mac and Linux! IoT Portfolio www.silabs.com/iot SW/HW www.silabs.com/simplicity Quality www.silabs.com/quality Support and Community community.silabs.com Disclaimer Silicon Laboratories intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Laboratories products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Laboratories reserves the right to make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Silicon Laboratories shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits. The products are not designed or authorized to be used within any Life Support System without the specific written consent of Silicon Laboratories. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Laboratories products are not designed or authorized for military applications. Silicon Laboratories products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons. Trademark Information Silicon Laboratories Inc., Silicon Laboratories, Silicon Labs, SiLabs and the Silicon Labs logo, Bluegiga, Bluegiga Logo, Clockbuilder, CMEMS, DSPLL, EFM, EFM32, EFR, Ember, Energy Micro, Energy Micro logo and combinations thereof, "the world s most energy friendly microcontrollers", Ember, EZLink, EZRadio, EZRadioPRO, Gecko, ISOmodem, Precision32, ProSLIC, Simplicity Studio, SiPHY, Telegesis, the Telegesis Logo, USBXpress and others are trademarks or registered trademarks of Silicon Laboratories Inc. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand names mentioned herein are trademarks of their respective holders. Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 USA http://www.silabs.com