Module ImportFrom alias Assign NameStore Str Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse Raise decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Raise Call NameLoad Str If CompareLt Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign TupleStore NameStore Call AttributeLoad NameLoad attr Str NameLoad AugAssignAdd NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Num Return TupleLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Call NameLoad body Assert Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A __future__ absolute_import N/A __author__ katharine N/A errno N/A serial N/A struct N/A BaseTransport MessageTargetWatch libpebble2.exceptions ConnectionError SerialTransport N/A BaseTransport N/A N/A 
    Represents a direct connection to a physical Pebble paired to the computer via Bluetooth serial.
    This transport expects to be given a device file over which it can communicate with the watch via Bluetooth.

    .. warning::
        Using this transport may cause occasional kernel panics on some versions of OS X.

    :param device: The path to the device file (on OS X, often of the form ``/dev/cu.PebbleTimeXXXX-SerialPo`` or
                   ``/dev/cu.PebbleXXXX-SerialPortSe``).
    :type device: str
     N/A must_initialise True __init__ N/A N/A self device N/A N/A N/A N/A self device device N/A N/A self connection None N/A connect N/A N/A self N/A N/A N/A N/A N/A N/A self connection N/A N/A serial Serial N/A self device 115200 N/A N/A N/A OSError N/A e N/A N/A N/A N/A e errno N/A errno EBUSY N/A N/A N/A ConnectionError Could not connect to Pebble. N/A N/A N/A connected N/A N/A self N/A N/A N/A N/A N/A N/A self connection None N/A N/A N/A self connection isOpen N/A property read_packet N/A N/A self N/A N/A N/A N/A N/A data N/A N/A N/A self connection read 2 N/A N/A N/A N/A serial SerialException N/A N/A N/A N/A N/A self connection close N/A N/A ConnectionError Disconnected from watch. N/A N/A N/A len data 2 N/A N/A N/A ConnectionError Got malformed packet. N/A N/A length N/A N/A struct unpack !H data N/A data N/A N/A N/A self connection read N/A length 2 N/A N/A N/A MessageTargetWatch data N/A send_packet N/A N/A self message target N/A N/A MessageTargetWatch N/A N/A N/A isinstance target MessageTargetWatch N/A N/A N/A N/A self connection write message N/A N/A