xbee::zigbee::ZigBee Class Reference
List of all members.
Detailed Description
Provides an implementation of the XBee API for XBee ZB (ZigBee) modules
with recent firmware.
Commands may be sent to a device by instantiating this class with
a serial port object (see PySerial) and then calling the send
method with the proper information specified by the API. Data may
be read from a device synchronously by calling wait_read_frame.
For asynchronous reads, see the defintion of XBeeBase.
Definition at line 14 of file zigbee.py.
Member Function Documentation
def xbee::zigbee::ZigBee::__init__ |
( |
|
self, |
|
|
|
args, |
|
|
|
kwargs | |
|
) |
| | |
def xbee::zigbee::ZigBee::_parse_samples_header |
( |
|
self, |
|
|
|
io_bytes | |
|
) |
| | [private] |
_parse_samples_header: binary data in XBee ZB IO data format ->
(int, [int ...], [int ...], int, int)
_parse_samples_header will read the first three bytes of the
binary data given and will return the number of samples which
follow, a list of enabled digital inputs, a list of enabled
analog inputs, the dio_mask, and the size of the header in bytes
_parse_samples_header is overloaded here to support the additional
IO lines offered by the XBee ZB
Reimplemented from xbee::base::XBeeBase.
Definition at line 163 of file zigbee.py.
Member Data Documentation
The documentation for this class was generated from the following file: