mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
bug in registration status (#368)
This commit is contained in:
parent
50e19ee7af
commit
0761f9f380
|
@ -709,7 +709,7 @@ class BIPForeign(BIPSAP, Client, Server, OneShotTask, DebugContents):
|
|||
"""Called when detecting that foreign device registration has
|
||||
definitely expired.
|
||||
"""
|
||||
self.registrationStatus = -2 # Unregistered
|
||||
self.registrationStatus = -1 # Unregistered
|
||||
self._stop_track_registration()
|
||||
|
||||
bacpypes_debugging(BIPForeign)
|
||||
|
|
|
@ -707,7 +707,7 @@ class BIPForeign(BIPSAP, Client, Server, OneShotTask, DebugContents):
|
|||
"""Called when detecting that foreign device registration has
|
||||
definitely expired.
|
||||
"""
|
||||
self.registrationStatus = -2 # Unregistered
|
||||
self.registrationStatus = -1 # Unregistered
|
||||
self._stop_track_registration()
|
||||
|
||||
#
|
||||
|
|
|
@ -727,7 +727,7 @@ class BIPForeign(BIPSAP, Client, Server, OneShotTask, DebugContents):
|
|||
"""Called when detecting that foreign device registration has
|
||||
definitely expired.
|
||||
"""
|
||||
self.registrationStatus = -2 # Unregistered
|
||||
self.registrationStatus = -1 # Unregistered
|
||||
self._stop_track_registration()
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user