Public Member Functions | |
def | __init__ |
def | checksum |
def | fill |
def | len_bytes |
def | output |
def | parse |
def | remaining_bytes |
def | verify |
Static Public Member Functions | |
def | escape |
Public Attributes | |
data | |
escaped | |
raw_data | |
Static Public Attributes | |
string | ESCAPE_BYTE = '\x7D' |
tuple | ESCAPE_BYTES = (START_BYTE, ESCAPE_BYTE, XON_BYTE, XOFF_BYTE) |
string | START_BYTE = '\x7E' |
string | XOFF_BYTE = '\x13' |
string | XON_BYTE = '\x11' |
Private Attributes | |
_unescape_next_byte |
Represents a frame of data to be sent to or which was received from an XBee device
def xbee.frame.APIFrame.__init__ | ( | self, | |
data = '' , |
|||
escaped = False |
|||
) |
def xbee.frame.APIFrame.checksum | ( | self | ) |
def xbee.frame.APIFrame.escape | ( | data | ) | [static] |
def xbee.frame.APIFrame.fill | ( | self, | |
byte | |||
) |
def xbee.frame.APIFrame.len_bytes | ( | self | ) |
def xbee.frame.APIFrame.output | ( | self | ) |
def xbee.frame.APIFrame.parse | ( | self | ) |
def xbee.frame.APIFrame.remaining_bytes | ( | self | ) |
def xbee.frame.APIFrame.verify | ( | self, | |
chksum | |||
) |
string xbee::frame.APIFrame::ESCAPE_BYTE = '\x7D' [static] |
tuple xbee::frame.APIFrame::ESCAPE_BYTES = (START_BYTE, ESCAPE_BYTE, XON_BYTE, XOFF_BYTE) [static] |
string xbee::frame.APIFrame::START_BYTE = '\x7E' [static] |
string xbee::frame.APIFrame::XOFF_BYTE = '\x13' [static] |
string xbee::frame.APIFrame::XON_BYTE = '\x11' [static] |