Serial

class hachi.serial.XBeeSerial(port, baudrate=9600)

XBee parser serial implementation with pySerial

Parameters:
read_response(timeout=None)

Read response from serial

Parameters:timeout (None or int or float) – timeout in seconds. See pySerial’s documentation for more details
Raise:Timeout when timeout is exceeded
send(request)

Send a XBeeRequest through serial

Parameters:request (XBeeRequest) – the request to send
close()

Close the serial port

Hachi

Hachi is a Python library to interact with XBees.

PyPI downloads

Donate

If you like hachi, please consider making a donation

Related Topics

This Page

Fork me on GitHub