User Data Relay Frame - 0X2D - Digi XBee 3 ZigBee User Manual

Rf module
Table of Contents

Advertisement

Frame descriptions
6. Once unlocked, you may send
Response frames received.
a. For each frame to send, form the API Frame, and encrypt through the stream
b. Write the frame using one or more write operations.
c. When successful, the response arrives in one or more indications. If your stack does
d. Decrypt the stream of content provided through the indications, using the stream

User Data Relay frame - 0x2D

Description
This frame is used to send user relay data to MicroPython (internal interface), BLE, or the serial port.
This frame is used in conjunction with
For information on sending and receiving User Data Relay frames using MicroPython, see
receive User Data Relay frames
Format
The following table provides the contents of the frame. For details on frame structure, see
format.
Frame data fields
Frame type
Frame ID
Destination interface
Data
Error cases
The Frame ID is used to report error conditions in a method consistent with existing transmit frames.
The error codes are mapped to statuses. The following conditions result in an error that is reported in
a
TX Status frame -
Invalid interface (0x7C): The user specified a destination interface that does not exist.
n
Interface not accepting frames (0x7D): (0x7D): The destination interface is a valid interface,
n
but is not in a state that can accept data. For example, UART not in API mode, BLE does not
have a GATT client connected, or buffer queues are full.
Digi XBee® 3 Zigbee® RF Module
AT Command frame - 0x08
cipher as described in the unlock procedure. See
not do it for you, remember to acknowledge each indication as it is received. Note
that you are expected to process these indications and the response data is not
available if you attempt to perform a read operation to the characteristic.
cipher as described in the unlock procedure. See
User Data Relay Output -
in the MicroPython Programming Guide.
Offset
Description
0x2D User Data Relay frame
3
4
Reference identifier
5
0 = Serial port (SPI, or UART when in API mode)
1 = BLE
2 = MicroPython
6
Variable length user data
0x89, referencing the frame ID from the 0x2D request.
User Data Relay frame - 0x2D
frames and receive AT Command
BLE Unlock API frame -
BLE Unlock API frame -
0xAD.
0x2C.
0x2C.
Send and
API frame
277

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XBee 3 ZigBee and is the answer not in the manual?

Questions and answers

Table of Contents