src.device-manager.python.WeaveBleUtility module

Summary

Contents

class src.device-manager.python.WeaveBleUtility.BleDisconnectEvent(error=0)
Print(prefix='')
SetField(name, val)
class src.device-manager.python.WeaveBleUtility.BleDisconnectEventStruct

Bases: _ctypes.Structure

ConnObj

Structure/Union member

Error

Structure/Union member

EventType

Structure/Union member

classmethod fromBleDisconnectEvent(bleDisconnectEvent)
toBleDisconnectEvent()
class src.device-manager.python.WeaveBleUtility.BleRxEvent(svcId=None, charId=None, buffer=None)
Print(prefix='')
SetField(name, val)
class src.device-manager.python.WeaveBleUtility.BleRxEventStruct

Bases: _ctypes.Structure

Buffer

Structure/Union member

CharId

Structure/Union member

ConnObj

Structure/Union member

EventType

Structure/Union member

Length

Structure/Union member

SvcId

Structure/Union member

classmethod fromBleRxEvent(bleRxEvent)
toBleRxEvent()
class src.device-manager.python.WeaveBleUtility.BleSubscribeEvent(svcId=None, charId=None, status=True, operation=1)
Print(prefix='')
SetField(name, val)
class src.device-manager.python.WeaveBleUtility.BleSubscribeEventStruct

Bases: _ctypes.Structure

CharId

Structure/Union member

ConnObj

Structure/Union member

EventType

Structure/Union member

Operation

Structure/Union member

Status

Structure/Union member

SvcId

Structure/Union member

classmethod fromBleSubscribeEvent(bleSubscribeEvent)
toBleSubscribeEvent()
class src.device-manager.python.WeaveBleUtility.BleTxEvent(svcId=None, charId=None, status=False)
Print(prefix='')
SetField(name, val)
class src.device-manager.python.WeaveBleUtility.BleTxEventStruct

Bases: _ctypes.Structure

CharId

Structure/Union member

ConnObj

Structure/Union member

EventType

Structure/Union member

Status

Structure/Union member

SvcId

Structure/Union member

classmethod fromBleTxEvent(bleTxEvent)
toBleTxEvent()
src.device-manager.python.WeaveBleUtility.ParseBleEventType(val)