AeroComm ZB2430 API Operation, I T r a n s m i t P a c k e t, I S e n d D a t a C o m p l e t e

Page 46

API OPERATION

9

API Operation is a powerful alternative to the default Transparent operation of the ZB2430 and provides dynamic packet routing and packet accounting abilities to the OEM Host without requiring extensive programming by the OEM Host.. API operation utilizes specific packet formats; specifying various vital parameters used to control radio settings and packet routing on a packet-by-packet basis. The API features can be used in any combination that suits the OEM’s specific needs and can be different between radios operating on the same network.

A P I T r a n s m i t P a c k e t

API Transmit Packet is a powerful command that allows the OEM Host to send data to a single or multiple (broadcast) transceivers on a packet-by-packet basis. This can be useful for many applications; including polling and/or mesh networks.

API Transmit Packet is enabled when bit-1 of the API Control byte is enabled. The OEM Host should use the format shown in Figure 12 below to transmit a packet over the RF.

F i g u r e 1 2 : T r a n s m i t A P I p a c k e t f o r m a t

Start Delimiter

0x81

Request

Data

Byte 2: Payload Data Lenth (0x00 – 0x54)

Byte 3: Reserved. Set to 0x00

Byte 4: Number of Network Retries/Broadcast Attempts

Byte 5: Reserved. Set to 0x00

Byte 6-7: 16 bit Network Destination Address (Hi,Lo) 0x….: Unicast Address

0xFFFC: Broadcast to all Routers and Coordinators

0xFFFD: Broadcast to all with RXOnWhenIdel = True

0xFFFF: Broadcast to all Devices

Byte 8-n: Payload Data

A P I S e n d D a t a C o m p l e t e

API Send Data complete can be used as a software acknowledgement indicator. When a radio sends an addressed packet, it will look for a received acknowledgement (transparent to the OEM Host). If an acknowledgement is not received, the packet will be retransmitted until one is received or all retries have been exhausted.

For applications where data loss is not an option, the OEM Host may wish to monitor the acknowledgement process using the API Send Data Complete. If an acknowledgement is not received (Failure), the OEM Host can send the packet to the transceiver once again.

API Send Data Complete is enabled when bit-2 of the API Control byte is enabled. The transceiver sends the OEM Host the data shown in Figure 13 upon receiving an RF acknowledge or exhausting all attempts.

www.aerocomm.com

Image 46
Contents VE R S I O N Technical Support SalesCopyright 2008 AeroComm, Inc. All rights reserved Limited Warranty, Disclaimer, Limitation of LiabilityDocument Information This material is preliminaryRevision History Revision DescriptionContents 2 4 3 0 F E a T U R E S ZB2430 Transceiver ModuleE R V I E W General SpecificationsB l e 1 Z B 2 4 3 0 Specification s PhysicalCertifications SMT Pin Pluggable Type Signal Name Function N D E F I N I T I O N SDesign Notes CTSHardware Interface E e p I n d I nTerms & Definitions TE R M S & D E F I N IT I O N S TE R MS & D E F in I TI O N S Coordinator Theory of OperationE E 8 0 2 5 & Z I G B E E O V E R V I E W RouterEnd Device E a T I N G a N E T W O R KS h R E N T / C H I L D R E L a T I O N S H I P G u r e 1 Z i g B e e N e t w o r k T o p o l o g i e sG u r e 2 P a r e n t / C h i l d R e l a t i o n s h i p T W O R K L I M I T a T I O N SX i m u m N e t w o r k D e p t h G B E E a D D R E S S I N G I t N e t w o r k a d d r e s sS h R o u t i n g a O D I t M a C a d d r e s sB l e 3 D e v i c e T a b l e E x a m p l e Bit Network AddressesZB2430 User’s Manual O a d c a s t T r a n s m i s s i o n s Sending a Broadcast packet B l e 4 B r o a d c a s t a d d r e s s e sBroadcast Address Destination Group A n s p a r e n t M o d e Serial InterfaceT E R F a C E M O D E S I M o d eR I a L I N T E R F a C E B a U D R a T E B l e 5 B a u d R a t e / I n t e r f a c e T i m e o u tT E R F a C E T I M E O U T / R F P a C K E T S I Z E Using a non-standard baud rateO W C O N T R O L D D a t a B u f f e r a n d C T S D D a t a B u f f e r a n d R T ST W O R K I N G ExamplesZB2430 User’s Manual C l i c S l e e p W E R D O W N M O D E SB l e 7 S l e e p M o d e S e t t i n g s E p S l e e pTransmitting and Receiving data with a sleeping End Device Configuring the ZB2430 G u r e 1 1 Z B 2 4 3 0 C o n f i g u r a t i o n F l o wT h e F l y C o n t r o l C o m m a n d s C O M M a N D SB l e 8 C o m m a n d Q u i c k R e f e r e n c e N F I G U R I N G T H E Z B 2 4 3 M M a N D D E S C R I P T I O N S Read API Control Read Destination AddressAuto Destination Write API ControlRead ADC Set Max PowerRead Digital Input Write Digital OutputsDiscover 16-bit NWK Address of Remote Radio Read 16-bit NWK AddressRead 16-bit NWK Address of Parent Device Discover Ieee Address of Remote RadioRead Voltage Read TemperatureDiscover Ieee Address & Children of Remote Radio Eeprom Byte ReadSoft Reset with NV reset ResetRestore Factory Defaults Eeprom Byte WriteEeprom Parameters Length Range Default Description Address BytesParameter Length Range Default Description Address BytesZB2430-Q ZB2430-D MAC ID G u r e 1 2 T r a n s m i t a P I p a c k e t f o r m a t API OperationI T r a n s m i t P a c k e t I S e n d D a t a C o m p l e t eI R e c e i v e P a c k e t G u r e 1 4 R e c e i v e a P I p a c k e t f o r m a tZB2430 Addressing Wait for command response A d N e i g h b o r T a b l e Command DefinitionsG u r e 1 7 R e a d N e i g h b o r T a b l e C o m m a n d V a N C E D N E T W O R K C O M M a N D S A d R o u t e T a b l e G u r e 1 9 R e a d R o u t e T a b l e C o m m a n dG u r e 2 0 R e a d R o u t e T a b l e R e s p o n s e R f o r m S c a n G u r e 2 1 P e r f o r m S c a n C o m m a n dG u r e 2 2 P e r f o r m S c a n R e s p o n s e If Scan Type = 0x00 Byte 8 Channel Number Byte 9 EnergyA d R a d i o T a b l e G u r e 2 3 R e a d R a d i o T a b l e C o m m a n dG u r e 2 4 R e a d R a d i o T a b l e R e s p o n s e 2 4 3 0 M E C H a N I C a L DimensionsG u r e 2 5 Z B 2 4 3 0 M e c h a n i c a l D r a w i n g Ordering Information O D U C T P a R T N U M B E R SP R O V E D a N T E N N a L I S T Compliancy InformationE N C Y I D E N T I F I C a T I O N N U M B E R S B l e 1 1 Z B 2 4 3 0 a p p r o v e d a n t e n n a L i s tM E Q U I P M E N T L a B E L I N G R E Q U I R E M E N T S Contains FCC ID KQL-ZB2430-100 / KQL-ZB2430DM P L I a N C Y I N F or M a T I O N

ZB2430 specifications

The AeroComm ZB2430 is a highly regarded wireless module optimized for Zigbee applications, positioning itself as an ideal solution for connecting devices within the Internet of Things (IoT) ecosystem. With its robust features, advanced technologies, and impressive characteristics, the ZB2430 stands out in the crowded market of low-power, low-data-rate communication devices.

One of the primary features of the AeroComm ZB2430 is its superior range and reliability. Designed to operate in the 2.4 GHz ISM band, the ZB2430 boasts a communication range of up to 1,200 feet line of sight in open environments. This enables seamless connectivity for devices across extensive areas, making it suitable for applications such as remote monitoring and smart home systems. The ZB2430 also employs advanced error correction and data packet acknowledgment techniques, ensuring that data is transmitted accurately and reliably, even in challenging conditions.

Another significant characteristic of the ZB2430 is its low power consumption. Designed for energy efficiency, this module allows devices to operate on battery power for extended periods, which is critical for applications like sensor networks and portable devices. With power-saving modes that can further extend battery life, the ZB2430 is ideal for applications where minimizing energy use is essential.

The ZB2430 also supports a variety of communication protocols, including point-to-point and mesh networking capabilities. The mesh networking feature allows devices to communicate with each other even when they are not within direct range, creating a highly scalable and resilient network. This is particularly beneficial in industrial automation and smart city applications, where reliable communication is paramount.

In terms of integration, the AeroComm ZB2430 is designed with ease of use in mind. It comes in a small form factor that can be easily incorporated into various devices, and it features a simple interface for developers. With its comprehensive documentation and support, developers can quickly implement and deploy Zigbee solutions.

In summary, the AeroComm ZB2430 is a powerful wireless module that excels in providing reliable, low-power, and scalable communication solutions for IoT applications. Its impressive range, energy efficiency, and support for mesh networking make it an attractive choice for developers looking to create innovative and robust wireless systems. Whether in home automation, industrial control, or smart city initiatives, the ZB2430 is poised to play a key role in the future of connected devices.