HDLC framing module.
Bases: exceptions.Exception
Bases: object
Parse an hdlc frame.
Returns: | the extracted frame, or -1 if wrong checksum |
---|
Build an hdlc frame.
Use 0x00 for both addr byte, and control byte.
Returns the serial ports of the motes connected to the computer.
Returns: | A list of tuples (name,baudrate) where: - name is a strings representing a serial port, e.g. ‘COM1’ - baudrate is an int representing the baurate, e.g. 115200 |
---|