fabiofenoglio / lelo-f1-python-sdk

LELO F1 SDK Python client
MIT License
13 stars 3 forks source link

Quick tests for F1sV2: can't get battery level at 0x2A19 #3

Closed yomli closed 3 years ago

yomli commented 3 years ago

Since the Web Bluetooth version doesn't work for me (on Linux, Windows or Android with Chrome), I tried to make the python sdk working. The only major issue was to pass the security access thingy but with this I managed to:

registers.py

SECURITY_ACCESS = Register(
        'SECURITY_ACCESS', Characteristics.SECURITY_ACCESS,
        Converters.INTEGER_TUPLE, Converters.INTEGER_TUPLE )

definitions.py

ADVERTISING_DEVICE_NAMES = ['F1s', 'F1SV2A', 'F1SV2X']
SECURITY_ACCESS = '00000a10-'

async_client.py

protocol = 2

    async def get_key_state(self, silent=False):
        '''
        Reads the key state status.
        Returns a boolean.
        '''
        self.assert_connected()
        if not silent:
            self.logger.debug('checking key state')
        if self.protocol == 1:
            return await self.read(Registers.KEY_STATE, silent=silent)
        else:
            value = await self.read(Registers.SECURITY_ACCESS, silent=silent)

            if value != (1, 0, 0, 0, 0, 0, 0, 0):
                if value == (password here):
                    await self.write(Registers.SECURITY_ACCESS, value)
                else:
                    self.logger.info('Not authorized. Please, PRESS THE CENTRAL BUTTON')
                    await asyncio.sleep(2)
                    await self.get_key_state()
            else:
                return True
            return False

Dirty but quick (Python isn't part of my learned languages, I dabble).

But then:

2021-09-09 00:57:14,592 - lelo-f1-sdk-client.io - DEBUG - READING 00002a19- BATTERY LEVEL
2021-09-09 00:57:14,593 - root - ERROR - error in main routine: Characteristic with UUID 00002a19- could not be found!
Traceback (most recent call last):
  File "sample_cli.py", line 69, in run
    logging.info('get_battery_level: %s', await client.get_battery_level())
  File "/home/yomli/Documents/dev/lelo-f1-python-sdk/lelof1py/async_client.py", line 462, in get_battery_level
    return await self.read(Registers.BATTERY_LEVEL)
  File "/home/yomli/Documents/dev/lelo-f1-python-sdk/lelof1py/async_client.py", line 304, in read
    read_direct = await self.bleak_client.read_gatt_char(register.address)
  File "/home/yomli/.local/lib/python3.6/site-packages/bleak/backends/bluezdbus/client.py", line 720, in read_gatt_char
    char_specifier
bleak.exc.BleakError: Characteristic with UUID 00002a19- could not be found!

I can get all sensors data (pressure, depth and so on) but the battery level is not found at 0x2A19 as the specs say. Motors are fine, I already tried some experiments. I didn't try advanced control though.

Also with the GUI sample I have this:

root - ERROR - error in task discover_and_connect: Characteristic with UUID 00000aa1- could not be found!
Traceback (most recent call last):
  File "sample_gui.py", line 674, in runner
    await task
  File "sample_gui.py", line 260, in discover
    await self.connect()
  File "sample_gui.py", line 288, in connect
    await self.refresh_status()
  File "sample_gui.py", line 540, in refresh_status
    new_value = await self.get_client().get_wake_up()
  File "/home/yomli/Documents/dev/lelo-f1-python-sdk/lelof1py/async_client.py", line 589, in get_wake_up
    return await self.read(Registers.WAKE_UP)
  File "/home/yomli/Documents/dev/lelo-f1-python-sdk/lelof1py/async_client.py", line 304, in read
    read_direct = await self.bleak_client.read_gatt_char(register.address)
  File "/home/yomli/.local/lib/python3.6/site-packages/bleak/backends/bluezdbus/client.py", line 720, in read_gatt_char
    char_specifier
bleak.exc.BleakError: Characteristic with UUID 00000aa1- could not be found!
2021-09-09 01:40:36,018 - root - INFO - error in task: Characteristic with UUID 00000aa1- could not be found!

The Wake Up char is not found at 0x0AA1.

fabiofenoglio commented 3 years ago

Hello @yomli, thank you for your work. Could you please post the full console output for the sample_cli.py program?

yomli commented 3 years ago

Of course, here it is:

2021-09-09 19:00:01,040 - asyncio - DEBUG - Using selector: EpollSelector
2021-09-09 19:00:01,040 - lelo-f1-sdk-client - DEBUG - instantiating LELO F1 SDK client
2021-09-09 19:00:01,041 - root - INFO - running discovery to find your F1s ...
2021-09-09 19:00:01,041 - lelo-f1-sdk-client - DEBUG - discovering nearby devices
2021-09-09 19:00:06,116 - lelo-f1-sdk-client - DEBUG - found 1 nearby devices
2021-09-09 19:00:06,117 - lelo-f1-sdk-client - INFO - discovery found device with correct advertising name: F1SV2X, address=00:81:F9:C8:8E:F8
2021-09-09 19:00:06,117 - lelo-f1-sdk-client - DEBUG - of which 1 with correct name
2021-09-09 19:00:06,117 - lelo-f1-sdk-client - DEBUG - found a total of 1 devices responding to criteria
2021-09-09 19:00:06,117 - lelo-f1-sdk-client - DEBUG - discovery took 5 seconds
2021-09-09 19:00:06,117 - root - INFO - Device found! Trying to connect ...
2021-09-09 19:00:06,120 - lelo-f1-sdk-client - INFO - connecting to device 00:81:F9:C8:8E:F8
2021-09-09 19:00:06,121 - lelo-f1-sdk-client - DEBUG - attempting connection to device with address 00:81:F9:C8:8E:F8
2021-09-09 19:00:09,518 - lelo-f1-sdk-client - INFO - succesfully connected to device 00:81:F9:C8:8E:F8
2021-09-09 19:00:09,518 - lelo-f1-sdk-client - DEBUG - profiling the device
2021-09-09 19:00:09,814 - lelo-f1-sdk-client - DEBUG - root characteristic 102 -> 00000aa4-0000-1000-8000-00805f9b34fb (Handle: 102): Vendor specific = [06]
2021-09-09 19:00:09,874 - lelo-f1-sdk-client - DEBUG - root characteristic 98 -> 00000a0a-0000-1000-8000-00805f9b34fb (Handle: 98): Vendor specific = [00:0C:7E:FF:00:01:92:E8]
2021-09-09 19:00:09,934 - lelo-f1-sdk-client - DEBUG - root characteristic 94 -> 00000a0c-0000-1000-8000-00805f9b34fb (Handle: 94): Vendor specific = [01:BE:02:C2:03:27:05]
2021-09-09 19:00:09,994 - lelo-f1-sdk-client - DEBUG - root characteristic 90 -> 00000aa3-0000-1000-8000-00805f9b34fb (Handle: 90): Vendor specific = [00:00]
2021-09-09 19:00:10,054 - lelo-f1-sdk-client - DEBUG - root characteristic 87 -> 00000a11-0000-1000-8000-00805f9b34fb (Handle: 87): Vendor specific = [00]
2021-09-09 19:00:10,114 - lelo-f1-sdk-client - DEBUG - root characteristic 83 -> 00000a10-0000-1000-8000-00805f9b34fb (Handle: 83): Vendor specific = [00:00:00:00:00:00:00:00]
2021-09-09 19:00:10,174 - lelo-f1-sdk-client - DEBUG - root characteristic 79 -> 00000a00-0000-1000-8000-00805f9b34fb (Handle: 79): Vendor specific = [10:00]
2021-09-09 19:00:10,234 - lelo-f1-sdk-client - DEBUG - root characteristic 75 -> 00000a0b-0000-1000-8000-00805f9b34fb (Handle: 75): Vendor specific = [00:00]
2021-09-09 19:00:10,324 - lelo-f1-sdk-client - DEBUG - root characteristic 72 -> 00000a1a-0000-1000-8000-00805f9b34fb (Handle: 72): Vendor specific = [00:00:00:00:00:00:00:00:00:00]
2021-09-09 19:00:10,383 - lelo-f1-sdk-client - DEBUG - root characteristic 69 -> 00000a08-0000-1000-8000-00805f9b34fb (Handle: 69): Vendor specific = [cannot read: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-09 19:00:10,474 - lelo-f1-sdk-client - DEBUG - root characteristic 66 -> 00000a04-0000-1000-8000-00805f9b34fb (Handle: 66): Vendor specific = [00:3D:00:03:99:00:00:00:00:00:00:00:00:00:00]
2021-09-09 19:00:10,534 - lelo-f1-sdk-client - DEBUG - root characteristic 63 -> 00000a07-0000-1000-8000-00805f9b34fb (Handle: 63): Vendor specific = [08:89:70:7E:FA:3E:F8:F1]
2021-09-09 19:00:10,594 - lelo-f1-sdk-client - DEBUG - root characteristic 60 -> 00000a05-0000-1000-8000-00805f9b34fb (Handle: 60): Vendor specific = [35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00]
2021-09-09 19:00:10,654 - lelo-f1-sdk-client - DEBUG - root characteristic 57 -> 00000a06-0000-1000-8000-00805f9b34fb (Handle: 57): Vendor specific = [00:81:F9:C8:8E:F8]
2021-09-09 19:00:10,714 - lelo-f1-sdk-client - DEBUG - root characteristic 54 -> 0000fff2-0000-1000-8000-00805f9b34fb (Handle: 54): Vendor specific = [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00]
2021-09-09 19:00:10,774 - lelo-f1-sdk-client - DEBUG - root characteristic 51 -> 0000fff1-0000-1000-8000-00805f9b34fb (Handle: 51): Vendor specific = [00:00:00]
2021-09-09 19:00:10,840 - lelo-f1-sdk-client - DEBUG - root characteristic 42 -> 00002a50-0000-1000-8000-00805f9b34fb (Handle: 42): PnP ID = [01:0D:00:00:00:10:01]
2021-09-09 19:00:10,894 - lelo-f1-sdk-client - DEBUG - root characteristic 40 -> 00002a2a-0000-1000-8000-00805f9b34fb (Handle: 40): IEEE 11073-20601 Regulatory Cert. Data List = [FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C]
2021-09-09 19:00:10,954 - lelo-f1-sdk-client - DEBUG - root characteristic 38 -> 00002a29-0000-1000-8000-00805f9b34fb (Handle: 38): Manufacturer Name String = [4C:45:4C:4F]
2021-09-09 19:00:11,014 - lelo-f1-sdk-client - DEBUG - root characteristic 36 -> 00002a28-0000-1000-8000-00805f9b34fb (Handle: 36): Software Revision String = [46:31:53:56:32:20:52:45:56:2E:42]
2021-09-09 19:00:11,074 - lelo-f1-sdk-client - DEBUG - root characteristic 34 -> 00002a27-0000-1000-8000-00805f9b34fb (Handle: 34): Hardware Revision String = [46:31:53:56:32:20:52:45:56:2E:44]
2021-09-09 19:00:11,134 - lelo-f1-sdk-client - DEBUG - root characteristic 32 -> 00002a26-0000-1000-8000-00805f9b34fb (Handle: 32): Firmware Revision String = [46:31:53:56:32:20:73:76:6E:20:32:33:39]
2021-09-09 19:00:11,194 - lelo-f1-sdk-client - DEBUG - root characteristic 30 -> 00002a25-0000-1000-8000-00805f9b34fb (Handle: 30): Serial Number String = [53:65:72:69:61:6C:20:4E:75:6D:62:65:72]
2021-09-09 19:00:11,254 - lelo-f1-sdk-client - DEBUG - root characteristic 28 -> 00002a24-0000-1000-8000-00805f9b34fb (Handle: 28): Model Number String = [46:31:53:56:32:58]
2021-09-09 19:00:11,314 - lelo-f1-sdk-client - DEBUG - root characteristic 26 -> 00002a23-0000-1000-8000-00805f9b34fb (Handle: 26): System ID = [F8:8E:C8:00:00:F9:81:00]
2021-09-09 19:00:11,373 - lelo-f1-sdk-client - DEBUG - root characteristic 21 -> f000ffc4-0451-4000-b000-000000000000 (Handle: 21): Unknown = [cannot read: [org.bluez.Error.Failed] Operation failed with ATT error: 0x0e (Connection Rejected Due To Security Reasons)]
2021-09-09 19:00:11,433 - lelo-f1-sdk-client - DEBUG - root characteristic 18 -> f000ffc3-0451-4000-b000-000000000000 (Handle: 18): Unknown = [cannot read: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-09 19:00:11,493 - lelo-f1-sdk-client - DEBUG - root characteristic 14 -> f000ffc2-0451-4000-b000-000000000000 (Handle: 14): Unknown = [cannot read: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-09 19:00:11,553 - lelo-f1-sdk-client - DEBUG - root characteristic 10 -> f000ffc1-0451-4000-b000-000000000000 (Handle: 10): Unknown = [cannot read: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-09 19:00:11,553 - lelo-f1-sdk-client - DEBUG - service 50 -> Vendor specific
2021-09-09 19:00:11,614 - lelo-f1-sdk-client - DEBUG -  characteristic 00000aa4-0000-1000-8000-00805f9b34fb (Handle: 102): Vendor specific = [06]
found effective uuid 00000aa4-0000-1000-8000-00805f9b34fb for matcher 00000aa4-
2021-09-09 19:00:11,614 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 105): Characteristic User Description handle 105
2021-09-09 19:00:11,614 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 104): Client Characteristic Configuration handle 104
2021-09-09 19:00:11,681 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a0a-0000-1000-8000-00805f9b34fb (Handle: 98): Vendor specific = [00:0C:80:FF:00:01:92:EB]
found effective uuid 00000a0a-0000-1000-8000-00805f9b34fb for matcher 00000a0a-
2021-09-09 19:00:11,682 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 101): Characteristic User Description handle 101
2021-09-09 19:00:11,682 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 100): Client Characteristic Configuration handle 100
2021-09-09 19:00:11,735 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a0c-0000-1000-8000-00805f9b34fb (Handle: 94): Vendor specific = [01:B4:02:C5:03:20:05]
found effective uuid 00000a0c-0000-1000-8000-00805f9b34fb for matcher 00000a0c-
2021-09-09 19:00:11,735 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 97): Characteristic User Description handle 97
2021-09-09 19:00:11,735 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 96): Client Characteristic Configuration handle 96
2021-09-09 19:00:11,794 - lelo-f1-sdk-client - DEBUG -  characteristic 00000aa3-0000-1000-8000-00805f9b34fb (Handle: 90): Vendor specific = [00:00]
found effective uuid 00000aa3-0000-1000-8000-00805f9b34fb for matcher 00000aa3-
2021-09-09 19:00:11,794 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 93): Characteristic User Description handle 93
2021-09-09 19:00:11,794 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 92): Client Characteristic Configuration handle 92
2021-09-09 19:00:11,854 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a11-0000-1000-8000-00805f9b34fb (Handle: 87): Vendor specific = [00]
2021-09-09 19:00:11,854 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 89): Characteristic User Description handle 89
2021-09-09 19:00:11,944 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a10-0000-1000-8000-00805f9b34fb (Handle: 83): Vendor specific = [00:00:00:00:00:00:00:00]
found effective uuid 00000a10-0000-1000-8000-00805f9b34fb for matcher 00000a10-
found effective uuid 00000a10-0000-1000-8000-00805f9b34fb for matcher 00000a10-
2021-09-09 19:00:11,944 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 86): Characteristic User Description handle 86
2021-09-09 19:00:11,944 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 85): Client Characteristic Configuration handle 85
2021-09-09 19:00:12,004 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a00-0000-1000-8000-00805f9b34fb (Handle: 79): Vendor specific = [0F:FB]
2021-09-09 19:00:12,004 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 82): Characteristic User Description handle 82
2021-09-09 19:00:12,004 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 81): Client Characteristic Configuration handle 81
2021-09-09 19:00:12,070 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a0b-0000-1000-8000-00805f9b34fb (Handle: 75): Vendor specific = [00:00]
found effective uuid 00000a0b-0000-1000-8000-00805f9b34fb for matcher 00000a0b-
2021-09-09 19:00:12,071 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 78): Characteristic User Description handle 78
2021-09-09 19:00:12,071 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 77): Client Characteristic Configuration handle 77
2021-09-09 19:00:12,124 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a1a-0000-1000-8000-00805f9b34fb (Handle: 72): Vendor specific = [00:00:00:00:00:00:00:00:00:00]
2021-09-09 19:00:12,124 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 74): Characteristic User Description handle 74
2021-09-09 19:00:12,183 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a08-0000-1000-8000-00805f9b34fb (Handle: 69): Vendor specific = [cannot read: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-09 19:00:12,183 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 71): Characteristic User Description handle 71
2021-09-09 19:00:12,244 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a04-0000-1000-8000-00805f9b34fb (Handle: 66): Vendor specific = [00:3D:00:03:99:00:00:00:00:00:00:00:00:00:00]
found effective uuid 00000a04-0000-1000-8000-00805f9b34fb for matcher 00000a04-
found effective uuid 00000a04-0000-1000-8000-00805f9b34fb for matcher 00000a04-
2021-09-09 19:00:12,244 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 68): Characteristic User Description handle 68
2021-09-09 19:00:12,334 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a07-0000-1000-8000-00805f9b34fb (Handle: 63): Vendor specific = [08:89:70:7E:FA:3E:F8:F1]
found effective uuid 00000a07-0000-1000-8000-00805f9b34fb for matcher 00000a07-
2021-09-09 19:00:12,334 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 65): Characteristic User Description handle 65
2021-09-09 19:00:12,394 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a05-0000-1000-8000-00805f9b34fb (Handle: 60): Vendor specific = [35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00]
found effective uuid 00000a05-0000-1000-8000-00805f9b34fb for matcher 00000a05-
2021-09-09 19:00:12,394 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 62): Characteristic User Description handle 62
2021-09-09 19:00:12,454 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a06-0000-1000-8000-00805f9b34fb (Handle: 57): Vendor specific = [00:81:F9:C8:8E:F8]
found effective uuid 00000a06-0000-1000-8000-00805f9b34fb for matcher 00000a06-
2021-09-09 19:00:12,454 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 59): Characteristic User Description handle 59
2021-09-09 19:00:12,514 - lelo-f1-sdk-client - DEBUG -  characteristic 0000fff2-0000-1000-8000-00805f9b34fb (Handle: 54): Vendor specific = [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00]
2021-09-09 19:00:12,514 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 56): Characteristic User Description handle 56
2021-09-09 19:00:12,580 - lelo-f1-sdk-client - DEBUG -  characteristic 0000fff1-0000-1000-8000-00805f9b34fb (Handle: 51): Vendor specific = [00:00:00]
found effective uuid 0000fff1-0000-1000-8000-00805f9b34fb for matcher 0000fff1-
found effective uuid 0000fff1-0000-1000-8000-00805f9b34fb for matcher 0000fff1-
found effective uuid 0000fff1-0000-1000-8000-00805f9b34fb for matcher 0000fff1-
found effective uuid 0000fff1-0000-1000-8000-00805f9b34fb for matcher 0000fff1-
2021-09-09 19:00:12,581 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 53): Characteristic User Description handle 53
2021-09-09 19:00:12,581 - lelo-f1-sdk-client - DEBUG - service 25 -> Device Information
2021-09-09 19:00:12,634 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a50-0000-1000-8000-00805f9b34fb (Handle: 42): PnP ID = [01:0D:00:00:00:10:01]
found effective uuid 00002a50-0000-1000-8000-00805f9b34fb for matcher 00002a50-
2021-09-09 19:00:12,694 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a2a-0000-1000-8000-00805f9b34fb (Handle: 40): IEEE 11073-20601 Regulatory Cert. Data List = [FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C]
found effective uuid 00002a2a-0000-1000-8000-00805f9b34fb for matcher 00002a2a-
2021-09-09 19:00:12,754 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a29-0000-1000-8000-00805f9b34fb (Handle: 38): Manufacturer Name String = [4C:45:4C:4F]
found effective uuid 00002a29-0000-1000-8000-00805f9b34fb for matcher 00002a29-
2021-09-09 19:00:12,814 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a28-0000-1000-8000-00805f9b34fb (Handle: 36): Software Revision String = [46:31:53:56:32:20:52:45:56:2E:42]
found effective uuid 00002a28-0000-1000-8000-00805f9b34fb for matcher 00002a28-
2021-09-09 19:00:12,874 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a27-0000-1000-8000-00805f9b34fb (Handle: 34): Hardware Revision String = [46:31:53:56:32:20:52:45:56:2E:44]
found effective uuid 00002a27-0000-1000-8000-00805f9b34fb for matcher 00002a27-
2021-09-09 19:00:12,935 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a26-0000-1000-8000-00805f9b34fb (Handle: 32): Firmware Revision String = [46:31:53:56:32:20:73:76:6E:20:32:33:39]
found effective uuid 00002a26-0000-1000-8000-00805f9b34fb for matcher 00002a26-
2021-09-09 19:00:12,994 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a25-0000-1000-8000-00805f9b34fb (Handle: 30): Serial Number String = [53:65:72:69:61:6C:20:4E:75:6D:62:65:72]
found effective uuid 00002a25-0000-1000-8000-00805f9b34fb for matcher 00002a25-
2021-09-09 19:00:13,054 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a24-0000-1000-8000-00805f9b34fb (Handle: 28): Model Number String = [46:31:53:56:32:58]
found effective uuid 00002a24-0000-1000-8000-00805f9b34fb for matcher 00002a24-
2021-09-09 19:00:13,114 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a23-0000-1000-8000-00805f9b34fb (Handle: 26): System ID = [F8:8E:C8:00:00:F9:81:00]
found effective uuid 00002a23-0000-1000-8000-00805f9b34fb for matcher 00002a23-
2021-09-09 19:00:13,114 - lelo-f1-sdk-client - DEBUG - service 9 -> Unknown
2021-09-09 19:00:13,173 - lelo-f1-sdk-client - DEBUG -  characteristic f000ffc4-0451-4000-b000-000000000000 (Handle: 21): Unknown = [cannot read: [org.bluez.Error.Failed] Operation failed with ATT error: 0x0e (Connection Rejected Due To Security Reasons)]
2021-09-09 19:00:13,173 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 24): Characteristic User Description handle 24
2021-09-09 19:00:13,173 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 23): Client Characteristic Configuration handle 23
2021-09-09 19:00:13,233 - lelo-f1-sdk-client - DEBUG -  characteristic f000ffc3-0451-4000-b000-000000000000 (Handle: 18): Unknown = [cannot read: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-09 19:00:13,233 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 20): Characteristic User Description handle 20
2021-09-09 19:00:13,293 - lelo-f1-sdk-client - DEBUG -  characteristic f000ffc2-0451-4000-b000-000000000000 (Handle: 14): Unknown = [cannot read: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-09 19:00:13,293 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 17): Characteristic User Description handle 17
2021-09-09 19:00:13,293 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 16): Client Characteristic Configuration handle 16
2021-09-09 19:00:13,353 - lelo-f1-sdk-client - DEBUG -  characteristic f000ffc1-0451-4000-b000-000000000000 (Handle: 10): Unknown = [cannot read: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-09 19:00:13,353 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 13): Characteristic User Description handle 13
2021-09-09 19:00:13,353 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 12): Client Characteristic Configuration handle 12
2021-09-09 19:00:13,353 - lelo-f1-sdk-client - DEBUG - service 8 -> Generic Attribute Profile
2021-09-09 19:00:13,414 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a10-0000-1000-8000-00805f9b34fb -> KEY STATE = [00:00:00:00:00:00:00:00]
2021-09-09 19:00:13,474 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a10-0000-1000-8000-00805f9b34fb -> SECURITY_ACCESS = [00:00:00:00:00:00:00:00]
2021-09-09 19:00:13,541 - lelo-f1-sdk-client - DEBUG - REGISTER 0000fff1-0000-1000-8000-00805f9b34fb -> MOTOR SPEED = [00:00:00]
2021-09-09 19:00:13,594 - lelo-f1-sdk-client - DEBUG - REGISTER 0000fff1-0000-1000-8000-00805f9b34fb -> MOTOR STOP = [00:00:00]
2021-09-09 19:00:13,654 - lelo-f1-sdk-client - DEBUG - REGISTER 0000fff1-0000-1000-8000-00805f9b34fb -> SHUTDOWN = [00:00:00]
2021-09-09 19:00:13,729 - lelo-f1-sdk-client - DEBUG - REGISTER 0000fff1-0000-1000-8000-00805f9b34fb -> VERIFY ACCELEROMETER = [00:00:00]
2021-09-09 19:00:13,804 - lelo-f1-sdk-client - DEBUG - REGISTER 00000aa3-0000-1000-8000-00805f9b34fb -> HALL = [00:00]
2021-09-09 19:00:13,894 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0b-0000-1000-8000-00805f9b34fb -> LENGTH = [00:00]
2021-09-09 19:00:13,954 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0c-0000-1000-8000-00805f9b34fb -> ACCELEROMETER = [01:C2:02:C3:03:0F:05]
2021-09-09 19:00:14,014 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0a-0000-1000-8000-00805f9b34fb -> PRESSURE_TEMPERATURE = [00:0C:81:FF:00:01:92:EF]
2021-09-09 19:00:14,076 - lelo-f1-sdk-client - DEBUG - REGISTER 00000aa4-0000-1000-8000-00805f9b34fb -> BUTTON = [06]
2021-09-09 19:00:14,134 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a04-0000-1000-8000-00805f9b34fb -> USER RECORD = [00:3D:00:03:99:00:00:00:00:00:00:00:00:00:00]
2021-09-09 19:00:14,194 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a04-0000-1000-8000-00805f9b34fb -> USER RECORD RESET = [00:3D:00:03:99:00:00:00:00:00:00:00:00:00:00]
2021-09-09 19:00:14,254 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a29-0000-1000-8000-00805f9b34fb -> MANUFACTURER NAME = [4C:45:4C:4F]
2021-09-09 19:00:14,314 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a24-0000-1000-8000-00805f9b34fb -> MODEL NUMBER = [46:31:53:56:32:58]
2021-09-09 19:00:14,374 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a27-0000-1000-8000-00805f9b34fb -> HARDWARE REVISION = [46:31:53:56:32:20:52:45:56:2E:44]
2021-09-09 19:00:14,434 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a26-0000-1000-8000-00805f9b34fb -> FIRMWARE REVISION = [46:31:53:56:32:20:73:76:6E:20:32:33:39]
2021-09-09 19:00:14,494 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a28-0000-1000-8000-00805f9b34fb -> SOFTWARE REVISION = [46:31:53:56:32:20:52:45:56:2E:42]
2021-09-09 19:00:14,554 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a06-0000-1000-8000-00805f9b34fb -> MAC ADDRESS = [00:81:F9:C8:8E:F8]
2021-09-09 19:00:14,615 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a05-0000-1000-8000-00805f9b34fb -> SERIAL NUMBER = [35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00]
2021-09-09 19:00:14,674 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a07-0000-1000-8000-00805f9b34fb -> CHIP ID = [08:89:70:7E:FA:3E:F8:F1]
2021-09-09 19:00:14,735 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a23-0000-1000-8000-00805f9b34fb -> SYSTEM ID = [F8:8E:C8:00:00:F9:81:00]
2021-09-09 19:00:14,794 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a25-0000-1000-8000-00805f9b34fb -> SERIAL NUMBER STRING = [53:65:72:69:61:6C:20:4E:75:6D:62:65:72]
2021-09-09 19:00:14,854 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a2a-0000-1000-8000-00805f9b34fb -> IEEE11073 = [FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C]
2021-09-09 19:00:14,914 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a50-0000-1000-8000-00805f9b34fb -> PNP ID = [01:0D:00:00:00:10:01]
2021-09-09 19:00:14,914 - lelo-f1-sdk-client - DEBUG - verifying communication layer
2021-09-09 19:00:14,914 - lelo-f1-sdk-client - DEBUG - sending ping to device
2021-09-09 19:00:14,914 - lelo-f1-sdk-client.io - DEBUG - READING 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER
2021-09-09 19:00:14,974 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1SV2X
2021-09-09 19:00:14,974 - lelo-f1-sdk-client - DEBUG - device responded to ping
2021-09-09 19:00:14,974 - root - INFO - Device connected!
2021-09-09 19:00:14,974 - lelo-f1-sdk-client - DEBUG - checking key state
2021-09-09 19:00:14,974 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-09 19:00:15,034 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00') from device register SECURITY_ACCESS
2021-09-09 19:00:15,034 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SECURITY_ACCESS to (0, 0, 0, 0, 0, 0, 0, 0)
2021-09-09 19:00:15,034 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (0, 0, 0, 0, 0, 0, 0, 0)
2021-09-09 19:00:15,034 - lelo-f1-sdk-client - INFO - Not authorized. Please, PRESS THE CENTRAL BUTTON
2021-09-09 19:00:17,036 - lelo-f1-sdk-client - DEBUG - checking key state
2021-09-09 19:00:17,036 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-09 19:00:17,794 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x08\xcey\x07\x01y\xf0\xc0') from device register SECURITY_ACCESS
2021-09-09 19:00:17,794 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SECURITY_ACCESS to (8, 206, 121, 7, 1, 121, 240, 192)
2021-09-09 19:00:17,794 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (8, 206, 121, 7, 1, 121, 240, 192)
2021-09-09 19:00:17,794 - lelo-f1-sdk-client.io - DEBUG - translating value (8, 206, 121, 7, 1, 121, 240, 192) to device register SECURITY_ACCESS bytes
2021-09-09 19:00:17,794 - lelo-f1-sdk-client.io - DEBUG - translated value to device register SECURITY_ACCESS bytes (8, 206, 121, 7, 1, 121, 240, 192)
2021-09-09 19:00:17,794 - lelo-f1-sdk-client.io - INFO - WRITE 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS << (8, 206, 121, 7, 1, 121, 240, 192)
2021-09-09 19:00:17,853 - lelo-f1-sdk-client.io - INFO - WRITE 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS DONE
2021-09-09 19:00:17,853 - root - INFO - Not authorized. Please, PRESS THE CENTRAL BUTTON
2021-09-09 19:00:19,854 - lelo-f1-sdk-client - DEBUG - checking key state
2021-09-09 19:00:19,854 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-09 19:00:20,794 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x01\x00\x00\x00\x00\x00\x00\x00') from device register SECURITY_ACCESS
2021-09-09 19:00:20,794 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SECURITY_ACCESS to (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-09 19:00:20,794 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-09 19:00:20,794 - root - DEBUG - now stopping motors for initialization
2021-09-09 19:00:20,794 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-09 19:00:20,854 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-09 19:00:20,854 - lelo-f1-sdk-client - INFO - sending motors stop signal
2021-09-09 19:00:20,854 - lelo-f1-sdk-client.io - DEBUG - translating value True to device register MOTOR STOP bytes
2021-09-09 19:00:20,854 - lelo-f1-sdk-client.io - DEBUG - translated value to device register MOTOR STOP bytes [1, 0, 0]
2021-09-09 19:00:20,854 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR STOP << [1, 0, 0]
2021-09-09 19:00:20,913 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR STOP DONE
2021-09-09 19:00:20,913 - lelo-f1-sdk-client.io - DEBUG - READING 00002a29-0000-1000-8000-00805f9b34fb MANUFACTURER NAME
2021-09-09 19:00:20,974 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'LELO') from device register MANUFACTURER NAME
2021-09-09 19:00:20,974 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MANUFACTURER NAME to LELO
2021-09-09 19:00:20,974 - lelo-f1-sdk-client.io - INFO - READ 00002a29-0000-1000-8000-00805f9b34fb MANUFACTURER NAME >> LELO
2021-09-09 19:00:20,974 - root - INFO - get_manufacturer_name: LELO
2021-09-09 19:00:20,974 - lelo-f1-sdk-client.io - DEBUG - READING 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER
2021-09-09 19:00:21,034 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1SV2X') from device register MODEL NUMBER
2021-09-09 19:00:21,034 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MODEL NUMBER to F1SV2X
2021-09-09 19:00:21,034 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1SV2X
2021-09-09 19:00:21,034 - root - INFO - get_model_number: F1SV2X
2021-09-09 19:00:21,034 - lelo-f1-sdk-client.io - DEBUG - READING 00002a27-0000-1000-8000-00805f9b34fb HARDWARE REVISION
2021-09-09 19:00:21,131 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1SV2 REV.D') from device register HARDWARE REVISION
2021-09-09 19:00:21,131 - lelo-f1-sdk-client.io - DEBUG - translated value from device register HARDWARE REVISION to F1SV2 REV.D
2021-09-09 19:00:21,131 - lelo-f1-sdk-client.io - INFO - READ 00002a27-0000-1000-8000-00805f9b34fb HARDWARE REVISION >> F1SV2 REV.D
2021-09-09 19:00:21,131 - root - INFO - get_hardware_revision: F1SV2 REV.D
2021-09-09 19:00:21,131 - lelo-f1-sdk-client.io - DEBUG - READING 00002a26-0000-1000-8000-00805f9b34fb FIRMWARE REVISION
2021-09-09 19:00:21,184 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1SV2 svn 239') from device register FIRMWARE REVISION
2021-09-09 19:00:21,184 - lelo-f1-sdk-client.io - DEBUG - translated value from device register FIRMWARE REVISION to F1SV2 svn 239
2021-09-09 19:00:21,184 - lelo-f1-sdk-client.io - INFO - READ 00002a26-0000-1000-8000-00805f9b34fb FIRMWARE REVISION >> F1SV2 svn 239
2021-09-09 19:00:21,184 - root - INFO - get_firmware_revision: F1SV2 svn 239
2021-09-09 19:00:21,184 - lelo-f1-sdk-client.io - DEBUG - READING 00002a28-0000-1000-8000-00805f9b34fb SOFTWARE REVISION
2021-09-09 19:00:21,244 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1SV2 REV.B') from device register SOFTWARE REVISION
2021-09-09 19:00:21,244 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SOFTWARE REVISION to F1SV2 REV.B
2021-09-09 19:00:21,244 - lelo-f1-sdk-client.io - INFO - READ 00002a28-0000-1000-8000-00805f9b34fb SOFTWARE REVISION >> F1SV2 REV.B
2021-09-09 19:00:21,244 - root - INFO - get_software_revision: F1SV2 REV.B
2021-09-09 19:00:21,244 - lelo-f1-sdk-client.io - DEBUG - READING 00000a06-0000-1000-8000-00805f9b34fb MAC ADDRESS
2021-09-09 19:00:21,304 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x81\xf9\xc8\x8e\xf8') from device register MAC ADDRESS
2021-09-09 19:00:21,304 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MAC ADDRESS to 00:81:F9:C8:8E:F8
2021-09-09 19:00:21,304 - lelo-f1-sdk-client.io - INFO - READ 00000a06-0000-1000-8000-00805f9b34fb MAC ADDRESS >> 00:81:F9:C8:8E:F8
2021-09-09 19:00:21,304 - root - INFO - get_mac_address: 00:81:F9:C8:8E:F8
2021-09-09 19:00:21,304 - lelo-f1-sdk-client.io - DEBUG - READING 00000a05-0000-1000-8000-00805f9b34fb SERIAL NUMBER
2021-09-09 19:00:21,364 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'5QsT49yue6M8Hc\x00') from device register SERIAL NUMBER
2021-09-09 19:00:21,364 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SERIAL NUMBER to 35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00
2021-09-09 19:00:21,364 - lelo-f1-sdk-client.io - INFO - READ 00000a05-0000-1000-8000-00805f9b34fb SERIAL NUMBER >> 35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00
2021-09-09 19:00:21,364 - root - INFO - get_serial_number: 35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00
2021-09-09 19:00:21,364 - lelo-f1-sdk-client.io - DEBUG - READING 00000a07-0000-1000-8000-00805f9b34fb CHIP ID
2021-09-09 19:00:21,424 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x08\x89p~\xfa>\xf8\xf1') from device register CHIP ID
2021-09-09 19:00:21,424 - lelo-f1-sdk-client.io - DEBUG - translated value from device register CHIP ID to 08:89:70:7E:FA:3E:F8:F1
2021-09-09 19:00:21,424 - lelo-f1-sdk-client.io - INFO - READ 00000a07-0000-1000-8000-00805f9b34fb CHIP ID >> 08:89:70:7E:FA:3E:F8:F1
2021-09-09 19:00:21,424 - root - INFO - get_chip_id: 08:89:70:7E:FA:3E:F8:F1
2021-09-09 19:00:21,424 - lelo-f1-sdk-client.io - DEBUG - READING 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER
2021-09-09 19:00:21,484 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1SV2X') from device register MODEL NUMBER
2021-09-09 19:00:21,484 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MODEL NUMBER to F1SV2X
2021-09-09 19:00:21,484 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1SV2X
2021-09-09 19:00:21,484 - root - INFO - get_device_name: F1SV2X
2021-09-09 19:00:21,484 - lelo-f1-sdk-client.io - DEBUG - READING 00002a23-0000-1000-8000-00805f9b34fb SYSTEM ID
2021-09-09 19:00:21,544 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\xf8\x8e\xc8\x00\x00\xf9\x81\x00') from device register SYSTEM ID
2021-09-09 19:00:21,544 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SYSTEM ID to F8:8E:C8:00:00:F9:81:00
2021-09-09 19:00:21,544 - lelo-f1-sdk-client.io - INFO - READ 00002a23-0000-1000-8000-00805f9b34fb SYSTEM ID >> F8:8E:C8:00:00:F9:81:00
2021-09-09 19:00:21,544 - root - INFO - get_system_id: F8:8E:C8:00:00:F9:81:00
2021-09-09 19:00:21,544 - lelo-f1-sdk-client.io - DEBUG - READING 00002a50-0000-1000-8000-00805f9b34fb PNP ID
2021-09-09 19:00:21,605 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x01\r\x00\x00\x00\x10\x01') from device register PNP ID
2021-09-09 19:00:21,605 - lelo-f1-sdk-client.io - DEBUG - translated value from device register PNP ID to 01:0D:00:00:00:10:01
2021-09-09 19:00:21,605 - lelo-f1-sdk-client.io - INFO - READ 00002a50-0000-1000-8000-00805f9b34fb PNP ID >> 01:0D:00:00:00:10:01
2021-09-09 19:00:21,605 - root - INFO - get_pnp_id: 01:0D:00:00:00:10:01
2021-09-09 19:00:21,606 - lelo-f1-sdk-client.io - DEBUG - READING 00002a2a-0000-1000-8000-00805f9b34fb IEEE11073
2021-09-09 19:00:21,664 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\xfe\x00experimental') from device register IEEE11073
2021-09-09 19:00:21,664 - lelo-f1-sdk-client.io - DEBUG - translated value from device register IEEE11073 to FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C
2021-09-09 19:00:21,664 - lelo-f1-sdk-client.io - INFO - READ 00002a2a-0000-1000-8000-00805f9b34fb IEEE11073 >> FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C
2021-09-09 19:00:21,664 - root - INFO - get_ieee_11073_20601: FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C
2021-09-09 19:00:21,664 - lelo-f1-sdk-client.io - DEBUG - READING 00002a19- BATTERY LEVEL
2021-09-09 19:00:21,664 - root - ERROR - error in main routine: Characteristic with UUID 00002a19- could not be found!
Traceback (most recent call last):
  File "sample_cli.py", line 69, in run
    logging.info('get_battery_level: %s', await client.get_battery_level())
  File "/home/yomli/Documents/dev/lelo-f1-python-sdk/lelof1py/async_client.py", line 462, in get_battery_level
    return await self.read(Registers.BATTERY_LEVEL)
  File "/home/yomli/Documents/dev/lelo-f1-python-sdk/lelof1py/async_client.py", line 304, in read
    read_direct = await self.bleak_client.read_gatt_char(register.address)
  File "/home/yomli/.local/lib/python3.6/site-packages/bleak/backends/bluezdbus/client.py", line 720, in read_gatt_char
    char_specifier
bleak.exc.BleakError: Characteristic with UUID 00002a19- could not be found!
2021-09-09 19:00:21,665 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-09 19:00:21,741 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-09 19:00:21,741 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8750121279491
2021-09-09 19:00:21,741 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8750121279491
2021-09-09 19:00:21,742 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8750121279491
2021-09-09 19:00:21,742 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-09 19:00:21,784 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-09 19:00:21,784 - lelo-f1-sdk-client - INFO - sending device shutdown signal
2021-09-09 19:00:21,785 - lelo-f1-sdk-client.io - DEBUG - translating value True to device register SHUTDOWN bytes
2021-09-09 19:00:21,785 - lelo-f1-sdk-client.io - DEBUG - translated value to device register SHUTDOWN bytes [1, 250]
2021-09-09 19:00:21,785 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb SHUTDOWN << [1, 250]
2021-09-09 19:00:27,815 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb SHUTDOWN DONE
2021-09-09 19:00:27,816 - lelo-f1-sdk-client - INFO - disconnecting from device
Traceback (most recent call last):
  File "sample_cli.py", line 125, in <module>
    loop.run_until_complete(run())
  File "/usr/lib/python3.6/asyncio/base_events.py", line 488, in run_until_complete
    return future.result()
  File "sample_cli.py", line 107, in run
    await client.shutdown()
  File "/home/yomli/Documents/dev/lelo-f1-python-sdk/lelof1py/async_client.py", line 215, in shutdown
    await self._disconnect()
  File "/home/yomli/Documents/dev/lelo-f1-python-sdk/lelof1py/async_client.py", line 222, in _disconnect
    await self.bleak_client.disconnect()
  File "/home/yomli/.local/lib/python3.6/site-packages/bleak/backends/bluezdbus/client.py", line 474, in disconnect
    assert self._bus is None
AssertionError
fabiofenoglio commented 3 years ago

@yomli thank you very much. I published a new branch: https://github.com/fabiofenoglio/lelo-f1-python-sdk/tree/f1sv2

can I ask you to test again the sample_cli.py from the new branch and see if that works?

yomli commented 3 years ago

Thanks for your work. The new branch fails at the security access step:

2021-09-10 12:27:40,096 - asyncio - DEBUG - Using selector: EpollSelector
2021-09-10 12:27:40,097 - lelo-f1-sdk-client - DEBUG - instantiating LELO F1 SDK client
2021-09-10 12:27:40,097 - root - INFO - running discovery to find your F1s ...
2021-09-10 12:27:40,097 - lelo-f1-sdk-client - DEBUG - discovering nearby devices
2021-09-10 12:27:45,168 - lelo-f1-sdk-client - DEBUG - found 1 nearby devices
2021-09-10 12:27:45,170 - lelo-f1-sdk-client - INFO - discovery found device with correct advertising name: F1SV2X, address=00:81:F9:C8:8E:F8
2021-09-10 12:27:45,170 - lelo-f1-sdk-client - DEBUG - of which 1 with correct name
2021-09-10 12:27:45,170 - lelo-f1-sdk-client - DEBUG - found a total of 1 devices responding to criteria
2021-09-10 12:27:45,170 - lelo-f1-sdk-client - DEBUG - discovery took 5 seconds
2021-09-10 12:27:45,170 - root - INFO - Device found! Trying to connect ...
2021-09-10 12:27:45,174 - lelo-f1-sdk-client - INFO - connecting to device 00:81:F9:C8:8E:F8
2021-09-10 12:27:45,174 - lelo-f1-sdk-client - DEBUG - attempting connection to device with address 00:81:F9:C8:8E:F8
2021-09-10 12:27:57,184 - lelo-f1-sdk-client - INFO - succesfully connected to device 00:81:F9:C8:8E:F8
2021-09-10 12:27:57,184 - lelo-f1-sdk-client - DEBUG - profiling the device
2021-09-10 12:27:57,184 - lelo-f1-sdk-client - DEBUG - profiling the device now
2021-09-10 12:27:57,184 - lelo-f1-sdk-client.io - DEBUG - READING 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER
2021-09-10 12:27:57,951 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1SV2X') from device register MODEL NUMBER
2021-09-10 12:27:57,952 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MODEL NUMBER to F1SV2X
2021-09-10 12:27:57,952 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1SV2X
2021-09-10 12:27:57,952 - lelo-f1-sdk-client - DEBUG - discovering protocol from device name: F1SV2X => 2
2021-09-10 12:27:58,012 - lelo-f1-sdk-client - DEBUG - root characteristic 102 -> 00000aa4-0000-1000-8000-00805f9b34fb (Handle: 102): Vendor specific = [06]
2021-09-10 12:27:58,072 - lelo-f1-sdk-client - DEBUG - root characteristic 98 -> 00000a0a-0000-1000-8000-00805f9b34fb (Handle: 98): Vendor specific = [00:0B:2A:FF:00:01:8B:DA]
2021-09-10 12:27:58,145 - lelo-f1-sdk-client - DEBUG - root characteristic 94 -> 00000a0c-0000-1000-8000-00805f9b34fb (Handle: 94): Vendor specific = [00:DE:00:D5:03:B3:05]
2021-09-10 12:27:58,192 - lelo-f1-sdk-client - DEBUG - root characteristic 90 -> 00000aa3-0000-1000-8000-00805f9b34fb (Handle: 90): Vendor specific = [00:00]
2021-09-10 12:27:58,252 - lelo-f1-sdk-client - DEBUG - root characteristic 87 -> 00000a11-0000-1000-8000-00805f9b34fb (Handle: 87): Vendor specific = [00]
2021-09-10 12:27:58,312 - lelo-f1-sdk-client - DEBUG - root characteristic 83 -> 00000a10-0000-1000-8000-00805f9b34fb (Handle: 83): Vendor specific = [00:00:00:00:00:00:00:00]
2021-09-10 12:27:58,371 - lelo-f1-sdk-client - DEBUG - root characteristic 79 -> 00000a00-0000-1000-8000-00805f9b34fb (Handle: 79): Vendor specific = [0F:E7]
2021-09-10 12:27:58,432 - lelo-f1-sdk-client - DEBUG - root characteristic 75 -> 00000a0b-0000-1000-8000-00805f9b34fb (Handle: 75): Vendor specific = [00:00]
2021-09-10 12:27:58,492 - lelo-f1-sdk-client - DEBUG - root characteristic 72 -> 00000a1a-0000-1000-8000-00805f9b34fb (Handle: 72): Vendor specific = [00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:27:58,551 - lelo-f1-sdk-client - DEBUG - root characteristic 69 -> 00000a08-0000-1000-8000-00805f9b34fb (Handle: 69): Vendor specific = [cannot read characteristic: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:27:58,612 - lelo-f1-sdk-client - DEBUG - root characteristic 66 -> 00000a04-0000-1000-8000-00805f9b34fb (Handle: 66): Vendor specific = [00:41:00:03:D9:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:27:58,672 - lelo-f1-sdk-client - DEBUG - root characteristic 63 -> 00000a07-0000-1000-8000-00805f9b34fb (Handle: 63): Vendor specific = [08:89:70:7E:FA:3E:F8:F1]
2021-09-10 12:27:58,732 - lelo-f1-sdk-client - DEBUG - root characteristic 60 -> 00000a05-0000-1000-8000-00805f9b34fb (Handle: 60): Vendor specific = [35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00]
2021-09-10 12:27:58,792 - lelo-f1-sdk-client - DEBUG - root characteristic 57 -> 00000a06-0000-1000-8000-00805f9b34fb (Handle: 57): Vendor specific = [00:81:F9:C8:8E:F8]
2021-09-10 12:27:58,852 - lelo-f1-sdk-client - DEBUG - root characteristic 54 -> 0000fff2-0000-1000-8000-00805f9b34fb (Handle: 54): Vendor specific = [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:27:58,911 - lelo-f1-sdk-client - DEBUG - root characteristic 51 -> 0000fff1-0000-1000-8000-00805f9b34fb (Handle: 51): Vendor specific = [00:00:00]
2021-09-10 12:27:58,972 - lelo-f1-sdk-client - DEBUG - root characteristic 42 -> 00002a50-0000-1000-8000-00805f9b34fb (Handle: 42): PnP ID = [01:0D:00:00:00:10:01]
2021-09-10 12:27:59,031 - lelo-f1-sdk-client - DEBUG - root characteristic 40 -> 00002a2a-0000-1000-8000-00805f9b34fb (Handle: 40): IEEE 11073-20601 Regulatory Cert. Data List = [FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C]
2021-09-10 12:27:59,098 - lelo-f1-sdk-client - DEBUG - root characteristic 38 -> 00002a29-0000-1000-8000-00805f9b34fb (Handle: 38): Manufacturer Name String = [4C:45:4C:4F]
2021-09-10 12:27:59,153 - lelo-f1-sdk-client - DEBUG - root characteristic 36 -> 00002a28-0000-1000-8000-00805f9b34fb (Handle: 36): Software Revision String = [46:31:53:56:32:20:52:45:56:2E:42]
2021-09-10 12:27:59,212 - lelo-f1-sdk-client - DEBUG - root characteristic 34 -> 00002a27-0000-1000-8000-00805f9b34fb (Handle: 34): Hardware Revision String = [46:31:53:56:32:20:52:45:56:2E:44]
2021-09-10 12:27:59,272 - lelo-f1-sdk-client - DEBUG - root characteristic 32 -> 00002a26-0000-1000-8000-00805f9b34fb (Handle: 32): Firmware Revision String = [46:31:53:56:32:20:73:76:6E:20:32:33:39]
2021-09-10 12:27:59,332 - lelo-f1-sdk-client - DEBUG - root characteristic 30 -> 00002a25-0000-1000-8000-00805f9b34fb (Handle: 30): Serial Number String = [53:65:72:69:61:6C:20:4E:75:6D:62:65:72]
2021-09-10 12:27:59,392 - lelo-f1-sdk-client - DEBUG - root characteristic 28 -> 00002a24-0000-1000-8000-00805f9b34fb (Handle: 28): Model Number String = [46:31:53:56:32:58]
2021-09-10 12:27:59,451 - lelo-f1-sdk-client - DEBUG - root characteristic 26 -> 00002a23-0000-1000-8000-00805f9b34fb (Handle: 26): System ID = [F8:8E:C8:00:00:F9:81:00]
2021-09-10 12:27:59,511 - lelo-f1-sdk-client - DEBUG - root characteristic 21 -> f000ffc4-0451-4000-b000-000000000000 (Handle: 21): Unknown = [cannot read characteristic: [org.bluez.Error.Failed] Operation failed with ATT error: 0x0e (Connection Rejected Due To Security Reasons)]
2021-09-10 12:27:59,571 - lelo-f1-sdk-client - DEBUG - root characteristic 18 -> f000ffc3-0451-4000-b000-000000000000 (Handle: 18): Unknown = [cannot read characteristic: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:27:59,631 - lelo-f1-sdk-client - DEBUG - root characteristic 14 -> f000ffc2-0451-4000-b000-000000000000 (Handle: 14): Unknown = [cannot read characteristic: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:27:59,692 - lelo-f1-sdk-client - DEBUG - root characteristic 10 -> f000ffc1-0451-4000-b000-000000000000 (Handle: 10): Unknown = [cannot read characteristic: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:27:59,692 - lelo-f1-sdk-client - DEBUG - service 50 -> Vendor specific
2021-09-10 12:27:59,752 - lelo-f1-sdk-client - DEBUG -  characteristic 00000aa4-0000-1000-8000-00805f9b34fb (Handle: 102): Vendor specific = [06]
2021-09-10 12:27:59,752 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 105): Characteristic User Description handle 105
2021-09-10 12:27:59,752 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 104): Client Characteristic Configuration handle 104
2021-09-10 12:27:59,813 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a0a-0000-1000-8000-00805f9b34fb (Handle: 98): Vendor specific = [00:0B:2B:FF:00:01:8B:D8]
2021-09-10 12:27:59,813 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 101): Characteristic User Description handle 101
2021-09-10 12:27:59,813 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 100): Client Characteristic Configuration handle 100
2021-09-10 12:27:59,879 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a0c-0000-1000-8000-00805f9b34fb (Handle: 94): Vendor specific = [01:04:01:12:03:B4:05]
2021-09-10 12:27:59,879 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 97): Characteristic User Description handle 97
2021-09-10 12:27:59,879 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 96): Client Characteristic Configuration handle 96
2021-09-10 12:27:59,962 - lelo-f1-sdk-client - DEBUG -  characteristic 00000aa3-0000-1000-8000-00805f9b34fb (Handle: 90): Vendor specific = [00:00]
2021-09-10 12:27:59,962 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 93): Characteristic User Description handle 93
2021-09-10 12:27:59,962 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 92): Client Characteristic Configuration handle 92
2021-09-10 12:28:00,022 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a11-0000-1000-8000-00805f9b34fb (Handle: 87): Vendor specific = [00]
2021-09-10 12:28:00,022 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 89): Characteristic User Description handle 89
2021-09-10 12:28:00,082 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a10-0000-1000-8000-00805f9b34fb (Handle: 83): Vendor specific = [00:00:00:00:00:00:00:00]
2021-09-10 12:28:00,082 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 86): Characteristic User Description handle 86
2021-09-10 12:28:00,082 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 85): Client Characteristic Configuration handle 85
2021-09-10 12:28:00,145 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a00-0000-1000-8000-00805f9b34fb (Handle: 79): Vendor specific = [0F:E7]
2021-09-10 12:28:00,145 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 82): Characteristic User Description handle 82
2021-09-10 12:28:00,145 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 81): Client Characteristic Configuration handle 81
2021-09-10 12:28:00,202 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a0b-0000-1000-8000-00805f9b34fb (Handle: 75): Vendor specific = [00:00]
2021-09-10 12:28:00,202 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 78): Characteristic User Description handle 78
2021-09-10 12:28:00,202 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 77): Client Characteristic Configuration handle 77
2021-09-10 12:28:00,262 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a1a-0000-1000-8000-00805f9b34fb (Handle: 72): Vendor specific = [00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:28:00,262 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 74): Characteristic User Description handle 74
2021-09-10 12:28:00,321 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a08-0000-1000-8000-00805f9b34fb (Handle: 69): Vendor specific = [cannot read service item: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:28:00,321 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 71): Characteristic User Description handle 71
2021-09-10 12:28:00,382 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a04-0000-1000-8000-00805f9b34fb (Handle: 66): Vendor specific = [00:41:00:03:D9:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:28:00,382 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 68): Characteristic User Description handle 68
2021-09-10 12:28:00,442 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a07-0000-1000-8000-00805f9b34fb (Handle: 63): Vendor specific = [08:89:70:7E:FA:3E:F8:F1]
2021-09-10 12:28:00,442 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 65): Characteristic User Description handle 65
2021-09-10 12:28:00,502 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a05-0000-1000-8000-00805f9b34fb (Handle: 60): Vendor specific = [35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00]
2021-09-10 12:28:00,502 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 62): Characteristic User Description handle 62
2021-09-10 12:28:00,561 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a06-0000-1000-8000-00805f9b34fb (Handle: 57): Vendor specific = [00:81:F9:C8:8E:F8]
2021-09-10 12:28:00,562 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 59): Characteristic User Description handle 59
2021-09-10 12:28:00,622 - lelo-f1-sdk-client - DEBUG -  characteristic 0000fff2-0000-1000-8000-00805f9b34fb (Handle: 54): Vendor specific = [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:28:00,622 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 56): Characteristic User Description handle 56
2021-09-10 12:28:00,682 - lelo-f1-sdk-client - DEBUG -  characteristic 0000fff1-0000-1000-8000-00805f9b34fb (Handle: 51): Vendor specific = [00:00:00]
2021-09-10 12:28:00,682 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 53): Characteristic User Description handle 53
2021-09-10 12:28:00,682 - lelo-f1-sdk-client - DEBUG - service 25 -> Device Information
2021-09-10 12:28:00,742 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a50-0000-1000-8000-00805f9b34fb (Handle: 42): PnP ID = [01:0D:00:00:00:10:01]
2021-09-10 12:28:00,802 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a2a-0000-1000-8000-00805f9b34fb (Handle: 40): IEEE 11073-20601 Regulatory Cert. Data List = [FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C]
2021-09-10 12:28:00,862 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a29-0000-1000-8000-00805f9b34fb (Handle: 38): Manufacturer Name String = [4C:45:4C:4F]
2021-09-10 12:28:00,922 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a28-0000-1000-8000-00805f9b34fb (Handle: 36): Software Revision String = [46:31:53:56:32:20:52:45:56:2E:42]
2021-09-10 12:28:00,982 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a27-0000-1000-8000-00805f9b34fb (Handle: 34): Hardware Revision String = [46:31:53:56:32:20:52:45:56:2E:44]
2021-09-10 12:28:01,042 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a26-0000-1000-8000-00805f9b34fb (Handle: 32): Firmware Revision String = [46:31:53:56:32:20:73:76:6E:20:32:33:39]
2021-09-10 12:28:01,102 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a25-0000-1000-8000-00805f9b34fb (Handle: 30): Serial Number String = [53:65:72:69:61:6C:20:4E:75:6D:62:65:72]
2021-09-10 12:28:01,162 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a24-0000-1000-8000-00805f9b34fb (Handle: 28): Model Number String = [46:31:53:56:32:58]
2021-09-10 12:28:01,222 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a23-0000-1000-8000-00805f9b34fb (Handle: 26): System ID = [F8:8E:C8:00:00:F9:81:00]
2021-09-10 12:28:01,222 - lelo-f1-sdk-client - DEBUG - service 9 -> Unknown
2021-09-10 12:28:01,281 - lelo-f1-sdk-client - DEBUG -  characteristic f000ffc4-0451-4000-b000-000000000000 (Handle: 21): Unknown = [cannot read service item: [org.bluez.Error.Failed] Operation failed with ATT error: 0x0e (Connection Rejected Due To Security Reasons)]
2021-09-10 12:28:01,281 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 24): Characteristic User Description handle 24
2021-09-10 12:28:01,281 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 23): Client Characteristic Configuration handle 23
2021-09-10 12:28:01,341 - lelo-f1-sdk-client - DEBUG -  characteristic f000ffc3-0451-4000-b000-000000000000 (Handle: 18): Unknown = [cannot read service item: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:28:01,341 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 20): Characteristic User Description handle 20
2021-09-10 12:28:01,401 - lelo-f1-sdk-client - DEBUG -  characteristic f000ffc2-0451-4000-b000-000000000000 (Handle: 14): Unknown = [cannot read service item: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:28:01,401 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 17): Characteristic User Description handle 17
2021-09-10 12:28:01,401 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 16): Client Characteristic Configuration handle 16
2021-09-10 12:28:01,461 - lelo-f1-sdk-client - DEBUG -  characteristic f000ffc1-0451-4000-b000-000000000000 (Handle: 10): Unknown = [cannot read service item: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:28:01,461 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 13): Characteristic User Description handle 13
2021-09-10 12:28:01,461 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 12): Client Characteristic Configuration handle 12
2021-09-10 12:28:01,461 - lelo-f1-sdk-client - DEBUG - service 8 -> Generic Attribute Profile
2021-09-10 12:28:01,461 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0f-0000-1000-8000-00805f9b34fb -> KEY STATE = [cannot read register: Characteristic with UUID 00000a0f-0000-1000-8000-00805f9b34fb could not be found!]
2021-09-10 12:28:01,522 - lelo-f1-sdk-client - DEBUG - REGISTER 0000fff1-0000-1000-8000-00805f9b34fb -> MOTOR SPEED = [00:00:00]
2021-09-10 12:28:01,582 - lelo-f1-sdk-client - DEBUG - REGISTER 0000fff1-0000-1000-8000-00805f9b34fb -> MOTOR STOP = [00:00:00]
2021-09-10 12:28:01,642 - lelo-f1-sdk-client - DEBUG - REGISTER 0000fff1-0000-1000-8000-00805f9b34fb -> SHUTDOWN = [00:00:00]
2021-09-10 12:28:01,701 - lelo-f1-sdk-client - DEBUG - REGISTER 0000fff1-0000-1000-8000-00805f9b34fb -> VERIFY ACCELEROMETER = [00:00:00]
2021-09-10 12:28:01,702 - lelo-f1-sdk-client - DEBUG - REGISTER 00000aa5-0000-1000-8000-00805f9b34fb -> MOTOR WORK ON TOUCH = [cannot read register: Characteristic with UUID 00000aa5-0000-1000-8000-00805f9b34fb could not be found!]
2021-09-10 12:28:01,702 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0d-0000-1000-8000-00805f9b34fb -> VIBRATOR SETTING = [cannot read register: Characteristic with UUID 00000a0d-0000-1000-8000-00805f9b34fb could not be found!]
2021-09-10 12:28:01,702 - lelo-f1-sdk-client - DEBUG - REGISTER 00000aa1-0000-1000-8000-00805f9b34fb -> WAKE UP = [cannot read register: Characteristic with UUID 00000aa1-0000-1000-8000-00805f9b34fb could not be found!]
2021-09-10 12:28:01,762 - lelo-f1-sdk-client - DEBUG - REGISTER 00000aa3-0000-1000-8000-00805f9b34fb -> HALL = [00:00]
2021-09-10 12:28:01,822 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0b-0000-1000-8000-00805f9b34fb -> LENGTH = [00:00]
2021-09-10 12:28:01,882 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0c-0000-1000-8000-00805f9b34fb -> ACCELEROMETER = [00:E0:01:16:03:B8:05]
2021-09-10 12:28:01,942 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0a-0000-1000-8000-00805f9b34fb -> PRESSURE_TEMPERATURE = [00:0B:2E:FF:00:01:8B:E4]
2021-09-10 12:28:02,002 - lelo-f1-sdk-client - DEBUG - REGISTER 00000aa4-0000-1000-8000-00805f9b34fb -> BUTTON = [06]
2021-09-10 12:28:02,062 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a04-0000-1000-8000-00805f9b34fb -> USER RECORD = [00:41:00:03:D9:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:28:02,122 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a04-0000-1000-8000-00805f9b34fb -> USER RECORD RESET = [00:41:00:03:D9:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:28:02,212 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a29-0000-1000-8000-00805f9b34fb -> MANUFACTURER NAME = [4C:45:4C:4F]
2021-09-10 12:28:02,272 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a24-0000-1000-8000-00805f9b34fb -> MODEL NUMBER = [46:31:53:56:32:58]
2021-09-10 12:28:02,332 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a27-0000-1000-8000-00805f9b34fb -> HARDWARE REVISION = [46:31:53:56:32:20:52:45:56:2E:44]
2021-09-10 12:28:02,398 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a26-0000-1000-8000-00805f9b34fb -> FIRMWARE REVISION = [46:31:53:56:32:20:73:76:6E:20:32:33:39]
2021-09-10 12:28:02,452 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a28-0000-1000-8000-00805f9b34fb -> SOFTWARE REVISION = [46:31:53:56:32:20:52:45:56:2E:42]
2021-09-10 12:28:02,512 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a06-0000-1000-8000-00805f9b34fb -> MAC ADDRESS = [00:81:F9:C8:8E:F8]
2021-09-10 12:28:02,572 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a05-0000-1000-8000-00805f9b34fb -> SERIAL NUMBER = [35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00]
2021-09-10 12:28:02,573 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a19-0000-1000-8000-00805f9b34fb -> BATTERY LEVEL = [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:28:02,631 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a07-0000-1000-8000-00805f9b34fb -> CHIP ID = [08:89:70:7E:FA:3E:F8:F1]
2021-09-10 12:28:02,632 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a00-0000-1000-8000-00805f9b34fb -> DEVICE NAME = [46:31:53:56:32:58]
2021-09-10 12:28:02,632 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a01-0000-1000-8000-00805f9b34fb -> APPEARANCE = [cannot read register: Characteristic with UUID 00002a01-0000-1000-8000-00805f9b34fb could not be found!]
2021-09-10 12:28:02,632 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a04-0000-1000-8000-00805f9b34fb -> PPCP = [cannot read register: Characteristic with UUID 00002a04-0000-1000-8000-00805f9b34fb could not be found!]
2021-09-10 12:28:02,698 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a23-0000-1000-8000-00805f9b34fb -> SYSTEM ID = [F8:8E:C8:00:00:F9:81:00]
2021-09-10 12:28:02,752 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a25-0000-1000-8000-00805f9b34fb -> SERIAL NUMBER STRING = [53:65:72:69:61:6C:20:4E:75:6D:62:65:72]
2021-09-10 12:28:02,812 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a2a-0000-1000-8000-00805f9b34fb -> IEEE11073 = [FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C]
2021-09-10 12:28:02,871 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a50-0000-1000-8000-00805f9b34fb -> PNP ID = [01:0D:00:00:00:10:01]
2021-09-10 12:28:02,932 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a10-0000-1000-8000-00805f9b34fb -> SECURITY_ACCESS = [00:00:00:00:00:00:00:00]
2021-09-10 12:28:02,932 - lelo-f1-sdk-client - DEBUG - verifying communication layer
2021-09-10 12:28:02,932 - lelo-f1-sdk-client - DEBUG - sending ping to device
2021-09-10 12:28:02,932 - lelo-f1-sdk-client.io - DEBUG - READING 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER
2021-09-10 12:28:02,992 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1SV2X
2021-09-10 12:28:02,992 - lelo-f1-sdk-client - DEBUG - device responded to ping
2021-09-10 12:28:02,992 - root - INFO - Device connected!
2021-09-10 12:28:02,992 - lelo-f1-sdk-client - DEBUG - checking key state
2021-09-10 12:28:02,992 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:28:03,052 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00') from device register SECURITY_ACCESS
2021-09-10 12:28:03,052 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SECURITY_ACCESS to (0, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:28:03,052 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (0, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:28:03,052 - lelo-f1-sdk-client - DEBUG - key state: 0, not authorized
2021-09-10 12:28:03,052 - lelo-f1-sdk-client - INFO - Not authorized. Please, PRESS THE CENTRAL BUTTON
2021-09-10 12:28:03,052 - root - INFO - Not authorized. Please, PRESS THE CENTRAL BUTTON
2021-09-10 12:28:05,054 - lelo-f1-sdk-client - DEBUG - checking key state
2021-09-10 12:28:05,055 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:28:05,931 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x08\xcey\x07\x01y\xf0\xc0') from device register SECURITY_ACCESS
2021-09-10 12:28:05,932 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SECURITY_ACCESS to (8, 206, 121, 7, 1, 121, 240, 192)
2021-09-10 12:28:05,932 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (8, 206, 121, 7, 1, 121, 240, 192)
2021-09-10 12:28:05,932 - lelo-f1-sdk-client - DEBUG - key state: got password, checking for security access write
2021-09-10 12:28:05,932 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource -9223363301226660558
2021-09-10 12:28:05,932 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource -9223363301226660558
2021-09-10 12:28:05,932 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource -9223363301226660558
2021-09-10 12:28:05,932 - root - ERROR - error in main routine: write_security_access() missing 1 required positional argument: 'value'
Traceback (most recent call last):
  File "sample_cli.py", line 47, in run
    while not await client.get_key_state():
  File "/home/yomli/Documents/dev/test/lelo-f1-python-sdk/lelof1py/async_client.py", line 681, in get_key_state
    await self.write_security_access()
  File "/home/yomli/Documents/dev/test/lelo-f1-python-sdk/lelof1py/helpers.py", line 20, in synchronized_wrapper
    return f(*args, **kw)
TypeError: write_security_access() missing 1 required positional argument: 'value'
2021-09-10 12:28:05,933 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:28:05,992 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (8, 206, 121, 7, 1, 121, 240, 192)
2021-09-10 12:28:05,992 - lelo-f1-sdk-client - DEBUG - key state: got password, checking for security access write
2021-09-10 12:28:05,992 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource -9223363301226660558
2021-09-10 12:28:05,992 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource -9223363301226660558
2021-09-10 12:28:05,992 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource -9223363301226660558
Traceback (most recent call last):
  File "sample_cli.py", line 113, in <module>
    loop.run_until_complete(run())
  File "/usr/lib/python3.6/asyncio/base_events.py", line 488, in run_until_complete
    return future.result()
  File "sample_cli.py", line 94, in run
    if await client.is_authorized():
  File "/home/yomli/Documents/dev/test/lelo-f1-python-sdk/lelof1py/async_client.py", line 255, in is_authorized
    return self.is_connected() and await self.get_key_state(silent=True) 
  File "/home/yomli/Documents/dev/test/lelo-f1-python-sdk/lelof1py/async_client.py", line 681, in get_key_state
    await self.write_security_access()
  File "/home/yomli/Documents/dev/test/lelo-f1-python-sdk/lelof1py/helpers.py", line 20, in synchronized_wrapper
    return f(*args, **kw)
TypeError: write_security_access() missing 1 required positional argument: 'value'

Line 681 of async_client.py needs to be:

await self.write_security_access(value)

With that done, it works:

2021-09-10 12:34:55,638 - asyncio - DEBUG - Using selector: EpollSelector
2021-09-10 12:34:55,639 - lelo-f1-sdk-client - DEBUG - instantiating LELO F1 SDK client
2021-09-10 12:34:55,639 - root - INFO - running discovery to find your F1s ...
2021-09-10 12:34:55,639 - lelo-f1-sdk-client - DEBUG - discovering nearby devices
2021-09-10 12:35:00,721 - lelo-f1-sdk-client - DEBUG - found 1 nearby devices
2021-09-10 12:35:00,721 - lelo-f1-sdk-client - INFO - discovery found device with correct advertising name: F1SV2X, address=00:81:F9:C8:8E:F8
2021-09-10 12:35:00,721 - lelo-f1-sdk-client - DEBUG - of which 1 with correct name
2021-09-10 12:35:00,721 - lelo-f1-sdk-client - DEBUG - found a total of 1 devices responding to criteria
2021-09-10 12:35:00,722 - lelo-f1-sdk-client - DEBUG - discovery took 5 seconds
2021-09-10 12:35:00,722 - root - INFO - Device found! Trying to connect ...
2021-09-10 12:35:00,725 - lelo-f1-sdk-client - INFO - connecting to device 00:81:F9:C8:8E:F8
2021-09-10 12:35:00,725 - lelo-f1-sdk-client - DEBUG - attempting connection to device with address 00:81:F9:C8:8E:F8
2021-09-10 12:35:10,168 - lelo-f1-sdk-client - INFO - succesfully connected to device 00:81:F9:C8:8E:F8
2021-09-10 12:35:10,169 - lelo-f1-sdk-client - DEBUG - profiling the device
2021-09-10 12:35:10,169 - lelo-f1-sdk-client - DEBUG - profiling the device now
2021-09-10 12:35:10,169 - lelo-f1-sdk-client.io - DEBUG - READING 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER
2021-09-10 12:35:11,005 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1SV2X') from device register MODEL NUMBER
2021-09-10 12:35:11,006 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MODEL NUMBER to F1SV2X
2021-09-10 12:35:11,006 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1SV2X
2021-09-10 12:35:11,006 - lelo-f1-sdk-client - DEBUG - discovering protocol from device name: F1SV2X => 2
2021-09-10 12:35:11,065 - lelo-f1-sdk-client - DEBUG - root characteristic 102 -> 00000aa4-0000-1000-8000-00805f9b34fb (Handle: 102): Vendor specific = [06]
2021-09-10 12:35:11,125 - lelo-f1-sdk-client - DEBUG - root characteristic 98 -> 00000a0a-0000-1000-8000-00805f9b34fb (Handle: 98): Vendor specific = [00:0B:B2:FF:00:01:8E:5D]
2021-09-10 12:35:11,186 - lelo-f1-sdk-client - DEBUG - root characteristic 94 -> 00000a0c-0000-1000-8000-00805f9b34fb (Handle: 94): Vendor specific = [00:36:00:E1:03:CD:01]
2021-09-10 12:35:11,245 - lelo-f1-sdk-client - DEBUG - root characteristic 90 -> 00000aa3-0000-1000-8000-00805f9b34fb (Handle: 90): Vendor specific = [00:00]
2021-09-10 12:35:11,305 - lelo-f1-sdk-client - DEBUG - root characteristic 87 -> 00000a11-0000-1000-8000-00805f9b34fb (Handle: 87): Vendor specific = [00]
2021-09-10 12:35:11,372 - lelo-f1-sdk-client - DEBUG - root characteristic 83 -> 00000a10-0000-1000-8000-00805f9b34fb (Handle: 83): Vendor specific = [00:00:00:00:00:00:00:00]
2021-09-10 12:35:11,425 - lelo-f1-sdk-client - DEBUG - root characteristic 79 -> 00000a00-0000-1000-8000-00805f9b34fb (Handle: 79): Vendor specific = [0F:E2]
2021-09-10 12:35:11,486 - lelo-f1-sdk-client - DEBUG - root characteristic 75 -> 00000a0b-0000-1000-8000-00805f9b34fb (Handle: 75): Vendor specific = [00:00]
2021-09-10 12:35:11,546 - lelo-f1-sdk-client - DEBUG - root characteristic 72 -> 00000a1a-0000-1000-8000-00805f9b34fb (Handle: 72): Vendor specific = [00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:35:11,605 - lelo-f1-sdk-client - DEBUG - root characteristic 69 -> 00000a08-0000-1000-8000-00805f9b34fb (Handle: 69): Vendor specific = [cannot read characteristic: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:35:11,666 - lelo-f1-sdk-client - DEBUG - root characteristic 66 -> 00000a04-0000-1000-8000-00805f9b34fb (Handle: 66): Vendor specific = [00:44:00:03:F4:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:35:11,726 - lelo-f1-sdk-client - DEBUG - root characteristic 63 -> 00000a07-0000-1000-8000-00805f9b34fb (Handle: 63): Vendor specific = [08:89:70:7E:FA:3E:F8:F1]
2021-09-10 12:35:11,786 - lelo-f1-sdk-client - DEBUG - root characteristic 60 -> 00000a05-0000-1000-8000-00805f9b34fb (Handle: 60): Vendor specific = [35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00]
2021-09-10 12:35:11,847 - lelo-f1-sdk-client - DEBUG - root characteristic 57 -> 00000a06-0000-1000-8000-00805f9b34fb (Handle: 57): Vendor specific = [00:81:F9:C8:8E:F8]
2021-09-10 12:35:11,936 - lelo-f1-sdk-client - DEBUG - root characteristic 54 -> 0000fff2-0000-1000-8000-00805f9b34fb (Handle: 54): Vendor specific = [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:35:11,996 - lelo-f1-sdk-client - DEBUG - root characteristic 51 -> 0000fff1-0000-1000-8000-00805f9b34fb (Handle: 51): Vendor specific = [00:00:00]
2021-09-10 12:35:12,056 - lelo-f1-sdk-client - DEBUG - root characteristic 42 -> 00002a50-0000-1000-8000-00805f9b34fb (Handle: 42): PnP ID = [01:0D:00:00:00:10:01]
2021-09-10 12:35:12,116 - lelo-f1-sdk-client - DEBUG - root characteristic 40 -> 00002a2a-0000-1000-8000-00805f9b34fb (Handle: 40): IEEE 11073-20601 Regulatory Cert. Data List = [FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C]
2021-09-10 12:35:12,175 - lelo-f1-sdk-client - DEBUG - root characteristic 38 -> 00002a29-0000-1000-8000-00805f9b34fb (Handle: 38): Manufacturer Name String = [4C:45:4C:4F]
2021-09-10 12:35:12,236 - lelo-f1-sdk-client - DEBUG - root characteristic 36 -> 00002a28-0000-1000-8000-00805f9b34fb (Handle: 36): Software Revision String = [46:31:53:56:32:20:52:45:56:2E:42]
2021-09-10 12:35:12,296 - lelo-f1-sdk-client - DEBUG - root characteristic 34 -> 00002a27-0000-1000-8000-00805f9b34fb (Handle: 34): Hardware Revision String = [46:31:53:56:32:20:52:45:56:2E:44]
2021-09-10 12:35:12,356 - lelo-f1-sdk-client - DEBUG - root characteristic 32 -> 00002a26-0000-1000-8000-00805f9b34fb (Handle: 32): Firmware Revision String = [46:31:53:56:32:20:73:76:6E:20:32:33:39]
2021-09-10 12:35:12,415 - lelo-f1-sdk-client - DEBUG - root characteristic 30 -> 00002a25-0000-1000-8000-00805f9b34fb (Handle: 30): Serial Number String = [53:65:72:69:61:6C:20:4E:75:6D:62:65:72]
2021-09-10 12:35:12,475 - lelo-f1-sdk-client - DEBUG - root characteristic 28 -> 00002a24-0000-1000-8000-00805f9b34fb (Handle: 28): Model Number String = [46:31:53:56:32:58]
2021-09-10 12:35:12,542 - lelo-f1-sdk-client - DEBUG - root characteristic 26 -> 00002a23-0000-1000-8000-00805f9b34fb (Handle: 26): System ID = [F8:8E:C8:00:00:F9:81:00]
2021-09-10 12:35:12,596 - lelo-f1-sdk-client - DEBUG - root characteristic 21 -> f000ffc4-0451-4000-b000-000000000000 (Handle: 21): Unknown = [cannot read characteristic: [org.bluez.Error.Failed] Operation failed with ATT error: 0x0e (Connection Rejected Due To Security Reasons)]
2021-09-10 12:35:12,655 - lelo-f1-sdk-client - DEBUG - root characteristic 18 -> f000ffc3-0451-4000-b000-000000000000 (Handle: 18): Unknown = [cannot read characteristic: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:35:12,715 - lelo-f1-sdk-client - DEBUG - root characteristic 14 -> f000ffc2-0451-4000-b000-000000000000 (Handle: 14): Unknown = [cannot read characteristic: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:35:12,775 - lelo-f1-sdk-client - DEBUG - root characteristic 10 -> f000ffc1-0451-4000-b000-000000000000 (Handle: 10): Unknown = [cannot read characteristic: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:35:12,775 - lelo-f1-sdk-client - DEBUG - service 50 -> Vendor specific
2021-09-10 12:35:12,842 - lelo-f1-sdk-client - DEBUG -  characteristic 00000aa4-0000-1000-8000-00805f9b34fb (Handle: 102): Vendor specific = [06]
2021-09-10 12:35:12,842 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 105): Characteristic User Description handle 105
2021-09-10 12:35:12,842 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 104): Client Characteristic Configuration handle 104
2021-09-10 12:35:12,895 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a0a-0000-1000-8000-00805f9b34fb (Handle: 98): Vendor specific = [00:0B:B3:FF:00:01:8E:62]
2021-09-10 12:35:12,895 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 101): Characteristic User Description handle 101
2021-09-10 12:35:12,896 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 100): Client Characteristic Configuration handle 100
2021-09-10 12:35:12,956 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a0c-0000-1000-8000-00805f9b34fb (Handle: 94): Vendor specific = [00:3C:00:DE:03:D4:01]
2021-09-10 12:35:12,956 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 97): Characteristic User Description handle 97
2021-09-10 12:35:12,956 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 96): Client Characteristic Configuration handle 96
2021-09-10 12:35:13,015 - lelo-f1-sdk-client - DEBUG -  characteristic 00000aa3-0000-1000-8000-00805f9b34fb (Handle: 90): Vendor specific = [00:00]
2021-09-10 12:35:13,016 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 93): Characteristic User Description handle 93
2021-09-10 12:35:13,016 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 92): Client Characteristic Configuration handle 92
2021-09-10 12:35:13,075 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a11-0000-1000-8000-00805f9b34fb (Handle: 87): Vendor specific = [00]
2021-09-10 12:35:13,076 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 89): Characteristic User Description handle 89
2021-09-10 12:35:13,136 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a10-0000-1000-8000-00805f9b34fb (Handle: 83): Vendor specific = [00:00:00:00:00:00:00:00]
2021-09-10 12:35:13,136 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 86): Characteristic User Description handle 86
2021-09-10 12:35:13,136 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 85): Client Characteristic Configuration handle 85
2021-09-10 12:35:13,195 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a00-0000-1000-8000-00805f9b34fb (Handle: 79): Vendor specific = [0F:E0]
2021-09-10 12:35:13,195 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 82): Characteristic User Description handle 82
2021-09-10 12:35:13,196 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 81): Client Characteristic Configuration handle 81
2021-09-10 12:35:13,255 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a0b-0000-1000-8000-00805f9b34fb (Handle: 75): Vendor specific = [00:00]
2021-09-10 12:35:13,256 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 78): Characteristic User Description handle 78
2021-09-10 12:35:13,256 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 77): Client Characteristic Configuration handle 77
2021-09-10 12:35:13,315 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a1a-0000-1000-8000-00805f9b34fb (Handle: 72): Vendor specific = [00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:35:13,316 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 74): Characteristic User Description handle 74
2021-09-10 12:35:13,374 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a08-0000-1000-8000-00805f9b34fb (Handle: 69): Vendor specific = [cannot read service item: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:35:13,375 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 71): Characteristic User Description handle 71
2021-09-10 12:35:13,436 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a04-0000-1000-8000-00805f9b34fb (Handle: 66): Vendor specific = [00:44:00:03:F4:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:35:13,436 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 68): Characteristic User Description handle 68
2021-09-10 12:35:13,495 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a07-0000-1000-8000-00805f9b34fb (Handle: 63): Vendor specific = [08:89:70:7E:FA:3E:F8:F1]
2021-09-10 12:35:13,496 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 65): Characteristic User Description handle 65
2021-09-10 12:35:13,556 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a05-0000-1000-8000-00805f9b34fb (Handle: 60): Vendor specific = [35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00]
2021-09-10 12:35:13,556 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 62): Characteristic User Description handle 62
2021-09-10 12:35:13,622 - lelo-f1-sdk-client - DEBUG -  characteristic 00000a06-0000-1000-8000-00805f9b34fb (Handle: 57): Vendor specific = [00:81:F9:C8:8E:F8]
2021-09-10 12:35:13,622 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 59): Characteristic User Description handle 59
2021-09-10 12:35:13,675 - lelo-f1-sdk-client - DEBUG -  characteristic 0000fff2-0000-1000-8000-00805f9b34fb (Handle: 54): Vendor specific = [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:35:13,676 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 56): Characteristic User Description handle 56
2021-09-10 12:35:13,735 - lelo-f1-sdk-client - DEBUG -  characteristic 0000fff1-0000-1000-8000-00805f9b34fb (Handle: 51): Vendor specific = [00:00:00]
2021-09-10 12:35:13,736 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 53): Characteristic User Description handle 53
2021-09-10 12:35:13,736 - lelo-f1-sdk-client - DEBUG - service 25 -> Device Information
2021-09-10 12:35:13,795 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a50-0000-1000-8000-00805f9b34fb (Handle: 42): PnP ID = [01:0D:00:00:00:10:01]
2021-09-10 12:35:13,887 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a2a-0000-1000-8000-00805f9b34fb (Handle: 40): IEEE 11073-20601 Regulatory Cert. Data List = [FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C]
2021-09-10 12:35:14,006 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a29-0000-1000-8000-00805f9b34fb (Handle: 38): Manufacturer Name String = [4C:45:4C:4F]
2021-09-10 12:35:14,065 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a28-0000-1000-8000-00805f9b34fb (Handle: 36): Software Revision String = [46:31:53:56:32:20:52:45:56:2E:42]
2021-09-10 12:35:14,126 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a27-0000-1000-8000-00805f9b34fb (Handle: 34): Hardware Revision String = [46:31:53:56:32:20:52:45:56:2E:44]
2021-09-10 12:35:14,185 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a26-0000-1000-8000-00805f9b34fb (Handle: 32): Firmware Revision String = [46:31:53:56:32:20:73:76:6E:20:32:33:39]
2021-09-10 12:35:14,245 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a25-0000-1000-8000-00805f9b34fb (Handle: 30): Serial Number String = [53:65:72:69:61:6C:20:4E:75:6D:62:65:72]
2021-09-10 12:35:14,305 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a24-0000-1000-8000-00805f9b34fb (Handle: 28): Model Number String = [46:31:53:56:32:58]
2021-09-10 12:35:14,365 - lelo-f1-sdk-client - DEBUG -  characteristic 00002a23-0000-1000-8000-00805f9b34fb (Handle: 26): System ID = [F8:8E:C8:00:00:F9:81:00]
2021-09-10 12:35:14,366 - lelo-f1-sdk-client - DEBUG - service 9 -> Unknown
2021-09-10 12:35:14,424 - lelo-f1-sdk-client - DEBUG -  characteristic f000ffc4-0451-4000-b000-000000000000 (Handle: 21): Unknown = [cannot read service item: [org.bluez.Error.Failed] Operation failed with ATT error: 0x0e (Connection Rejected Due To Security Reasons)]
2021-09-10 12:35:14,425 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 24): Characteristic User Description handle 24
2021-09-10 12:35:14,425 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 23): Client Characteristic Configuration handle 23
2021-09-10 12:35:14,485 - lelo-f1-sdk-client - DEBUG -  characteristic f000ffc3-0451-4000-b000-000000000000 (Handle: 18): Unknown = [cannot read service item: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:35:14,485 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 20): Characteristic User Description handle 20
2021-09-10 12:35:14,545 - lelo-f1-sdk-client - DEBUG -  characteristic f000ffc2-0451-4000-b000-000000000000 (Handle: 14): Unknown = [cannot read service item: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:35:14,545 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 17): Characteristic User Description handle 17
2021-09-10 12:35:14,545 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 16): Client Characteristic Configuration handle 16
2021-09-10 12:35:14,605 - lelo-f1-sdk-client - DEBUG -  characteristic f000ffc1-0451-4000-b000-000000000000 (Handle: 10): Unknown = [cannot read service item: [org.bluez.Error.NotPermitted] Read not permitted]
2021-09-10 12:35:14,605 - lelo-f1-sdk-client - DEBUG -      descriptor 00002901-0000-1000-8000-00805f9b34fb (Handle: 13): Characteristic User Description handle 13
2021-09-10 12:35:14,605 - lelo-f1-sdk-client - DEBUG -      descriptor 00002902-0000-1000-8000-00805f9b34fb (Handle: 12): Client Characteristic Configuration handle 12
2021-09-10 12:35:14,605 - lelo-f1-sdk-client - DEBUG - service 8 -> Generic Attribute Profile
2021-09-10 12:35:14,605 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0f-0000-1000-8000-00805f9b34fb -> KEY STATE = [cannot read register: Characteristic with UUID 00000a0f-0000-1000-8000-00805f9b34fb could not be found!]
2021-09-10 12:35:14,665 - lelo-f1-sdk-client - DEBUG - REGISTER 0000fff1-0000-1000-8000-00805f9b34fb -> MOTOR SPEED = [00:00:00]
2021-09-10 12:35:14,725 - lelo-f1-sdk-client - DEBUG - REGISTER 0000fff1-0000-1000-8000-00805f9b34fb -> MOTOR STOP = [00:00:00]
2021-09-10 12:35:14,792 - lelo-f1-sdk-client - DEBUG - REGISTER 0000fff1-0000-1000-8000-00805f9b34fb -> SHUTDOWN = [00:00:00]
2021-09-10 12:35:14,845 - lelo-f1-sdk-client - DEBUG - REGISTER 0000fff1-0000-1000-8000-00805f9b34fb -> VERIFY ACCELEROMETER = [00:00:00]
2021-09-10 12:35:14,846 - lelo-f1-sdk-client - DEBUG - REGISTER 00000aa5-0000-1000-8000-00805f9b34fb -> MOTOR WORK ON TOUCH = [cannot read register: Characteristic with UUID 00000aa5-0000-1000-8000-00805f9b34fb could not be found!]
2021-09-10 12:35:14,846 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0d-0000-1000-8000-00805f9b34fb -> VIBRATOR SETTING = [cannot read register: Characteristic with UUID 00000a0d-0000-1000-8000-00805f9b34fb could not be found!]
2021-09-10 12:35:14,846 - lelo-f1-sdk-client - DEBUG - REGISTER 00000aa1-0000-1000-8000-00805f9b34fb -> WAKE UP = [cannot read register: Characteristic with UUID 00000aa1-0000-1000-8000-00805f9b34fb could not be found!]
2021-09-10 12:35:14,906 - lelo-f1-sdk-client - DEBUG - REGISTER 00000aa3-0000-1000-8000-00805f9b34fb -> HALL = [00:00]
2021-09-10 12:35:14,965 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0b-0000-1000-8000-00805f9b34fb -> LENGTH = [00:00]
2021-09-10 12:35:15,025 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0c-0000-1000-8000-00805f9b34fb -> ACCELEROMETER = [00:3D:00:D0:03:C6:01]
2021-09-10 12:35:15,092 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a0a-0000-1000-8000-00805f9b34fb -> PRESSURE_TEMPERATURE = [00:0B:B4:FF:00:01:8E:6A]
2021-09-10 12:35:15,146 - lelo-f1-sdk-client - DEBUG - REGISTER 00000aa4-0000-1000-8000-00805f9b34fb -> BUTTON = [06]
2021-09-10 12:35:15,206 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a04-0000-1000-8000-00805f9b34fb -> USER RECORD = [00:44:00:03:F4:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:35:15,266 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a04-0000-1000-8000-00805f9b34fb -> USER RECORD RESET = [00:44:00:03:F4:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:35:15,325 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a29-0000-1000-8000-00805f9b34fb -> MANUFACTURER NAME = [4C:45:4C:4F]
2021-09-10 12:35:15,385 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a24-0000-1000-8000-00805f9b34fb -> MODEL NUMBER = [46:31:53:56:32:58]
2021-09-10 12:35:15,446 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a27-0000-1000-8000-00805f9b34fb -> HARDWARE REVISION = [46:31:53:56:32:20:52:45:56:2E:44]
2021-09-10 12:35:15,506 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a26-0000-1000-8000-00805f9b34fb -> FIRMWARE REVISION = [46:31:53:56:32:20:73:76:6E:20:32:33:39]
2021-09-10 12:35:15,565 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a28-0000-1000-8000-00805f9b34fb -> SOFTWARE REVISION = [46:31:53:56:32:20:52:45:56:2E:42]
2021-09-10 12:35:15,634 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a06-0000-1000-8000-00805f9b34fb -> MAC ADDRESS = [00:81:F9:C8:8E:F8]
2021-09-10 12:35:15,686 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a05-0000-1000-8000-00805f9b34fb -> SERIAL NUMBER = [35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00]
2021-09-10 12:35:15,687 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a19-0000-1000-8000-00805f9b34fb -> BATTERY LEVEL = [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00]
2021-09-10 12:35:15,746 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a07-0000-1000-8000-00805f9b34fb -> CHIP ID = [08:89:70:7E:FA:3E:F8:F1]
2021-09-10 12:35:15,746 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a00-0000-1000-8000-00805f9b34fb -> DEVICE NAME = [46:31:53:56:32:58]
2021-09-10 12:35:15,746 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a01-0000-1000-8000-00805f9b34fb -> APPEARANCE = [cannot read register: Characteristic with UUID 00002a01-0000-1000-8000-00805f9b34fb could not be found!]
2021-09-10 12:35:15,746 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a04-0000-1000-8000-00805f9b34fb -> PPCP = [cannot read register: Characteristic with UUID 00002a04-0000-1000-8000-00805f9b34fb could not be found!]
2021-09-10 12:35:15,805 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a23-0000-1000-8000-00805f9b34fb -> SYSTEM ID = [F8:8E:C8:00:00:F9:81:00]
2021-09-10 12:35:15,866 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a25-0000-1000-8000-00805f9b34fb -> SERIAL NUMBER STRING = [53:65:72:69:61:6C:20:4E:75:6D:62:65:72]
2021-09-10 12:35:15,925 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a2a-0000-1000-8000-00805f9b34fb -> IEEE11073 = [FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C]
2021-09-10 12:35:15,986 - lelo-f1-sdk-client - DEBUG - REGISTER 00002a50-0000-1000-8000-00805f9b34fb -> PNP ID = [01:0D:00:00:00:10:01]
2021-09-10 12:35:16,045 - lelo-f1-sdk-client - DEBUG - REGISTER 00000a10-0000-1000-8000-00805f9b34fb -> SECURITY_ACCESS = [00:00:00:00:00:00:00:00]
2021-09-10 12:35:16,046 - lelo-f1-sdk-client - DEBUG - verifying communication layer
2021-09-10 12:35:16,046 - lelo-f1-sdk-client - DEBUG - sending ping to device
2021-09-10 12:35:16,046 - lelo-f1-sdk-client.io - DEBUG - READING 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER
2021-09-10 12:35:16,105 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1SV2X
2021-09-10 12:35:16,106 - lelo-f1-sdk-client - DEBUG - device responded to ping
2021-09-10 12:35:16,106 - root - INFO - Device connected!
2021-09-10 12:35:16,106 - lelo-f1-sdk-client - DEBUG - checking key state
2021-09-10 12:35:16,106 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:16,172 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00') from device register SECURITY_ACCESS
2021-09-10 12:35:16,172 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SECURITY_ACCESS to (0, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:16,172 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (0, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:16,172 - lelo-f1-sdk-client - DEBUG - key state: 0, not authorized
2021-09-10 12:35:16,172 - lelo-f1-sdk-client - INFO - Not authorized. Please, PRESS THE CENTRAL BUTTON
2021-09-10 12:35:16,173 - root - INFO - Not authorized. Please, PRESS THE CENTRAL BUTTON
2021-09-10 12:35:18,175 - lelo-f1-sdk-client - DEBUG - checking key state
2021-09-10 12:35:18,175 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:18,956 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x08\xcey\x07\x01y\xf0\xc0') from device register SECURITY_ACCESS
2021-09-10 12:35:18,956 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SECURITY_ACCESS to (8, 206, 121, 7, 1, 121, 240, 192)
2021-09-10 12:35:18,956 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (8, 206, 121, 7, 1, 121, 240, 192)
2021-09-10 12:35:18,956 - lelo-f1-sdk-client - DEBUG - key state: got password, checking for security access write
2021-09-10 12:35:18,956 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource -9223363251705516595
2021-09-10 12:35:18,956 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource -9223363251705516595
2021-09-10 12:35:18,956 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource -9223363251705516595
2021-09-10 12:35:18,956 - lelo-f1-sdk-client - DEBUG - WRITING PASSWORD TO SECURITY ACCESS
2021-09-10 12:35:18,957 - lelo-f1-sdk-client.io - DEBUG - translating value (8, 206, 121, 7, 1, 121, 240, 192) to device register SECURITY_ACCESS bytes
2021-09-10 12:35:18,957 - lelo-f1-sdk-client.io - DEBUG - translated value to device register SECURITY_ACCESS bytes (8, 206, 121, 7, 1, 121, 240, 192)
2021-09-10 12:35:18,957 - lelo-f1-sdk-client.io - INFO - WRITE 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS << (8, 206, 121, 7, 1, 121, 240, 192)
2021-09-10 12:35:19,015 - lelo-f1-sdk-client.io - INFO - WRITE 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS DONE
2021-09-10 12:35:19,015 - lelo-f1-sdk-client - DEBUG - WROTE PASSWORD TO SECURITY ACCESS
2021-09-10 12:35:19,015 - root - INFO - Not authorized. Please, PRESS THE CENTRAL BUTTON
2021-09-10 12:35:21,016 - lelo-f1-sdk-client - DEBUG - checking key state
2021-09-10 12:35:21,016 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:21,056 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x01\x00\x00\x00\x00\x00\x00\x00') from device register SECURITY_ACCESS
2021-09-10 12:35:21,056 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SECURITY_ACCESS to (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:21,056 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:21,057 - lelo-f1-sdk-client - DEBUG - key state: 1, fully authorized
2021-09-10 12:35:21,057 - root - DEBUG - now stopping motors for initialization
2021-09-10 12:35:21,057 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:21,116 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:21,116 - lelo-f1-sdk-client - DEBUG - key state: 1, fully authorized
2021-09-10 12:35:21,116 - lelo-f1-sdk-client - INFO - sending motors stop signal
2021-09-10 12:35:21,116 - lelo-f1-sdk-client.io - DEBUG - translating value True to device register MOTOR STOP bytes
2021-09-10 12:35:21,116 - lelo-f1-sdk-client.io - DEBUG - translated value to device register MOTOR STOP bytes [1, 0, 0]
2021-09-10 12:35:21,116 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR STOP << [1, 0, 0]
2021-09-10 12:35:21,175 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR STOP DONE
2021-09-10 12:35:21,175 - lelo-f1-sdk-client.io - DEBUG - READING 00002a29-0000-1000-8000-00805f9b34fb MANUFACTURER NAME
2021-09-10 12:35:21,236 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'LELO') from device register MANUFACTURER NAME
2021-09-10 12:35:21,236 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MANUFACTURER NAME to LELO
2021-09-10 12:35:21,236 - lelo-f1-sdk-client.io - INFO - READ 00002a29-0000-1000-8000-00805f9b34fb MANUFACTURER NAME >> LELO
2021-09-10 12:35:21,236 - root - INFO - get_manufacturer_name: LELO
2021-09-10 12:35:21,236 - lelo-f1-sdk-client.io - DEBUG - READING 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER
2021-09-10 12:35:21,295 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1SV2X') from device register MODEL NUMBER
2021-09-10 12:35:21,295 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MODEL NUMBER to F1SV2X
2021-09-10 12:35:21,296 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1SV2X
2021-09-10 12:35:21,296 - root - INFO - get_model_number: F1SV2X
2021-09-10 12:35:21,296 - lelo-f1-sdk-client.io - DEBUG - READING 00002a27-0000-1000-8000-00805f9b34fb HARDWARE REVISION
2021-09-10 12:35:21,356 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1SV2 REV.D') from device register HARDWARE REVISION
2021-09-10 12:35:21,356 - lelo-f1-sdk-client.io - DEBUG - translated value from device register HARDWARE REVISION to F1SV2 REV.D
2021-09-10 12:35:21,356 - lelo-f1-sdk-client.io - INFO - READ 00002a27-0000-1000-8000-00805f9b34fb HARDWARE REVISION >> F1SV2 REV.D
2021-09-10 12:35:21,356 - root - INFO - get_hardware_revision: F1SV2 REV.D
2021-09-10 12:35:21,356 - lelo-f1-sdk-client.io - DEBUG - READING 00002a26-0000-1000-8000-00805f9b34fb FIRMWARE REVISION
2021-09-10 12:35:21,416 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1SV2 svn 239') from device register FIRMWARE REVISION
2021-09-10 12:35:21,416 - lelo-f1-sdk-client.io - DEBUG - translated value from device register FIRMWARE REVISION to F1SV2 svn 239
2021-09-10 12:35:21,416 - lelo-f1-sdk-client.io - INFO - READ 00002a26-0000-1000-8000-00805f9b34fb FIRMWARE REVISION >> F1SV2 svn 239
2021-09-10 12:35:21,416 - root - INFO - get_firmware_revision: F1SV2 svn 239
2021-09-10 12:35:21,416 - lelo-f1-sdk-client.io - DEBUG - READING 00002a28-0000-1000-8000-00805f9b34fb SOFTWARE REVISION
2021-09-10 12:35:21,476 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1SV2 REV.B') from device register SOFTWARE REVISION
2021-09-10 12:35:21,476 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SOFTWARE REVISION to F1SV2 REV.B
2021-09-10 12:35:21,476 - lelo-f1-sdk-client.io - INFO - READ 00002a28-0000-1000-8000-00805f9b34fb SOFTWARE REVISION >> F1SV2 REV.B
2021-09-10 12:35:21,476 - root - INFO - get_software_revision: F1SV2 REV.B
2021-09-10 12:35:21,476 - lelo-f1-sdk-client.io - DEBUG - READING 00000a06-0000-1000-8000-00805f9b34fb MAC ADDRESS
2021-09-10 12:35:21,535 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x81\xf9\xc8\x8e\xf8') from device register MAC ADDRESS
2021-09-10 12:35:21,536 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MAC ADDRESS to 00:81:F9:C8:8E:F8
2021-09-10 12:35:21,536 - lelo-f1-sdk-client.io - INFO - READ 00000a06-0000-1000-8000-00805f9b34fb MAC ADDRESS >> 00:81:F9:C8:8E:F8
2021-09-10 12:35:21,536 - root - INFO - get_mac_address: 00:81:F9:C8:8E:F8
2021-09-10 12:35:21,536 - lelo-f1-sdk-client.io - DEBUG - READING 00000a05-0000-1000-8000-00805f9b34fb SERIAL NUMBER
2021-09-10 12:35:21,596 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'5QsT49yue6M8Hc\x00') from device register SERIAL NUMBER
2021-09-10 12:35:21,596 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SERIAL NUMBER to 35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00
2021-09-10 12:35:21,596 - lelo-f1-sdk-client.io - INFO - READ 00000a05-0000-1000-8000-00805f9b34fb SERIAL NUMBER >> 35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00
2021-09-10 12:35:21,596 - root - INFO - get_serial_number: 35:51:73:54:34:39:79:75:65:36:4D:38:48:63:00
2021-09-10 12:35:21,596 - lelo-f1-sdk-client.io - DEBUG - READING 00000a07-0000-1000-8000-00805f9b34fb CHIP ID
2021-09-10 12:35:21,656 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x08\x89p~\xfa>\xf8\xf1') from device register CHIP ID
2021-09-10 12:35:21,656 - lelo-f1-sdk-client.io - DEBUG - translated value from device register CHIP ID to 08:89:70:7E:FA:3E:F8:F1
2021-09-10 12:35:21,656 - lelo-f1-sdk-client.io - INFO - READ 00000a07-0000-1000-8000-00805f9b34fb CHIP ID >> 08:89:70:7E:FA:3E:F8:F1
2021-09-10 12:35:21,656 - root - INFO - get_chip_id: 08:89:70:7E:FA:3E:F8:F1
2021-09-10 12:35:21,656 - lelo-f1-sdk-client.io - DEBUG - READING 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER
2021-09-10 12:35:21,716 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1SV2X') from device register MODEL NUMBER
2021-09-10 12:35:21,716 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MODEL NUMBER to F1SV2X
2021-09-10 12:35:21,716 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1SV2X
2021-09-10 12:35:21,716 - root - INFO - get_device_name: F1SV2X
2021-09-10 12:35:21,716 - lelo-f1-sdk-client.io - DEBUG - READING 00002a23-0000-1000-8000-00805f9b34fb SYSTEM ID
2021-09-10 12:35:21,776 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\xf8\x8e\xc8\x00\x00\xf9\x81\x00') from device register SYSTEM ID
2021-09-10 12:35:21,776 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SYSTEM ID to F8:8E:C8:00:00:F9:81:00
2021-09-10 12:35:21,776 - lelo-f1-sdk-client.io - INFO - READ 00002a23-0000-1000-8000-00805f9b34fb SYSTEM ID >> F8:8E:C8:00:00:F9:81:00
2021-09-10 12:35:21,776 - root - INFO - get_system_id: F8:8E:C8:00:00:F9:81:00
2021-09-10 12:35:21,776 - lelo-f1-sdk-client.io - DEBUG - READING 00002a50-0000-1000-8000-00805f9b34fb PNP ID
2021-09-10 12:35:21,842 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x01\r\x00\x00\x00\x10\x01') from device register PNP ID
2021-09-10 12:35:21,842 - lelo-f1-sdk-client.io - DEBUG - translated value from device register PNP ID to 01:0D:00:00:00:10:01
2021-09-10 12:35:21,842 - lelo-f1-sdk-client.io - INFO - READ 00002a50-0000-1000-8000-00805f9b34fb PNP ID >> 01:0D:00:00:00:10:01
2021-09-10 12:35:21,842 - root - INFO - get_pnp_id: 01:0D:00:00:00:10:01
2021-09-10 12:35:21,842 - lelo-f1-sdk-client.io - DEBUG - READING 00002a2a-0000-1000-8000-00805f9b34fb IEEE11073
2021-09-10 12:35:21,896 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\xfe\x00experimental') from device register IEEE11073
2021-09-10 12:35:21,896 - lelo-f1-sdk-client.io - DEBUG - translated value from device register IEEE11073 to FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C
2021-09-10 12:35:21,896 - lelo-f1-sdk-client.io - INFO - READ 00002a2a-0000-1000-8000-00805f9b34fb IEEE11073 >> FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C
2021-09-10 12:35:21,896 - root - INFO - get_ieee_11073_20601: FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C
2021-09-10 12:35:21,896 - lelo-f1-sdk-client.io - DEBUG - READING 00002a19-0000-1000-8000-00805f9b34fb BATTERY LEVEL
2021-09-10 12:35:21,897 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') from device register BATTERY LEVEL
2021-09-10 12:35:21,897 - lelo-f1-sdk-client.io - DEBUG - translated value from device register BATTERY LEVEL to 0
2021-09-10 12:35:21,897 - lelo-f1-sdk-client.io - INFO - READ 00002a19-0000-1000-8000-00805f9b34fb BATTERY LEVEL >> 0
2021-09-10 12:35:21,897 - root - INFO - get_battery_level: 0
2021-09-10 12:35:21,897 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:21,956 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:21,956 - lelo-f1-sdk-client - DEBUG - key state: 1, fully authorized
2021-09-10 12:35:21,956 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0a-0000-1000-8000-00805f9b34fb PRESSURE_TEMPERATURE
2021-09-10 12:35:22,016 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x0b\xbb\xff\x00\x01\x8e\x84') from device register PRESSURE_TEMPERATURE
2021-09-10 12:35:22,016 - lelo-f1-sdk-client.io - DEBUG - translated value from device register PRESSURE_TEMPERATURE to (30.03, 1020.2)
2021-09-10 12:35:22,016 - lelo-f1-sdk-client.io - INFO - READ 00000a0a-0000-1000-8000-00805f9b34fb PRESSURE_TEMPERATURE >> (30.03, 1020.2)
2021-09-10 12:35:22,016 - root - INFO - get_temperature: 30.03
2021-09-10 12:35:22,016 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:22,076 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:22,076 - lelo-f1-sdk-client - DEBUG - key state: 1, fully authorized
2021-09-10 12:35:22,076 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0a-0000-1000-8000-00805f9b34fb PRESSURE_TEMPERATURE
2021-09-10 12:35:22,135 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x0b\xbb\xff\x00\x01\x8e\x84') from device register PRESSURE_TEMPERATURE
2021-09-10 12:35:22,135 - lelo-f1-sdk-client.io - DEBUG - translated value from device register PRESSURE_TEMPERATURE to (30.03, 1020.2)
2021-09-10 12:35:22,135 - lelo-f1-sdk-client.io - INFO - READ 00000a0a-0000-1000-8000-00805f9b34fb PRESSURE_TEMPERATURE >> (30.03, 1020.2)
2021-09-10 12:35:22,136 - root - INFO - get_pressure: 1020.2
2021-09-10 12:35:22,136 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:22,195 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:22,196 - lelo-f1-sdk-client - DEBUG - key state: 1, fully authorized
2021-09-10 12:35:22,196 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0c-0000-1000-8000-00805f9b34fb ACCELEROMETER
2021-09-10 12:35:22,255 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x001\x00\x84\x03\xbe\x01') from device register ACCELEROMETER
2021-09-10 12:35:22,256 - lelo-f1-sdk-client.io - DEBUG - translated value from device register ACCELEROMETER to (49, 132, 958)
2021-09-10 12:35:22,256 - lelo-f1-sdk-client.io - INFO - READ 00000a0c-0000-1000-8000-00805f9b34fb ACCELEROMETER >> (49, 132, 958)
2021-09-10 12:35:22,256 - root - INFO - get_accelerometer: (49, 132, 958)
2021-09-10 12:35:22,256 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:22,316 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:22,316 - lelo-f1-sdk-client - DEBUG - key state: 1, fully authorized
2021-09-10 12:35:22,316 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0b-0000-1000-8000-00805f9b34fb LENGTH
2021-09-10 12:35:22,375 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x00') from device register LENGTH
2021-09-10 12:35:22,376 - lelo-f1-sdk-client.io - DEBUG - translated value from device register LENGTH to 0
2021-09-10 12:35:22,376 - lelo-f1-sdk-client.io - INFO - READ 00000a0b-0000-1000-8000-00805f9b34fb LENGTH >> 0
2021-09-10 12:35:22,376 - root - INFO - get_depth: 0
2021-09-10 12:35:22,376 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:22,442 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:22,442 - lelo-f1-sdk-client - DEBUG - key state: 1, fully authorized
2021-09-10 12:35:22,442 - lelo-f1-sdk-client.io - DEBUG - READING 00000aa3-0000-1000-8000-00805f9b34fb HALL
2021-09-10 12:35:22,496 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x00') from device register HALL
2021-09-10 12:35:22,496 - lelo-f1-sdk-client.io - DEBUG - translated value from device register HALL to 0
2021-09-10 12:35:22,496 - lelo-f1-sdk-client.io - INFO - READ 00000aa3-0000-1000-8000-00805f9b34fb HALL >> 0
2021-09-10 12:35:22,496 - root - INFO - get_rotation_speed: 0
2021-09-10 12:35:22,496 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:22,555 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:22,556 - lelo-f1-sdk-client - DEBUG - key state: 1, fully authorized
2021-09-10 12:35:22,556 - lelo-f1-sdk-client.io - DEBUG - READING 00000a04-0000-1000-8000-00805f9b34fb USER RECORD
2021-09-10 12:35:22,616 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00D\x00\x03\xf4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') from device register USER RECORD
2021-09-10 12:35:22,616 - lelo-f1-sdk-client.io - DEBUG - translated value from device register USER RECORD to 68
2021-09-10 12:35:22,616 - lelo-f1-sdk-client.io - INFO - READ 00000a04-0000-1000-8000-00805f9b34fb USER RECORD >> 68
2021-09-10 12:35:22,616 - root - INFO - get_use_count: 68
2021-09-10 12:35:22,616 - lelo-f1-sdk-client - DEBUG - registering callback for buttons
2021-09-10 12:35:22,616 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8785149238787
2021-09-10 12:35:22,616 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8785149238787
2021-09-10 12:35:22,616 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8785149238787
2021-09-10 12:35:22,675 - lelo-f1-sdk-client.notification - INFO - activated user callback handler for register 00000aa4-0000-1000-8000-00805f9b34fb BUTTON
2021-09-10 12:35:22,676 - root - INFO - setting motors speed to 0/40
2021-09-10 12:35:22,676 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:22,735 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:22,736 - lelo-f1-sdk-client - DEBUG - key state: 1, fully authorized
2021-09-10 12:35:22,736 - lelo-f1-sdk-client - INFO - setting motor speed to 0 and vibration speed to 40
2021-09-10 12:35:22,736 - lelo-f1-sdk-client.io - DEBUG - translating value [0, 40] to device register MOTOR SPEED bytes
2021-09-10 12:35:22,736 - lelo-f1-sdk-client.io - DEBUG - translated value to device register MOTOR SPEED bytes [1, 0, 40]
2021-09-10 12:35:22,736 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR SPEED << [1, 0, 40]
2021-09-10 12:35:22,801 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR SPEED DONE
2021-09-10 12:35:22,802 - root - INFO - waiting 30 seconds, try pressing the buttons
2021-09-10 12:35:52,821 - root - INFO - finished, now disconnecting
2021-09-10 12:35:52,821 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:52,976 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:52,976 - lelo-f1-sdk-client - DEBUG - key state: 1, fully authorized
2021-09-10 12:35:52,976 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8785149238787
2021-09-10 12:35:52,976 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8785149238787
2021-09-10 12:35:52,976 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8785149238787
2021-09-10 12:35:52,976 - lelo-f1-sdk-client.io - DEBUG - READING 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS
2021-09-10 12:35:53,036 - lelo-f1-sdk-client.io - INFO - READ 00000a10-0000-1000-8000-00805f9b34fb SECURITY_ACCESS >> (1, 0, 0, 0, 0, 0, 0, 0)
2021-09-10 12:35:53,036 - lelo-f1-sdk-client - DEBUG - key state: 1, fully authorized
2021-09-10 12:35:53,036 - lelo-f1-sdk-client - DEBUG - unregistering all callbacks for register 00000aa4-0000-1000-8000-00805f9b34fb
2021-09-10 12:35:53,036 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8785149238787
2021-09-10 12:35:53,036 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8785149238787
2021-09-10 12:35:53,036 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8785149238787
2021-09-10 12:35:53,038 - lelo-f1-sdk-client.notification - INFO - deactivated user callback handler for register 00000aa4-0000-1000-8000-00805f9b34fb BUTTON
2021-09-10 12:35:53,038 - lelo-f1-sdk-client - INFO - sending device shutdown signal
2021-09-10 12:35:53,038 - lelo-f1-sdk-client.io - DEBUG - translating value True to device register SHUTDOWN bytes
2021-09-10 12:35:53,038 - lelo-f1-sdk-client.io - DEBUG - translated value to device register SHUTDOWN bytes [1, 250]
2021-09-10 12:35:53,039 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb SHUTDOWN << [1, 250]
2021-09-10 12:35:59,128 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb SHUTDOWN DONE
2021-09-10 12:35:59,128 - lelo-f1-sdk-client - INFO - disconnecting from device
Traceback (most recent call last):
  File "sample_cli.py", line 113, in <module>
    loop.run_until_complete(run())
  File "/usr/lib/python3.6/asyncio/base_events.py", line 488, in run_until_complete
    return future.result()
  File "sample_cli.py", line 95, in run
    await client.shutdown()
  File "/home/yomli/Documents/dev/test/lelo-f1-python-sdk/lelof1py/async_client.py", line 211, in shutdown
    await self._disconnect()
  File "/home/yomli/Documents/dev/test/lelo-f1-python-sdk/lelof1py/async_client.py", line 217, in _disconnect
    await self.bleak_client.disconnect()
  File "/home/yomli/.local/lib/python3.6/site-packages/bleak/backends/bluezdbus/client.py", line 474, in disconnect
    assert self._bus is None
AssertionError

The battery level is at 0 (but the device is fully charged).

fabiofenoglio commented 3 years ago

My bad, pushed a fix for a typo

fabiofenoglio commented 3 years ago

@yomli I only noticed now that your comment had two distinct logs and that you got it working fixing the typo. Did the motor control work? Did you interrupt the program before the ending with an interrupt signal?

yomli commented 3 years ago

Yes, the motor control works for 30 seconds before shutting down, as expected. Everything works, except reading the battery level. As I said on the other issue (https://github.com/fabiofenoglio/lelo-f1-web-sdk/issues/3), I suspect bluez to be the culprit. So, I think the python version works as expected on any other platform (I didn't try the advanced motor control, though). I'm closing the issue since it seems it has nothing to do with your code. Thanks for your patience.