At commands, On-the-fly control commands, At commands 29 – AeroComm TRANSCEIVER ZB2430 User Manual

Page 34: On-the-fly control commands 29

Advertising
background image

2 9

ZB2430 User’s Manual - v1.6

C O N F I G U R I N G T H E Z B 2 4 3 0

www.aerocomm.com

A T C O M M A N D S

The AT Command mode implemented in the ZB2430 creates a virtual version of the Command/Data pin. The “Enter
AT Command Mode” Command asserts this virtual pin Low (to signify Command Mode) and the “Exit AT Command
Mode” Command asserts this virtual pin High (to signify Data). Once this pin has been asserted Low, all On-the-Fly
CC Commands documented in the manual are supported.

O n - t h e - F l y C o n t r o l C o m m a n d s

The ZB2430 transceiver contains static memory that holds many of the parameters that control the transceiver
operation. Using the “CC” command set allows many of these parameters to be changed during system operation.
Because the memory these commands affect is static, when the transceiver is reset, these parameters will revert back
to the settings stored in the EEPROM.
While in Command mode, the incoming RF interface of the transceiver is active and packets sent from other
transceivers will still be received; however no outgoing RF packets will be sent. The transceiver uses Interface
Timeout/RF Packet Size to determine when a CC Command is complete. Therefore, there should be no delay
between each character as it is sent from the OEM Host to the transceiver or the transceiver will not recognize the
command.
When an invalid command is sent, the radio discards the data and no response is sent to the OEM Host. Table 8
below shows a quick summary of the basic configuration & diagnostic commands available on the ZB2430. For
detailed command information, please refer to the command descriptions immediatly following the Quick Reference
Table.

T a b l e 8 : C o m m a n d Q u i c k R e f e r e n c e

Command Name

Command (All bytes in Hex)

Return (All bytes in Hex)

Enter AT Command Mode

<0x41> <0x54> <0x2B> <0x2B> <0x2B> <0x0D>

<0xCC> <0x43> <0x4F> <0x4D>

Exit AT Command Mode

<0xCC> <0x41> <0x54> <0x4F> <0x0D>

<0xCC> <0x44> <0x41> <0x54>

Status Request

<0xCC> <0x00> <0x00>

<0xCC> <Firmware> <Status>

Read Channel

<0xCC> <0x02>

<0xCC> <Channel> <Channel Mask [3-0]>

Write Destination NWK

Address

<0xCC> <0x10> <0x00> <NWK Hi> <NWK Lo>

<0xCC> <0x00> <NWK Hi> <NWK Lo>

Read Destination NWK

Address

<0xCC> <0x11>

<0xCC> <0x00> <NWK Hi> <NWK Lo>

Auto Destination

<0xCC> <0x15> <Data>

<0xCC> <Data>

Read API Control

<0xCC> <0x16>

<0xCC> <API Control>

Write API Control

<0xCC> <0x17> <API Control>

<0xCC> <API Control>

Read Digital Input

<0xCC> <0x20>

<0xCC> <Data>

Read ADC

<0xCC> <0x21> <Data>

<0xCC> <ADC Hi> <ADC Lo>

Write Digital Outputs

<0xCC> <0x23> <Data>

<0xCC> <Data>

Set Power Control

<0xCC> <0x25> <Power>

<0xCC> <Power>

Read NWK Address

<0xCC> <0x8A> <0x00>

<0xCC> <0x8A> <NWK Hi> <NWK Lo>

Read Parent’s NWK Address

<0xCC> <0x8A> <0x01>

<0xCC> <0x8A> <NWK Hi> <NWK Lo>

Advertising