EasyManua.ls Logo

Digi XBee 3 ZigBee - MicroPython Commands

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...
AT commands MicroPython commands
Digi XBe 3 Zigbe RF Module
206
(GT) of silence before and after this sequence.
The default value (0x2B) is the ASCII code for the plus (+) character. You must enter it three times
within the guard time to enter Command mode. To enter Command mode, there is also a required
period of silence before and after the command sequence characters of the Command mode
sequence (GT + CC + GT). The period of silence prevents inadvertently entering Command mode. For
more information, see Enter Command mode.
Parameter range
0 - 0xFF
Default
0x2B (the ASCII plus character:+)
MicroPython commands
The following commands relate to using MicroPython on the XBee 3 Zigbee RF Module.
PS (Python Startup)
Sets whether or not the XBee 3 Zigbee RF Module runs the stored Python code at startup.
Range
0 - 1
Parameter Description
0 Do not run stored Python code at startup.
1 Run stored Python code at startup.
Default
0
PY (MicroPython Command)
Interact with the XBee 3 Zigbee RF Module using MicroPython. PY is a command with sub-commands.
These sub-commands are arguments to PY.
PYB (Bundled Code Report)
You can store compiled code in flash using the os.bundle() function in the MicroPython REPL; refer to
the Digi MicroPython Programming Guide. The PYB sub-command reports details of the bundled code.
In Command mode, it returns two lines of text, for example:
bytecode: 619 bytes (hash=0x0900DBCE)
compiled: 2017-05-09T15:49:44
The messages are:
n bytecode: the size of bytecode stored in flash and its 32-bit hash. A size of 0 indicates that
there is no stored code.

Table of Contents

Related product manuals