platypush.message.event.bluetooth

class platypush.message.event.bluetooth.BluetoothConnectionRejectedEvent(address: str = None, port: str = None, *args, **kwargs)[source]

Event triggered on bluetooth device connection rejected

__init__(address: str = None, port: str = None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.bluetooth.BluetoothDeviceConnectedEvent(address: str = None, port: str = None, *args, **kwargs)[source]

Event triggered on bluetooth device connection

__init__(address: str = None, port: str = None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.bluetooth.BluetoothDeviceDisconnectedEvent(address: str = None, port: str = None, *args, **kwargs)[source]

Event triggered on bluetooth device disconnection

__init__(address: str = None, port: str = None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.bluetooth.BluetoothDeviceFoundEvent(address: str, name: Optional[str] = None, *args, **kwargs)[source]

Event triggered when a bluetooth device is found during a scan.

__init__(address: str, name: Optional[str] = None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.bluetooth.BluetoothDeviceLostEvent(address: str, name: Optional[str] = None, *args, **kwargs)[source]

Event triggered when a bluetooth device previously scanned is lost.

__init__(address: str, name: Optional[str] = None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.bluetooth.BluetoothEvent(target=None, origin=None, id=None, timestamp=None, disable_logging=False, disable_web_clients_notification=False, **kwargs)[source]
class platypush.message.event.bluetooth.BluetoothFileGetRequestEvent(address: str = None, port: str = None, *args, **kwargs)[source]

Event triggered on bluetooth device file transfer get request

__init__(address: str = None, port: str = None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.bluetooth.BluetoothFilePutRequestEvent(address: str = None, port: str = None, *args, **kwargs)[source]

Event triggered on bluetooth device file transfer put request

__init__(address: str = None, port: str = None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.bluetooth.BluetoothFileReceivedEvent(path: str = None, *args, **kwargs)[source]

Event triggered on bluetooth device file transfer put request

__init__(path: str = None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]