Public Member Functions | Static Public Attributes | Private Member Functions
xbee.zigbee.ZigBee Class Reference
Inheritance diagram for xbee.zigbee.ZigBee:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__

Static Public Attributes

dictionary api_commands
dictionary api_responses

Private Member Functions

def _parse_samples_header

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.


Constructor & Destructor Documentation

def xbee.zigbee.ZigBee.__init__ (   self,
  args,
  kwargs 
)

Definition at line 159 of file zigbee.py.


Member Function Documentation

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

dictionary xbee::zigbee.ZigBee::api_commands [static]

Definition at line 34 of file zigbee.py.

Definition at line 89 of file zigbee.py.


The documentation for this class was generated from the following file:


rosserial_xbee
Author(s): Adam Stambler
autogenerated on Fri Dec 6 2013 20:35:49