Python API
 All Classes Namespaces Functions Variables
plux.Event.DisconnectReason Namespace Reference

Integer constants to be used in Disconnect.reason. More...

Variables

int Timeout = 1
 The idle connection timeout (15 min) has elapsed. More...
 
int ButtonPressed = 2
 The device button was pressed. More...
 
int BatDischarged = 4
 The device battery is discharged. More...
 

Detailed Description

Integer constants to be used in Disconnect.reason.

Variable Documentation

int plux.Event.DisconnectReason.BatDischarged = 4

The device battery is discharged.

int plux.Event.DisconnectReason.ButtonPressed = 2

The device button was pressed.

int plux.Event.DisconnectReason.Timeout = 1

The idle connection timeout (15 min) has elapsed.