EasyManua.ls Logo

Digi XBee 3 ZigBee - Example Use Cases; Example

Digi XBee 3 ZigBee
347 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Frame descriptions User Data Relay frame - 0x2D
Digi XBe 3 Zigbe RF Module
278
Example use cases
These examples show how to use this frame.
n You can use the frame to send data to an external processor through the XBee UART/SPI via
the BLE connection. Use a cellphone to send the frame with UART interface as a target. Data
contained within the frame is sent out the UART contained within an Output Frame. The
external processor then receives and acts on the frame.
n Use an external processor to output the frame over the UART with the BLE interface as a
target. This outputs the data contained in the frame as the Output Frame over the active BLE
connection via indication.
n An external processor outputs the Frame over the UART with the Micropython interface as a
target.
Example
This example frame could be used to send the message Relay Data to the MicroPython interface
using API mode 1 (AP = 1).
Frame data fields Offset Example
Start delimiter 0 0x7E
Length MSB 1 0x00
LSB 2 0x0D
Frame type 3 0x2D
Frame ID 4 0x01
Destination Interface 5 0x02
Data 6 0x52
7 0x65
8 0x6C
9 0x61
10 0x79
11 0x20
12 0x44
13 0x61
14 0x74
15 0x61
Checksum 16 0x38

Table of Contents

Related product manuals