Serial encap by API

How to talk directly by Digi API frames

If you have a Digi Xtend or mesh radio box attached to a serial port or remote device server, here is an easy way to encapsulate serial packets to send to remote serial devices. This page documents a simple, lowest common denominator method - it does not show all possible solutions. It avoids being fancy and powerful; it is a method which does the basics.

Digimesh/rf-network types

Here is an enumeration of possible Digi mesh/rf-network types. At this simplest level, many types will share the same behavior for your encapsulated serial data code, yet programming in this knowledge will allow you to add fancier features in the future. To query the type of your mesh, use the AT Command DD which is documented on the XBee Product Codes page.

Notes on the table below:

Codes Name Address Size Payload Description
XB24-ZB Digi Zigbee 64-bit 84 Digi's 3.x firmware supporting Zigbee 2007
XB24-B Digi ZNet 64-bit 72 or 75 Digi's 2.x firmware
XB24-DM Digi Mesh 64-bit 210 Digi's proprietary mesh on 900Mhz and 2.4Ghz
XB24-A Digi 802.15.4 64-bit 100 Non-mesh star configured nodes on 2.4GHz
XB09-DM Digi XTend Mesh 64-bit 210 Digi Mesh on Xtend hardware
XB09-DP Digi XTend 16-bit 2048 Non-mesh star configured nodes on 900Mhz

ASCII notations for Digi address types

Full mesh RF-metworks

This includes the types “Digi Zigbee", "Digi Znet" and "Digi Mesh” (Find the newest Product Manual for your XBee here)

TRANSMIT; Client sends serial data

TRANSMIT STATUS; Client receives

RECEIVE; Client receives serial response

Limited Mesh-like RF-Networks

This includes the types “Digi 802.15.4" and "Digi XTend Mesh” (Find the newest Product Manual for your XBee here)

TRANSMIT; Client sends serial data

TRANSMIT STATUS; Client receives

RECEIVE; Client receives serial response

Digi XTend, star network with 16-bit addressing

This includes the types “Digi XTend” (Find the newest Product Manual for your XBee here)

TRANSMIT; Client sends serial data

TRANSMIT STATUS; Client receives

RECEIVE; Client receives serial response