Public Member Functions | Public Attributes
xbee.tests.test_ieee.TestSendShorthand Class Reference

List of all members.

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

Detailed Description

Tests shorthand for sending commands to an XBee provided by
XBee.__getattr__

Definition at line 436 of file test_ieee.py.


Member Function Documentation

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.


Member Data Documentation

Definition at line 444 of file test_ieee.py.

Definition at line 444 of file test_ieee.py.


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


rosserial_xbee
Author(s): Adam Stambler
autogenerated on Sat Oct 7 2017 03:09:02