forked from platypush/platypush
Added connected
flag to BluetoothService
.
This commit is contained in:
parent
256d9adbf2
commit
243de15813
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ if 'bluetooth_service' not in Base.metadata:
|
||||||
is_ble = Column(Boolean, default=False)
|
is_ble = Column(Boolean, default=False)
|
||||||
""" Whether the service is a BLE service. """
|
""" Whether the service is a BLE service. """
|
||||||
|
|
||||||
|
connected = Column(Boolean, default=False)
|
||||||
|
""" Whether an active connection exists to this service. """
|
||||||
|
|
||||||
__mapper_args__ = {
|
__mapper_args__ = {
|
||||||
'polymorphic_identity': __tablename__,
|
'polymorphic_identity': __tablename__,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue