on Lock Status Changed
Called when there is a change in the lock's state. It's linked to the notification NOTIFICATION_LOCK_STATUS_CHANGE (0xBA), indicating a state update.
Parameters
current State
A byte value representing the current state of the lock (e.g. locked, unlocked).
status
: A byte indicating the result of the operation. A status of OK (0x00) signifies that the operation was successful and without issues. Example: Notification message after the lock state changed from "Closing" to "Closed": 0xBA, 0x05, 0x00 indicates a NOTIFICATION with ACTUAL_STATE being "Closing" and STATUS as "OK". 0xBA, 0x06, 0x00 indicates a NOTIFICATION with ACTUAL_STATE being "Closed" and STATUS as "OK".