Public Member Functions | |
def | setUp |
def | test_send_at_command |
def | test_send_at_command_with_param |
def | test_shorthand_disabled |
Public Attributes | |
ser | |
xbee |
Tests shorthand for sending commands to an XBee provided by XBee.__getattr__
Definition at line 436 of file test_ieee.py.
def xbee.tests.test_ieee.TestSendShorthand.setUp | ( | self | ) |
Prepare a fake device to read from
Definition at line 442 of file test_ieee.py.
Send an AT command with a shorthand call
Definition at line 449 of file test_ieee.py.
calling send should write a full API frame containing the API AT command packet to the serial device.
Definition at line 460 of file test_ieee.py.
When shorthand is disabled, any attempt at calling a non-existant attribute should raise AttributeError
Definition at line 473 of file test_ieee.py.
Definition at line 444 of file test_ieee.py.
Definition at line 444 of file test_ieee.py.