parameters: (self)
return_statement: return None
docstring: Called by WeaveDeviceMgr.py on behalf of Weave to retrieve a queued message.
docstring_summary: Called by WeaveDeviceMgr.py on behalf of Weave to retrieve a queued message.
docstring_tokens: Called by WeaveDeviceMgr . py on behalf of Weave to retrieve a queued message .
function: def GetBleEvent(self):
          """ Called by WeaveDeviceMgr.py on behalf of Weave to retrieve a queued message."""
          if not self.weave_queue.empty():
              ev = self.weave_queue.get()
  
              if isinstance(ev, BleRxEvent):
                  eventStruct = BleRxEventStruct.fromBleRxEvent(ev)
                  return cast( pointer(eventStruct), c_void_p).value
              elif isinstance(ev, BleTxEvent):
                  eventStruct = BleTxEventStruct.fromBleTxEvent(ev)
                  return cast( pointer(eventStruct), c_void_p).value
              elif isinstance(ev, BleSubscribeEvent):
                  eventStruct = BleSubscribeEventStruct.fromBleSubscribeEvent(ev)
                  return cast( pointer(eventStruct), c_void_p).value
              elif isinstance(ev, BleDisconnectEvent):
                  eventStruct = BleDisconnectEventStruct.fromBleDisconnectEvent(ev)
                  return cast( pointer(eventStruct), c_void_p).value
  
          return None
function_tokens: def GetBleEvent ( self ) : if not self . weave_queue . empty ( ) : ev = self . weave_queue . get ( ) if isinstance ( ev , BleRxEvent ) : eventStruct = BleRxEventStruct . fromBleRxEvent ( ev ) return cast ( pointer ( eventStruct ) , c_void_p ) . value elif isinstance ( ev , BleTxEvent ) : eventStruct = BleTxEventStruct . fromBleTxEvent ( ev ) return cast ( pointer ( eventStruct ) , c_void_p ) . value elif isinstance ( ev , BleSubscribeEvent ) : eventStruct = BleSubscribeEventStruct . fromBleSubscribeEvent ( ev ) return cast ( pointer ( eventStruct ) , c_void_p ) . value elif isinstance ( ev , BleDisconnectEvent ) : eventStruct = BleDisconnectEventStruct . fromBleDisconnectEvent ( ev ) return cast ( pointer ( eventStruct ) , c_void_p ) . value return None