status (bool) - Automatically receive status packets after a transmission.
logger (Logger) - Logger object from Logger.Logger used to record data such as sent and received data.
See Serial Port for details on finding the correct serial port name.
baudrate should be the same for both device (XBee RF module) and serial port. XBees will be configured to 115200 by default.
See Frame Details for details regarding the XBee status packet (Frame type 0x89).
A Logger instance will be created if it is not provided. You should only create your own instance of Logger if you want to log data that is not already logged by the XBee library.
Example:
from Communication.XBee.XBee import XBee
PORT="/dev/cu.usbserial-D30DWZKT"
BAUD_RATE=115200
xbee =XBee(PORT, BAUD_RATE) # status and logger will be set to False and None respectively