fabiofenoglio / lelo-f1-python-sdk

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

Compatibility issues with GUI on macOS #2

Closed VoodooChild65 closed 3 years ago

VoodooChild65 commented 4 years ago

from the terminal window this is what I get

2020-04-18 22:56:37,045 - lelo-f1-sdk-client - INFO - succesfully connected to device 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-18 22:56:37,045 - lelo-f1-sdk-client - DEBUG - verifying communication layer 2020-04-18 22:56:37,045 - lelo-f1-sdk-client - DEBUG - sending ping to device 2020-04-18 22:56:37,045 - root - ERROR - error in task discover_and_connect: Characteristic 2A00 was not found! Traceback (most recent call last): File "sample_gui.py", line 673, in runner await task File "sample_gui.py", line 261, in discover await self.connect() File "sample_gui.py", line 279, in connect await self.get_client().connect(addr, timeout=30) File "/Users/nicholasklyne/pythonplay/lelof1py/async_client.py", line 126, in connect await self.ping() File "/Users/nicholasklyne/pythonplay/lelof1py/async_client.py", line 726, in ping await self.read(Registers.GENERIC_ACCESS_DEVICE_NAME, silent=True) File "/Users/nicholasklyne/pythonplay/lelof1py/async_client.py", line 248, in read read_direct = await self.bleak_client.read_gatt_char(register.address) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/bleak/backends/corebluetooth/client.py", line 169, in read_gatt_char raise BleakError("Characteristic {} was not found!".format(_uuid)) bleak.exc.BleakError: Characteristic 2A00 was not found! 2020-04-18 22:56:37,048 - root - INFO - error in task: Characteristic 2A00 was not found! 2020-04-18 22:56:37,048 - root - DEBUG - runner task discover_and_connect finished Fatal Python error: PyEval_RestoreThread: NULL tstate

fabiofenoglio commented 4 years ago

Hi, I need to profile you device characteristics in order to address this problem. Please, upgrade your package by running pip install --upgrade lelof1py and ensure you are at version 0.8-beta. Once done, download the updated samples from this repository and please run the sample_gui.py again and attach the console output. Thank you for your cooperation

VoodooChild65 commented 4 years ago

Done...

2020-04-18 23:29:56,720 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 2A19 2020-04-18 23:29:56,721 - lelo-f1-sdk-client - INFO - succesfully connected to device 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-18 23:29:56,721 - lelo-f1-sdk-client - DEBUG - verifying communication layer 2020-04-18 23:29:56,721 - lelo-f1-sdk-client - DEBUG - sending ping to device 2020-04-18 23:29:56,722 - root - ERROR - error in task connect: Characteristic 2A00 was not found! Traceback (most recent call last): File "sample_gui.py", line 673, in runner await task File "sample_gui.py", line 279, in connect await self.get_client().connect(addr, timeout=30) File "/Users/nicholasklyne/pythonplay/lelof1py/async_client.py", line 126, in connect await self.ping() File "/Users/nicholasklyne/pythonplay/lelof1py/async_client.py", line 726, in ping await self.read(Registers.GENERIC_ACCESS_DEVICE_NAME, silent=True) File "/Users/nicholasklyne/pythonplay/lelof1py/async_client.py", line 248, in read read_direct = await self.bleak_client.read_gatt_char(register.address) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/bleak/backends/corebluetooth/client.py", line 169, in read_gatt_char raise BleakError("Characteristic {} was not found!".format(_uuid)) bleak.exc.BleakError: Characteristic 2A00 was not found! 2020-04-18 23:29:56,726 - root - INFO - error in task: Characteristic 2A00 was not found! 2020-04-18 23:29:56,726 - root - DEBUG - runner task connect finished Fatal Python error: PyEval_RestoreThread: NULL tstate

fabiofenoglio commented 4 years ago

Sorry, the output I added in the latest commit is missing. You should see something like:

2020-04-19 00:13:50,971 - lelo-f1-sdk-client - DEBUG - attempting connection to device with address C4:------------
2020-04-19 00:14:02,300 - lelo-f1-sdk-client - INFO - succesfully connected to device C4:---------
2020-04-19 00:14:02,301 - lelo-f1-sdk-client - DEBUG - profiling the device
2020-04-19 00:14:02,302 - lelo-f1-sdk-client - DEBUG - root characteristic 00002a00-0000-1000-8000-00805f9b34fb -> 00002a00-0000-1000-8000-00805f9b34fb: 

Are you sure you have the 0.8-beta version of the library? Do you, by any chance, have downloaded the 'lelof1py' folder with the samples too? (that is the source code and it should no be present in the same directories of the samples)

VoodooChild65 commented 4 years ago

2020-04-18 23:29:28,475 - lelo-f1-sdk-client - DEBUG - found 4 nearby devices 2020-04-18 23:29:28,475 - lelo-f1-sdk-client - INFO - discovery found device with correct advertising name: F1s, address=170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-18 23:29:28,475 - lelo-f1-sdk-client - DEBUG - of which 1 with correct name 2020-04-18 23:29:28,475 - lelo-f1-sdk-client - DEBUG - found a total of 1 devices responding to criteria 2020-04-18 23:29:28,475 - lelo-f1-sdk-client - DEBUG - discovery took 20 seconds 2020-04-18 23:29:28,475 - root - INFO - device found: 170053E4-913D-4D8D-88EF-F5DFB757E98D

yes the I downloaded the whole thing this afternoon and then updated the Sample_gui.py File when you asked me too

How do we check to make sure I have the 0.8-Beta ?

fabiofenoglio commented 4 years ago

Please remove the 'lelof1py' folder as it contains the sources and you don't want to reference the sources directly. To check the package version just run pip show lelof1py.

I will need the whole console output that you get when the device connects and the application crashes.

fabiofenoglio commented 4 years ago

Please note that the pip binary might be defaulting to python 2 if you have coexisting installations. To install the module for python3 you might try python3 -m pip install lelof1py

fabiofenoglio commented 4 years ago

Meanwhile I found out a little compatibility issue due to the different bluetooth backend implementations for the bleak modules. I release the version 0.9-beta with a fix for that. So you might try to:

VoodooChild65 commented 4 years ago

Hi, Thanks for updates..

Have done what you said I believe...

It's discovering my device first time now and this time asked for the second press of the button it then crashed again when pressed...

2020-04-19 11:10:21,954 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 11:10:21,954 - lelo-f1-sdk-client - DEBUG - skipping key_state check because it is disabled 2020-04-19 11:10:21,954 - lelo-f1-sdk-client - INFO - sending motors stop signal 2020-04-19 11:10:21,954 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR STOP << [1, 0, 0] /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/bleak/backends/corebluetooth/client.py:223: UninitializedDeallocWarning: leaking an uninitialized object of type _NSPlaceholderData value = NSData.alloc().initWithByteslength(data, len(data)) 2020-04-19 11:10:21,956 - root - ERROR - error in task discover_and_connect: depythonifying unknown typespec 0x76 Traceback (most recent call last): File "sample_gui.py", line 673, in runner await task File "sample_gui.py", line 261, in discover await self.connect() File "sample_gui.py", line 285, in connect await self.get_client().stop_motors() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/lelof1py/async_client.py", line 670, in stop_motors await self.write(Registers.MOTOR_STOP, True) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/lelof1py/async_client.py", line 311, in write await self.bleak_client.write_gatt_char(register.address, converted_value) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/bleak/backends/corebluetooth/client.py", line 223, in write_gatt_char value = NSData.alloc().initWithByteslength(data, len(data)) ValueError: depythonifying unknown typespec 0x76 2020-04-19 11:10:21,957 - root - INFO - error in task: depythonifying unknown typespec 0x76 2020-04-19 11:10:21,958 - root - DEBUG - runner task discover_and_connect finished Fatal Python error: PyEval_RestoreThread: NULL tstate

Current thread 0x000000010fe70dc0 (most recent call first): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/bleak/backends/corebluetooth/init.py", line 43 in _handle_nsrunloop File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/events.py", line 88 in _run File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 1786 in _run_once File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 541 in run_forever File "sample_gui.py", line 813 in Abort trap: 6

Typing pip now show's. lelof1py shows Name: lelof1py Version: 0.9b0 Summary: Python client for LELO F1 SDK device Home-page: https://github.com/fabiofenoglio/lelo-f1-python-sdk Author: Fabio Fenoglio Author-email: development@fabiofenoglio.it License: MIT Location: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages Requires: bleak, appdirs, asyncio Required-by:

I have a folder in my user account that I am storing the .py file do I need the rest of your files in that folder.. this is the folder I ma running the script from... I did have but have deleted as you said clean it up..

Thanks

Nick

fabiofenoglio commented 4 years ago

No, you do not need to put other files in that directory. Please, to address your latest error update the library and try again.

run python3 -m pip install --upgrade lelof1py you should see it printing

Collecting lelof1py Downloading lelof1py-0.10-beta.tar.gz (16 kB) ...

fabiofenoglio commented 4 years ago

By the way, thank you for helping me test with the macOS backend. I did not have an opportunity to do that myself, and that's the reason this library is still marked as BETA.

VoodooChild65 commented 4 years ago

A pleasure, wish I understood a little more what was going on... but happy to help..

Files back in the directory... and upped done.. here we go.... and no cigar same, Finds it, hit connect, gui asks for me to hit button again it does the roving up thing and then all crashes.. consoles output is 2020-04-19 11:48:05,084 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR STOP << [1, 0, 0] /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/bleak/backends/corebluetooth/client.py:223: UninitializedDeallocWarning: leaking an uninitialized object of type _NSPlaceholderData value = NSData.alloc().initWithByteslength(data, len(data)) 2020-04-19 11:48:05,088 - root - ERROR - error in task connect: depythonifying unknown typespec 0x76 Traceback (most recent call last): File "sample_gui.py", line 673, in runner await task File "sample_gui.py", line 285, in connect await self.get_client().stop_motors() File "/Users/nicholasklyne/pythonplay/lelof1py/async_client.py", line 670, in stop_motors await self.write(Registers.MOTOR_STOP, True) File "/Users/nicholasklyne/pythonplay/lelof1py/async_client.py", line 311, in write await self.bleak_client.write_gatt_char(register.address, converted_value) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/bleak/backends/corebluetooth/client.py", line 223, in write_gatt_char value = NSData.alloc().initWithByteslength(data, len(data)) ValueError: depythonifying unknown typespec 0x76 2020-04-19 11:48:05,088 - root - INFO - error in task: depythonifying unknown typespec 0x76 2020-04-19 11:48:05,088 - root - DEBUG - runner task connect finished Fatal Python error: PyEval_RestoreThread: NULL tstate

Current thread 0x000000011bcf7dc0 (most recent call first): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/bleak/backends/corebluetooth/init.py", line 43 in _handle_nsrunloop File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/events.py", line 88 in _run File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 1786 in _run_once File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 541 in run_forever File "sample_gui.py", line 813 in Abort trap: 6

fabiofenoglio commented 4 years ago

seems that the lib version is not the latest: the line await self.bleak_client.write_gatt_char(register.address, converted_value)

should be instead await self.bleak_client.write_gatt_char(register.address, bytearray(converted_value))

Please ensure you are using the version 0.10-beta

VoodooChild65 commented 4 years ago

just checked and it does say 0.10b0 when running lelof1py shows

is this different from the version in the folder with the script ? does that matter ?

Sorry I am not used to Kirby based code well haven't for a long time as I say I programme VBA and before that a bit of SQL and the old days 6502 Numonics and early consoles(Showing my age now)...

fabiofenoglio commented 4 years ago

Don't worry; This repository contains both the library source code and some samples (the files "sample_*.py"). However, you should not download and keep both in your PC, because the library is to be installed via PIP.

If you install the library via PIP and also keep the downloaded folder lelof1py in the same directory of your scripts, you have two versions of the same library (one managed by pip and the one in local files) but the local files version has precedence, so you don't get the newer version of the library even when you upgrade via pip, because you are referencing the local files copy (which are not up to date).

Please, do not keep the "lelof1py" folder, you can delete it. To be sure just for this tests, you should run the sample_gui.py in a directory where you have no other files.

VoodooChild65 commented 4 years ago

Clear Thanks

VoodooChild65 commented 4 years ago

Okay another step forward... Hit button second time an dit didn't crash...

Hit the + button on the first mottor in the GUI an dit did..

2020-04-19 12:19:37,363 - root - DEBUG - runner task refresh_sensor_status finished 2020-04-19 12:19:37,366 - root - DEBUG - EVENT mm_plus 2020-04-19 12:19:37,368 - root - DEBUG - runner task increment_main_motor started 2020-04-19 12:19:37,368 - root - DEBUG - reusing cached main motor speed 2020-04-19 12:19:37,369 - root - INFO - setting main motor speed to 30 % 2020-04-19 12:19:37,369 - root - DEBUG - reusing cached vibe motor speed 2020-04-19 12:19:37,369 - lelo-f1-sdk-client - DEBUG - skipping key_state check because it is disabled 2020-04-19 12:19:37,369 - lelo-f1-sdk-client - INFO - setting motor speed to 30 and vibration speed to 0 2020-04-19 12:19:37,369 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR SPEED << b'\x01\x1e\x00' Fatal Python error: PyEval_RestoreThread: NULL tstate

Current thread 0x000000010e971dc0 (most recent call first): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/bleak/backends/corebluetooth/init.py", line 43 in _handle_nsrunloop File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/events.py", line 88 in _run File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 1786 in _run_once File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 541 in run_forever File "sample_gui.py", line 813 in Abort trap: 6

fabiofenoglio commented 4 years ago

Please try opening the GUI, connecting the device and leaving it connected for 5 minutes to see if it crashes even when you don't press any buttons

VoodooChild65 commented 4 years ago

okay

VoodooChild65 commented 4 years ago

No Carsh for 7mins then hit button and crashes

fabiofenoglio commented 4 years ago

Thank you, please upgrade python3 -m pip install --upgrade lelof1py to version 0.11-beta and try again

VoodooChild65 commented 4 years ago

done..... and

2020-04-19 13:08:06,926 - root - DEBUG - EVENT mm_plus 2020-04-19 13:08:06,928 - root - DEBUG - runner task increment_main_motor started 2020-04-19 13:08:06,928 - root - DEBUG - reusing cached main motor speed 2020-04-19 13:08:06,929 - root - INFO - setting main motor speed to 30 % 2020-04-19 13:08:06,929 - root - DEBUG - reusing cached vibe motor speed 2020-04-19 13:08:06,929 - lelo-f1-sdk-client - DEBUG - skipping key_state check because it is disabled 2020-04-19 13:08:06,929 - lelo-f1-sdk-client - INFO - setting motor speed to 30 and vibration speed to 0 2020-04-19 13:08:06,929 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR SPEED << b'\x01\x1e\x00' Fatal Python error: PyEval_RestoreThread: NULL tstate

Current thread 0x0000000115aafdc0 (most recent call first): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/bleak/backends/corebluetooth/init.py", line 43 in _handle_nsrunloop File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/events.py", line 88 in _run File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 1786 in _run_once File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 541 in run_forever File "Sample_gui.py", line 813 in

fabiofenoglio commented 4 years ago

Sorry the library version is not 0.11-beta: the line 2020-04-19 13:08:06,929 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR SPEED << b'\x01\x1e\x00'

should be 2020-04-19 13:08:06,929 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR SPEED << [1, 30, 0]

please ensure you have version 0.11-beta

VoodooChild65 commented 4 years ago

Sorry to say Same error.. have updated to 11 and you can see the line is right now...

0-04-19 14:37:12,545 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:37:12,591 - root - DEBUG - EVENT vm_plus 2020-04-19 14:37:12,592 - root - DEBUG - runner task increment_vibe_motor started 2020-04-19 14:37:12,592 - root - DEBUG - reusing cached vibe motor speed 2020-04-19 14:37:12,593 - root - INFO - setting vibe motor speed to 30 % 2020-04-19 14:37:12,593 - root - DEBUG - reusing cached main motor speed 2020-04-19 14:37:12,593 - lelo-f1-sdk-client - DEBUG - skipping key_state check because it is disabled 2020-04-19 14:37:12,593 - lelo-f1-sdk-client - INFO - setting motor speed to 0 and vibration speed to 30 2020-04-19 14:37:12,593 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR SPEED << [1, 0, 30] Fatal Python error: PyEval_RestoreThread: NULL tstate

Current thread 0x000000010f388dc0 (most recent call first): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/bleak/backends/corebluetooth/init.py", line 43 in _handle_nsrunloop File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/events.py", line 88 in _run File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 1786 in _run_once File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 541 in run_forever File "sample_gui.py", line 813 in Abort trap: 6

fabiofenoglio commented 4 years ago

Can you please attach the full output?

VoodooChild65 commented 4 years ago

2020-04-19 14:55:04,537 - lelo-f1-sdk-client.fs - DEBUG - initializing filestore utils with appname GUISample 2020-04-19 14:55:04,730 - root - DEBUG - runner task post_construct started 2020-04-19 14:55:04,731 - root - DEBUG - runner task post_construct finished 2020-04-19 14:55:04,731 - lelo-f1-sdk-client - DEBUG - instantiating LELO F1 SDK client 2020-04-19 14:55:04,731 - root - DEBUG - runner task discover_and_connect started 2020-04-19 14:55:04,731 - lelo-f1-sdk-client.fs - DEBUG - connection_profile_path = /Users/nicholasklyne/Library/Application Support/GUISample/last_connection_profile.dmp 2020-04-19 14:55:04,731 - lelo-f1-sdk-client.fs - DEBUG - attempting to load connection profile from /Users/nicholasklyne/Library/Application Support/GUISample/last_connection_profile.dmp 2020-04-19 14:55:04,738 - root - INFO - attempting reconnection to last device (170053E4-913D-4D8D-88EF-F5DFB757E98D) 2020-04-19 14:55:04,844 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Bluetooth powered on 2020-04-19 14:55:04,916 - root - INFO - connecting to device ... 2020-04-19 14:55:04,946 - lelo-f1-sdk-client - INFO - connecting to device 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-19 14:55:04,946 - lelo-f1-sdk-client - DEBUG - attempting connection to device with address 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-19 14:55:06,859 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device 8AAB90DB-9D5D-4227-9757-1B739B9C4DAD: Unknown @ RSSI: -53 (kCBAdvData <nsdict_keys(['kCBAdvDataAppleMfgData', 'kCBAdvDataChannel', 'kCBAdvDataManufacturerData', 'kCBAdvDataTxPowerLevel', 'kCBAdvDataIsConnectable'])>) 2020-04-19 14:55:06,950 - lelo-f1-sdk-client - DEBUG - connection attempt #1 failed: Device with address 170053E4-913D-4D8D-88EF-F5DFB757E98D was not found 2020-04-19 14:55:07,207 - lelo-f1-sdk-client - DEBUG - attempting connection to device with address 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-19 14:55:07,245 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device 36933C20-CCD6-4102-9CF5-B4A908BB7502: Unknown @ RSSI: -47 (kCBAdvData <nsdict_keys(['kCBAdvDataAppleMfgData', 'kCBAdvDataChannel', 'kCBAdvDataManufacturerData', 'kCBAdvDataTxPowerLevel', 'kCBAdvDataIsConnectable'])>) 2020-04-19 14:55:07,246 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device 36933C20-CCD6-4102-9CF5-B4A908BB7502: Unknown @ RSSI: -47 (kCBAdvData <nsdict_keys(['kCBAdvDataIsConnectable', 'kCBAdvDataChannel'])>) 2020-04-19 14:55:07,465 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device B8561767-7FC8-49A1-95A4-38A20F3817B7: Unknown @ RSSI: -50 (kCBAdvData <nsdict_keys(['kCBAdvDataAppleMfgData', 'kCBAdvDataChannel', 'kCBAdvDataManufacturerData', 'kCBAdvDataTxPowerLevel', 'kCBAdvDataIsConnectable'])>) 2020-04-19 14:55:07,465 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device B8561767-7FC8-49A1-95A4-38A20F3817B7: Unknown @ RSSI: -49 (kCBAdvData <nsdict_keys(['kCBAdvDataIsConnectable', 'kCBAdvDataChannel'])>) 2020-04-19 14:55:09,211 - lelo-f1-sdk-client - DEBUG - connection attempt #2 failed: Device with address 170053E4-913D-4D8D-88EF-F5DFB757E98D was not found 2020-04-19 14:55:09,463 - lelo-f1-sdk-client - DEBUG - attempting connection to device with address 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-19 14:55:09,869 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device 8AAB90DB-9D5D-4227-9757-1B739B9C4DAD: Unknown @ RSSI: -59 (kCBAdvData <nsdict_keys(['kCBAdvDataAppleMfgData', 'kCBAdvDataChannel', 'kCBAdvDataManufacturerData', 'kCBAdvDataTxPowerLevel', 'kCBAdvDataIsConnectable'])>) 2020-04-19 14:55:09,869 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device 8AAB90DB-9D5D-4227-9757-1B739B9C4DAD: Unknown @ RSSI: -56 (kCBAdvData <nsdict_keys(['kCBAdvDataIsConnectable', 'kCBAdvDataChannel'])>) 2020-04-19 14:55:10,178 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device B8561767-7FC8-49A1-95A4-38A20F3817B7: Unknown @ RSSI: -42 (kCBAdvData <nsdict_keys(['kCBAdvDataAppleMfgData', 'kCBAdvDataChannel', 'kCBAdvDataManufacturerData', 'kCBAdvDataTxPowerLevel', 'kCBAdvDataIsConnectable'])>) 2020-04-19 14:55:10,179 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device B8561767-7FC8-49A1-95A4-38A20F3817B7: Unknown @ RSSI: -42 (kCBAdvData <nsdict_keys(['kCBAdvDataIsConnectable', 'kCBAdvDataChannel'])>) 2020-04-19 14:55:11,368 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device 36933C20-CCD6-4102-9CF5-B4A908BB7502: Unknown @ RSSI: -49 (kCBAdvData <nsdict_keys(['kCBAdvDataAppleMfgData', 'kCBAdvDataChannel', 'kCBAdvDataManufacturerData', 'kCBAdvDataTxPowerLevel', 'kCBAdvDataIsConnectable'])>) 2020-04-19 14:55:11,369 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device 36933C20-CCD6-4102-9CF5-B4A908BB7502: Unknown @ RSSI: -48 (kCBAdvData <nsdict_keys(['kCBAdvDataIsConnectable', 'kCBAdvDataChannel'])>) 2020-04-19 14:55:11,467 - lelo-f1-sdk-client - DEBUG - connection attempt #3 failed: Device with address 170053E4-913D-4D8D-88EF-F5DFB757E98D was not found 2020-04-19 14:55:11,720 - lelo-f1-sdk-client - DEBUG - attempting connection to device with address 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-19 14:55:11,950 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device 170053E4-913D-4D8D-88EF-F5DFB757E98D: Unknown @ RSSI: -56 (kCBAdvData <nsdict_keys(['kCBAdvDataManufacturerData', 'kCBAdvDataChannel', 'kCBAdvDataServiceUUIDs', 'kCBAdvDataIsConnectable'])>) 2020-04-19 14:55:11,950 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device 170053E4-913D-4D8D-88EF-F5DFB757E98D: Unknown @ RSSI: -56 (kCBAdvData <nsdict_keys(['kCBAdvDataLocalName', 'kCBAdvDataChannel', 'kCBAdvDataTxPowerLevel', 'kCBAdvDataIsConnectable'])>) 2020-04-19 14:55:13,443 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Discovered device B8561767-7FC8-49A1-95A4-38A20F3817B7: Unknown @ RSSI: 27 (kCBAdvData <nsdict_keys(['kCBAdvDataAppleMfgData', 'kCBAdvDataChannel', 'kCBAdvDataManufacturerData', 'kCBAdvDataTxPowerLevel', 'kCBAdvDataIsConnectable'])>) 2020-04-19 14:55:13,723 - bleak.backends.corebluetooth.client - DEBUG - Connecting to BLE device @ 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-19 14:55:15,013 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Successfully connected to device uuid 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-19 14:55:15,014 - bleak.backends.corebluetooth.PeripheralDelegate - WARNING - PeripheralDelegate is not compliant 2020-04-19 14:55:15,014 - bleak.backends.corebluetooth.client - DEBUG - Retrieving services... 2020-04-19 14:55:15,015 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Services discovered 2020-04-19 14:55:15,018 - bleak.backends.corebluetooth.client - DEBUG - Retrieving characteristics for service 180A 2020-04-19 14:55:15,081 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Characteristics discovered 2020-04-19 14:55:15,082 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 2A23 2020-04-19 14:55:15,082 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 2A23 2020-04-19 14:55:15,083 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 2A24 2020-04-19 14:55:15,083 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 2A24 2020-04-19 14:55:15,083 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 2A25 2020-04-19 14:55:15,083 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 2A25 2020-04-19 14:55:15,084 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 2A26 2020-04-19 14:55:15,084 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 2A26 2020-04-19 14:55:15,084 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 2A27 2020-04-19 14:55:15,084 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 2A27 2020-04-19 14:55:15,084 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 2A28 2020-04-19 14:55:15,085 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 2A28 2020-04-19 14:55:15,085 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 2A29 2020-04-19 14:55:15,085 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 2A29 2020-04-19 14:55:15,085 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 2A2A 2020-04-19 14:55:15,085 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 2A2A 2020-04-19 14:55:15,086 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 2A50 2020-04-19 14:55:15,086 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 2A50 2020-04-19 14:55:15,086 - bleak.backends.corebluetooth.client - DEBUG - Retrieving characteristics for service FFF0 2020-04-19 14:55:15,170 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Characteristics discovered 2020-04-19 14:55:15,170 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic FFF1 2020-04-19 14:55:15,191 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered FFF1 2020-04-19 14:55:15,192 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0A00 2020-04-19 14:55:15,214 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0A00 2020-04-19 14:55:15,214 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0A06 2020-04-19 14:55:15,236 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0A06 2020-04-19 14:55:15,237 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0A05 2020-04-19 14:55:15,259 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0A05 2020-04-19 14:55:15,259 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0A07 2020-04-19 14:55:15,281 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0A07 2020-04-19 14:55:15,282 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0A04 2020-04-19 14:55:15,304 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0A04 2020-04-19 14:55:15,307 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0A08 2020-04-19 14:55:15,326 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0A08 2020-04-19 14:55:15,326 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0A0A 2020-04-19 14:55:15,349 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0A0A 2020-04-19 14:55:15,349 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0A0B 2020-04-19 14:55:15,371 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0A0B 2020-04-19 14:55:15,372 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0A0C 2020-04-19 14:55:15,394 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0A0C 2020-04-19 14:55:15,394 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0A0D 2020-04-19 14:55:15,416 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0A0D 2020-04-19 14:55:15,420 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0A0E 2020-04-19 14:55:15,439 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0A0E 2020-04-19 14:55:15,439 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0A0F 2020-04-19 14:55:15,462 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0A0F 2020-04-19 14:55:15,462 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0AA0 2020-04-19 14:55:15,484 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0AA0 2020-04-19 14:55:15,484 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0AA1 2020-04-19 14:55:15,506 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0AA1 2020-04-19 14:55:15,507 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0AA2 2020-04-19 14:55:15,529 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0AA2 2020-04-19 14:55:15,533 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0AA3 2020-04-19 14:55:15,551 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0AA3 2020-04-19 14:55:15,552 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0AA4 2020-04-19 14:55:15,574 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0AA4 2020-04-19 14:55:15,575 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 0AA5 2020-04-19 14:55:15,596 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 0AA5 2020-04-19 14:55:15,599 - bleak.backends.corebluetooth.client - DEBUG - Retrieving characteristics for service 180F 2020-04-19 14:55:15,641 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Characteristics discovered 2020-04-19 14:55:15,644 - bleak.backends.corebluetooth.client - DEBUG - Retrieving descriptors for characteristic 2A19 2020-04-19 14:55:15,686 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Descriptor discovered 2A19 2020-04-19 14:55:15,687 - lelo-f1-sdk-client - INFO - succesfully connected to device 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-19 14:55:15,687 - lelo-f1-sdk-client - DEBUG - profiling the device 2020-04-19 14:55:15,687 - lelo-f1-sdk-client - ERROR - error profiling device: 'NSArrayI' object has no attribute 'characteristics' Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/lelof1py/async_client.py", line 127, in connect await self._profile_device() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/lelof1py/async_client.py", line 143, in _profile_device for k, v in profiling.characteristics.items(): AttributeError: 'NSArrayI' object has no attribute 'characteristics' 2020-04-19 14:55:15,688 - lelo-f1-sdk-client - DEBUG - verifying communication layer 2020-04-19 14:55:15,688 - lelo-f1-sdk-client - DEBUG - sending ping to device 2020-04-19 14:55:15,709 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:15,709 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A24 : bytearray(b'F1s') 2020-04-19 14:55:15,709 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1s 2020-04-19 14:55:15,709 - lelo-f1-sdk-client - DEBUG - device responded to ping 2020-04-19 14:55:15,709 - root - INFO - waiting for authorization. PRESS THE CENTRAL BUTTON 2020-04-19 14:55:15,731 - lelo-f1-sdk-client - DEBUG - checking key state 2020-04-19 14:55:15,753 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:15,755 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x00') 2020-04-19 14:55:15,756 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> False 2020-04-19 14:55:15,994 - root - DEBUG - runner task refresh_sensor_status started 2020-04-19 14:55:15,994 - root - DEBUG - runner task refresh_sensor_status finished 2020-04-19 14:55:16,759 - lelo-f1-sdk-client - DEBUG - checking key state 2020-04-19 14:55:16,778 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:16,782 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x00') 2020-04-19 14:55:16,782 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> False 2020-04-19 14:55:16,997 - root - DEBUG - runner task refresh_sensor_status started 2020-04-19 14:55:16,998 - root - DEBUG - runner task refresh_sensor_status finished 2020-04-19 14:55:17,785 - lelo-f1-sdk-client - DEBUG - checking key state 2020-04-19 14:55:18,002 - root - DEBUG - runner task refresh_sensor_status started 2020-04-19 14:55:18,002 - root - DEBUG - runner task refresh_sensor_status finished 2020-04-19 14:55:18,156 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:18,156 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x00') 2020-04-19 14:55:18,156 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> False 2020-04-19 14:55:19,006 - root - DEBUG - runner task refresh_sensor_status started 2020-04-19 14:55:19,006 - root - DEBUG - runner task refresh_sensor_status finished 2020-04-19 14:55:19,160 - lelo-f1-sdk-client - DEBUG - checking key state 2020-04-19 14:55:19,281 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:19,283 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x01') 2020-04-19 14:55:19,283 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 14:55:19,283 - lelo-f1-sdk-client - DEBUG - skipping key_state check because it is disabled 2020-04-19 14:55:19,283 - lelo-f1-sdk-client - INFO - sending motors stop signal 2020-04-19 14:55:19,283 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR STOP << [1, 0, 0] 2020-04-19 14:55:19,326 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Write Characteristic Value 2020-04-19 14:55:19,329 - bleak.backends.corebluetooth.client - DEBUG - Write Characteristic FFF1 : bytearray(b'\x01\x00\x00') 2020-04-19 14:55:19,329 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR STOP DONE 2020-04-19 14:55:19,330 - root - INFO - connected to device 2020-04-19 14:55:19,731 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:19,732 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A29 : bytearray(b'LELO') 2020-04-19 14:55:19,732 - lelo-f1-sdk-client.io - INFO - READ 00002a29-0000-1000-8000-00805f9b34fb MANUFACTURER NAME >> LELO 2020-04-19 14:55:19,776 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:19,780 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A27 : bytearray(b'F1s REV.D') 2020-04-19 14:55:19,781 - lelo-f1-sdk-client.io - INFO - READ 00002a27-0000-1000-8000-00805f9b34fb HARDWARE REVISION >> F1s REV.D 2020-04-19 14:55:19,822 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:19,822 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A06 : bytearray(b'\x00\x81\xf9\xd8\xac\xb7') 2020-04-19 14:55:19,822 - lelo-f1-sdk-client.io - INFO - READ 00000a06-0000-1000-8000-00805f9b34fb MAC ADDRESS >> 00:81:F9:D8:AC:B7 2020-04-19 14:55:19,823 - lelo-f1-sdk-client - DEBUG - skipping key_state check because it is disabled 2020-04-19 14:55:19,866 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:19,866 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A04 : bytearray(b'\x00X') 2020-04-19 14:55:19,866 - lelo-f1-sdk-client.io - INFO - READ 00000a04-0000-1000-8000-00805f9b34fb USER RECORD >> 88 2020-04-19 14:55:19,867 - lelo-f1-sdk-client - DEBUG - skipping key_state check because it is disabled 2020-04-19 14:55:19,911 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:19,911 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0AA1 : bytearray(b'\x00') 2020-04-19 14:55:19,911 - lelo-f1-sdk-client.io - INFO - READ 00000aa1-0000-1000-8000-00805f9b34fb WAKE UP >> False 2020-04-19 14:55:19,913 - lelo-f1-sdk-client - DEBUG - skipping key_state check because it is disabled 2020-04-19 14:55:19,956 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:19,956 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0AA5 : bytearray(b'\x00') 2020-04-19 14:55:19,956 - lelo-f1-sdk-client.io - INFO - READ 00000aa5-0000-1000-8000-00805f9b34fb MOTOR WORK ON TOUCH >> False 2020-04-19 14:55:19,957 - lelo-f1-sdk-client - DEBUG - skipping key_state check because it is disabled 2020-04-19 14:55:20,001 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:20,001 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0D : bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00') 2020-04-19 14:55:20,002 - lelo-f1-sdk-client.io - INFO - READ 00000a0d-0000-1000-8000-00805f9b34fb VIBRATOR SETTING >> (0, 0, 0, 0, 0, 0, 0, 0) 2020-04-19 14:55:20,012 - root - DEBUG - runner task refresh_sensor_status started 2020-04-19 14:55:20,065 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:20,078 - root - DEBUG - runner task refresh_sensor_status finished 2020-04-19 14:55:20,079 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A19 : bytearray(b'c') 2020-04-19 14:55:20,079 - lelo-f1-sdk-client.io - INFO - READ 00002a19-0000-1000-8000-00805f9b34fb BATTERY LEVEL >> 99 2020-04-19 14:55:20,079 - root - INFO - current battery level is 99 2020-04-19 14:55:20,094 - lelo-f1-sdk-client - DEBUG - skipping key_state check because it is disabled 2020-04-19 14:55:20,451 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:20,455 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic FFF1 : bytearray(b'\x01\x00\x00') 2020-04-19 14:55:20,456 - lelo-f1-sdk-client.io - INFO - READ 0000fff1-0000-1000-8000-00805f9b34fb MOTOR SPEED >> (0, 0) 2020-04-19 14:55:20,461 - lelo-f1-sdk-client - DEBUG - registering callback for buttons 2020-04-19 14:55:20,461 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8762580583664 2020-04-19 14:55:20,461 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8762580583664 2020-04-19 14:55:20,461 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8762580583664 2020-04-19 14:55:20,496 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Character Notify Update 2020-04-19 14:55:20,496 - lelo-f1-sdk-client.notification - INFO - activated user callback handler for register 00000aa4-0000-1000-8000-00805f9b34fb BUTTON 2020-04-19 14:55:20,496 - lelo-f1-sdk-client - DEBUG - registering callback for key state 2020-04-19 14:55:20,497 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8762580583664 2020-04-19 14:55:20,497 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8762580583664 2020-04-19 14:55:20,497 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8762580583664 2020-04-19 14:55:20,541 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Character Notify Update 2020-04-19 14:55:20,541 - lelo-f1-sdk-client.notification - INFO - activated user callback handler for register 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 14:55:20,541 - lelo-f1-sdk-client - DEBUG - registering callback for rotation speed 2020-04-19 14:55:20,541 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8762580583664 2020-04-19 14:55:20,542 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8762580583664 2020-04-19 14:55:20,542 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8762580583664 2020-04-19 14:55:20,564 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:20,586 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Character Notify Update 2020-04-19 14:55:20,586 - lelo-f1-sdk-client.notification - INFO - activated user callback handler for register 00000aa3-0000-1000-8000-00805f9b34fb HALL 2020-04-19 14:55:20,586 - lelo-f1-sdk-client - DEBUG - registering callback for depth 2020-04-19 14:55:20,587 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8762580583664 2020-04-19 14:55:20,587 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8762580583664 2020-04-19 14:55:20,587 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8762580583664 2020-04-19 14:55:20,631 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Character Notify Update 2020-04-19 14:55:20,631 - lelo-f1-sdk-client.notification - INFO - activated user callback handler for register 00000a0b-0000-1000-8000-00805f9b34fb LENGTH 2020-04-19 14:55:20,631 - lelo-f1-sdk-client - DEBUG - registering callback for accelerometer 2020-04-19 14:55:20,632 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8762580583664 2020-04-19 14:55:20,632 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8762580583664 2020-04-19 14:55:20,632 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8762580583664 2020-04-19 14:55:20,654 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:20,676 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Character Notify Update 2020-04-19 14:55:20,676 - lelo-f1-sdk-client.notification - INFO - activated user callback handler for register 00000a0c-0000-1000-8000-00805f9b34fb ACCELEROMETER 2020-04-19 14:55:20,676 - lelo-f1-sdk-client - DEBUG - registering callback for pressure and temperature 2020-04-19 14:55:20,677 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8762580583664 2020-04-19 14:55:20,677 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8762580583664 2020-04-19 14:55:20,677 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8762580583664 2020-04-19 14:55:20,721 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Character Notify Update 2020-04-19 14:55:20,721 - lelo-f1-sdk-client.notification - INFO - activated user callback handler for register 00000a0a-0000-1000-8000-00805f9b34fb PRESSURE_TEMPERATURE 2020-04-19 14:55:20,722 - lelo-f1-sdk-client.fs - DEBUG - connection_profile_path = /Users/nicholasklyne/Library/Application Support/GUISample/last_connection_profile.dmp 2020-04-19 14:55:20,722 - lelo-f1-sdk-client.fs - DEBUG - saving connection profile 170053E4-913D-4D8D-88EF-F5DFB757E98D to /Users/nicholasklyne/Library/Application Support/GUISample/last_connection_profile.dmp 2020-04-19 14:55:20,723 - root - DEBUG - runner task discover_and_connect finished 2020-04-19 14:55:20,766 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:20,856 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:20,946 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:20,969 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:21,016 - root - DEBUG - runner task refresh_sensor_status started 2020-04-19 14:55:21,065 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:21,129 - root - DEBUG - runner task refresh_sensor_status finished 2020-04-19 14:55:21,171 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:21,261 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:21,374 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:21,464 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:21,576 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:21,666 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:21,779 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:21,869 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:21,959 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:21,960 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:22,020 - root - DEBUG - runner task refresh_sensor_status started 2020-04-19 14:55:22,078 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:22,133 - root - DEBUG - runner task refresh_sensor_status finished 2020-04-19 14:55:22,184 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:22,274 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:22,364 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:22,476 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:22,566 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:22,679 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:22,771 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:22,858 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:22,949 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:22,971 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,026 - root - DEBUG - runner task refresh_sensor_status started 2020-04-19 14:55:23,061 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,146 - root - DEBUG - runner task refresh_sensor_status finished 2020-04-19 14:55:23,174 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,175 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,219 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,220 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,264 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,264 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,286 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,287 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,376 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,377 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,399 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,400 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,466 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,467 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,489 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,490 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,579 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,579 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,601 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,602 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,669 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,670 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,691 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,692 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,781 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,782 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,804 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,805 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,871 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,872 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,894 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,895 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,939 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,961 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,962 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,984 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:23,985 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,029 - root - DEBUG - runner task refresh_sensor_status started 2020-04-19 14:55:24,082 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,082 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,111 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,111 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,178 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,178 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,200 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,200 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,213 - root - DEBUG - runner task refresh_sensor_status finished 2020-04-19 14:55:24,276 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,277 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,299 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,299 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,366 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,367 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,389 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,390 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,479 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,479 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,501 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,502 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,569 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,570 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,591 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,592 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,681 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,683 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,704 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,705 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,771 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,772 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,794 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,795 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,884 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,884 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,906 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,907 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,951 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,973 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,975 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,996 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:24,997 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,031 - root - DEBUG - runner task refresh_sensor_status started 2020-04-19 14:55:25,066 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,066 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,099 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,099 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,179 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,179 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,212 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,212 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,247 - root - DEBUG - runner task refresh_sensor_status finished 2020-04-19 14:55:25,266 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,267 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,289 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,290 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,379 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,380 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,401 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,402 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,469 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,470 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,491 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,492 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,581 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,582 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,604 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,605 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,671 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,672 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,694 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,695 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,784 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,785 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,806 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,807 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,874 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,875 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,896 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,897 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 14:55:25,923 - root - DEBUG - EVENT vm_plus 2020-04-19 14:55:25,925 - root - DEBUG - runner task increment_vibe_motor started 2020-04-19 14:55:25,925 - root - DEBUG - reusing cached vibe motor speed 2020-04-19 14:55:25,925 - root - INFO - setting vibe motor speed to 30 % 2020-04-19 14:55:25,926 - root - DEBUG - reusing cached main motor speed 2020-04-19 14:55:25,926 - lelo-f1-sdk-client - DEBUG - skipping key_state check because it is disabled 2020-04-19 14:55:25,926 - lelo-f1-sdk-client - INFO - setting motor speed to 0 and vibration speed to 30 2020-04-19 14:55:25,926 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR SPEED << [1, 0, 30] Fatal Python error: PyEval_RestoreThread: NULL tstate

Current thread 0x000000010f1cfdc0 (most recent call first): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/bleak/backends/corebluetooth/init.py", line 43 in _handle_nsrunloop File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/events.py", line 88 in _run File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 1786 in _run_once File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 541 in run_forever File "sample_gui.py", line 813 in Abort trap: 6

fabiofenoglio commented 4 years ago

Just for curiosity, are you able to run sample_cli.py or does it crash too?

VoodooChild65 commented 4 years ago

Not Tried it, will do had thought too just haven't

VoodooChild65 commented 4 years ago

It runs, get through the second button press then not sure what to do.. if I hit buttons terminal says

2020-04-19 15:48:57,951 - root - INFO - BUTTON STATE: PRESSED - BUTTON 2020-04-19 15:48:58,176 - root - INFO - BUTTON STATE: no buttons pressed

eventually get 2020-04-19 15:49:18,358 - lelo-f1-sdk-client.notification - INFO - deactivated user callback handler for register 00000aa4-0000-1000-8000-00805f9b34fb BUTTON 2020-04-19 15:49:18,359 - lelo-f1-sdk-client - INFO - sending device shutdown signal

full output..

2020-04-19 15:48:19,233 - root - INFO - running discovery to find your F1s ... 2020-04-19 15:48:39,247 - lelo-f1-sdk-client - INFO - discovery found device with correct advertising name: F1s, address=170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-19 15:48:39,248 - root - INFO - Device found! Trying to connect ... 2020-04-19 15:48:39,248 - lelo-f1-sdk-client - INFO - connecting to device 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-19 15:48:41,718 - bleak.backends.corebluetooth.PeripheralDelegate - WARNING - PeripheralDelegate is not compliant 2020-04-19 15:48:42,391 - lelo-f1-sdk-client - INFO - succesfully connected to device 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-19 15:48:42,392 - lelo-f1-sdk-client - ERROR - error profiling device: 'NSArrayI' object has no attribute 'characteristics' Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/lelof1py/async_client.py", line 127, in connect await self._profile_device() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/lelof1py/async_client.py", line 143, in _profile_device for k, v in profiling.characteristics.items(): AttributeError: 'NSArrayI' object has no attribute 'characteristics' 2020-04-19 15:48:42,413 - root - INFO - Device connected! 2020-04-19 15:48:42,436 - root - INFO - Not authorized. Please, PRESS THE CENTRAL BUTTON 2020-04-19 15:48:44,518 - root - INFO - Not authorized. Please, PRESS THE CENTRAL BUTTON 2020-04-19 15:48:46,791 - lelo-f1-sdk-client - INFO - sending motors stop signal 2020-04-19 15:48:46,881 - root - INFO - get_manufacturer_name: LELO 2020-04-19 15:48:46,926 - root - INFO - get_model_number: F1s 2020-04-19 15:48:46,971 - root - INFO - get_hardware_revision: F1s REV.D 2020-04-19 15:48:47,016 - root - INFO - get_firmware_revision: F1s PRE SVN_2404 2020-04-19 15:48:47,061 - root - INFO - get_software_revision: F1s Rev.B 2020-04-19 15:48:47,106 - root - INFO - get_mac_address: 00:81:F9:D8:AC:B7 2020-04-19 15:48:47,151 - root - INFO - get_serial_number: 72:37:79:43:45:52:56:34:5A:74:66:73:77:54:00 2020-04-19 15:48:47,196 - root - INFO - get_chip_id: 08:A9:70:7E:FA:2C:F7:B1 2020-04-19 15:48:47,241 - root - INFO - get_device_name: F1s 2020-04-19 15:48:47,286 - root - INFO - get_system_id: B7:AC:D8:00:00:F9:81:00 2020-04-19 15:48:47,331 - root - INFO - get_pnp_id: 01:0D:00:00:00:10:01 2020-04-19 15:48:47,376 - root - INFO - get_ieee_11073_20601: FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C 2020-04-19 15:48:47,421 - root - INFO - get_battery_level: 94 2020-04-19 15:48:47,511 - root - INFO - get_temperature: 0.0 2020-04-19 15:48:47,601 - root - INFO - get_pressure: 0.0 2020-04-19 15:48:47,691 - root - INFO - get_accelerometer: (0, 0, 0) 2020-04-19 15:48:47,781 - root - INFO - get_depth: 0 2020-04-19 15:48:47,871 - root - INFO - get_rotation_speed: 600 2020-04-19 15:48:47,961 - root - INFO - get_use_count: 88 2020-04-19 15:48:48,006 - lelo-f1-sdk-client.notification - INFO - activated user callback handler for register 00000aa4-0000-1000-8000-00805f9b34fb BUTTON 2020-04-19 15:48:48,006 - root - INFO - waiting, try pressing the buttons 2020-04-19 15:48:57,951 - root - INFO - BUTTON STATE: PRESSED - BUTTON 2020-04-19 15:48:58,176 - root - INFO - BUTTON STATE: no buttons pressed 2020-04-19 15:49:05,533 - root - INFO - BUTTON STATE: PRESSED - BUTTON 2020-04-19 15:49:05,803 - root - INFO - BUTTON STATE: no buttons pressed 2020-04-19 15:49:06,523 - root - INFO - BUTTON STATE: PRESSED - BUTTON 2020-04-19 15:49:06,704 - root - INFO - BUTTON STATE: no buttons pressed 2020-04-19 15:49:06,951 - root - INFO - BUTTON STATE: PRESSED - BUTTON 2020-04-19 15:49:07,108 - root - INFO - BUTTON STATE: no buttons pressed 2020-04-19 15:49:07,357 - root - INFO - BUTTON STATE: PRESSED - BUTTON 2020-04-19 15:49:07,468 - root - INFO - BUTTON STATE: no buttons pressed 2020-04-19 15:49:07,717 - root - INFO - BUTTON STATE: PRESSED - BUTTON 2020-04-19 15:49:07,807 - root - INFO - BUTTON STATE: no buttons pressed 2020-04-19 15:49:09,606 - root - INFO - BUTTON STATE: PRESSED + BUTTON 2020-04-19 15:49:09,899 - root - INFO - BUTTON STATE: no buttons pressed 2020-04-19 15:49:10,686 - root - INFO - BUTTON STATE: PRESSED + BUTTON 2020-04-19 15:49:10,978 - root - INFO - BUTTON STATE: no buttons pressed 2020-04-19 15:49:11,158 - root - INFO - BUTTON STATE: PRESSED + BUTTON 2020-04-19 15:49:11,361 - root - INFO - BUTTON STATE: no buttons pressed 2020-04-19 15:49:11,519 - root - INFO - BUTTON STATE: PRESSED + BUTTON 2020-04-19 15:49:11,563 - root - INFO - BUTTON STATE: no buttons pressed 2020-04-19 15:49:11,745 - root - INFO - BUTTON STATE: PRESSED + BUTTON 2020-04-19 15:49:11,812 - root - INFO - BUTTON STATE: no buttons pressed 2020-04-19 15:49:11,902 - root - INFO - BUTTON STATE: PRESSED + BUTTON 2020-04-19 15:49:11,992 - root - INFO - BUTTON STATE: no buttons pressed 2020-04-19 15:49:18,358 - lelo-f1-sdk-client.notification - INFO - deactivated user callback handler for register 00000aa4-0000-1000-8000-00805f9b34fb BUTTON 2020-04-19 15:49:18,359 - lelo-f1-sdk-client - INFO - sending device shutdown signal

fabiofenoglio commented 4 years ago

it runs successfully. That example just demonstrates read and buttons notifications. Please, download the updated version of sample_cli.py that I just committed and try it: it does the same but attempts to start the motors once connected

VoodooChild65 commented 4 years ago

The motors are running.. then stop, device disconnected

2020-04-19 16:26:47,203 - lelo-f1-sdk-client - INFO - succesfully connected to device 170053E4-913D-4D8D-88EF-F5DFB757E98D 2020-04-19 16:26:47,203 - lelo-f1-sdk-client - DEBUG - profiling the device 2020-04-19 16:26:47,203 - lelo-f1-sdk-client - ERROR - error profiling device: 'NSArrayI' object has no attribute 'characteristics' Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/lelof1py/async_client.py", line 127, in connect await self._profile_device() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/lelof1py/async_client.py", line 143, in _profile_device for k, v in profiling.characteristics.items(): AttributeError: 'NSArrayI' object has no attribute 'characteristics' 2020-04-19 16:26:47,204 - lelo-f1-sdk-client - DEBUG - verifying communication layer 2020-04-19 16:26:47,204 - lelo-f1-sdk-client - DEBUG - sending ping to device 2020-04-19 16:26:47,204 - lelo-f1-sdk-client.io - DEBUG - READING 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER 2020-04-19 16:26:47,248 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:47,248 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A24 : bytearray(b'F1s') 2020-04-19 16:26:47,248 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1s 2020-04-19 16:26:47,248 - lelo-f1-sdk-client - DEBUG - device responded to ping 2020-04-19 16:26:47,248 - root - INFO - Device connected! 2020-04-19 16:26:47,248 - lelo-f1-sdk-client - DEBUG - checking key state 2020-04-19 16:26:47,248 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:26:47,281 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:47,281 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x00') 2020-04-19 16:26:47,281 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00') from device register KEY STATE 2020-04-19 16:26:47,281 - lelo-f1-sdk-client.io - DEBUG - translated value from device register KEY STATE to False 2020-04-19 16:26:47,281 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> False 2020-04-19 16:26:47,281 - root - INFO - Not authorized. Please, PRESS THE CENTRAL BUTTON 2020-04-19 16:26:49,285 - lelo-f1-sdk-client - DEBUG - checking key state 2020-04-19 16:26:49,286 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:26:49,424 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:49,424 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x00') 2020-04-19 16:26:49,425 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00') from device register KEY STATE 2020-04-19 16:26:49,425 - lelo-f1-sdk-client.io - DEBUG - translated value from device register KEY STATE to False 2020-04-19 16:26:49,425 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> False 2020-04-19 16:26:49,425 - root - INFO - Not authorized. Please, PRESS THE CENTRAL BUTTON 2020-04-19 16:26:51,428 - lelo-f1-sdk-client - DEBUG - checking key state 2020-04-19 16:26:51,428 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:26:51,629 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:51,629 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x01') 2020-04-19 16:26:51,629 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x01') from device register KEY STATE 2020-04-19 16:26:51,629 - lelo-f1-sdk-client.io - DEBUG - translated value from device register KEY STATE to True 2020-04-19 16:26:51,629 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 16:26:51,629 - root - DEBUG - now stopping motors for initialization 2020-04-19 16:26:51,629 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:26:51,674 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:51,675 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x01') 2020-04-19 16:26:51,675 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 16:26:51,675 - lelo-f1-sdk-client - INFO - sending motors stop signal 2020-04-19 16:26:51,675 - lelo-f1-sdk-client.io - DEBUG - translating value True to device register MOTOR STOP bytes 2020-04-19 16:26:51,675 - lelo-f1-sdk-client.io - DEBUG - translated value to device register MOTOR STOP bytes [1, 0, 0] 2020-04-19 16:26:51,675 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR STOP << [1, 0, 0] 2020-04-19 16:26:51,719 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Write Characteristic Value 2020-04-19 16:26:51,719 - bleak.backends.corebluetooth.client - DEBUG - Write Characteristic FFF1 : bytearray(b'\x01\x00\x00') 2020-04-19 16:26:51,720 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR STOP DONE 2020-04-19 16:26:51,720 - lelo-f1-sdk-client.io - DEBUG - READING 00002a29-0000-1000-8000-00805f9b34fb MANUFACTURER NAME 2020-04-19 16:26:51,764 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:51,764 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A29 : bytearray(b'LELO') 2020-04-19 16:26:51,764 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'LELO') from device register MANUFACTURER NAME 2020-04-19 16:26:51,764 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MANUFACTURER NAME to LELO 2020-04-19 16:26:51,764 - lelo-f1-sdk-client.io - INFO - READ 00002a29-0000-1000-8000-00805f9b34fb MANUFACTURER NAME >> LELO 2020-04-19 16:26:51,764 - root - INFO - get_manufacturer_name: LELO 2020-04-19 16:26:51,765 - lelo-f1-sdk-client.io - DEBUG - READING 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER 2020-04-19 16:26:51,809 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:51,809 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A24 : bytearray(b'F1s') 2020-04-19 16:26:51,809 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1s') from device register MODEL NUMBER 2020-04-19 16:26:51,809 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MODEL NUMBER to F1s 2020-04-19 16:26:51,809 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1s 2020-04-19 16:26:51,809 - root - INFO - get_model_number: F1s 2020-04-19 16:26:51,809 - lelo-f1-sdk-client.io - DEBUG - READING 00002a27-0000-1000-8000-00805f9b34fb HARDWARE REVISION 2020-04-19 16:26:51,855 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:51,855 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A27 : bytearray(b'F1s REV.D') 2020-04-19 16:26:51,855 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1s REV.D') from device register HARDWARE REVISION 2020-04-19 16:26:51,855 - lelo-f1-sdk-client.io - DEBUG - translated value from device register HARDWARE REVISION to F1s REV.D 2020-04-19 16:26:51,855 - lelo-f1-sdk-client.io - INFO - READ 00002a27-0000-1000-8000-00805f9b34fb HARDWARE REVISION >> F1s REV.D 2020-04-19 16:26:51,855 - root - INFO - get_hardware_revision: F1s REV.D 2020-04-19 16:26:51,855 - lelo-f1-sdk-client.io - DEBUG - READING 00002a26-0000-1000-8000-00805f9b34fb FIRMWARE REVISION 2020-04-19 16:26:51,900 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:51,900 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A26 : bytearray(b'F1s PRE SVN_2404') 2020-04-19 16:26:51,900 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1s PRE SVN_2404') from device register FIRMWARE REVISION 2020-04-19 16:26:51,900 - lelo-f1-sdk-client.io - DEBUG - translated value from device register FIRMWARE REVISION to F1s PRE SVN_2404 2020-04-19 16:26:51,900 - lelo-f1-sdk-client.io - INFO - READ 00002a26-0000-1000-8000-00805f9b34fb FIRMWARE REVISION >> F1s PRE SVN_2404 2020-04-19 16:26:51,900 - root - INFO - get_firmware_revision: F1s PRE SVN_2404 2020-04-19 16:26:51,900 - lelo-f1-sdk-client.io - DEBUG - READING 00002a28-0000-1000-8000-00805f9b34fb SOFTWARE REVISION 2020-04-19 16:26:51,944 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:51,944 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A28 : bytearray(b'F1s Rev.B ') 2020-04-19 16:26:51,944 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1s Rev.B ') from device register SOFTWARE REVISION 2020-04-19 16:26:51,945 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SOFTWARE REVISION to F1s Rev.B 2020-04-19 16:26:51,945 - lelo-f1-sdk-client.io - INFO - READ 00002a28-0000-1000-8000-00805f9b34fb SOFTWARE REVISION >> F1s Rev.B 2020-04-19 16:26:51,945 - root - INFO - get_software_revision: F1s Rev.B 2020-04-19 16:26:51,945 - lelo-f1-sdk-client.io - DEBUG - READING 00000a06-0000-1000-8000-00805f9b34fb MAC ADDRESS 2020-04-19 16:26:51,990 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:51,990 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A06 : bytearray(b'\x00\x81\xf9\xd8\xac\xb7') 2020-04-19 16:26:51,990 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x81\xf9\xd8\xac\xb7') from device register MAC ADDRESS 2020-04-19 16:26:51,990 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MAC ADDRESS to 00:81:F9:D8:AC:B7 2020-04-19 16:26:51,990 - lelo-f1-sdk-client.io - INFO - READ 00000a06-0000-1000-8000-00805f9b34fb MAC ADDRESS >> 00:81:F9:D8:AC:B7 2020-04-19 16:26:51,990 - root - INFO - get_mac_address: 00:81:F9:D8:AC:B7 2020-04-19 16:26:51,990 - lelo-f1-sdk-client.io - DEBUG - READING 00000a05-0000-1000-8000-00805f9b34fb SERIAL NUMBER 2020-04-19 16:26:52,035 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,035 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A05 : bytearray(b'r7yCERV4ZtfswT\x00') 2020-04-19 16:26:52,035 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'r7yCERV4ZtfswT\x00') from device register SERIAL NUMBER 2020-04-19 16:26:52,035 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SERIAL NUMBER to 72:37:79:43:45:52:56:34:5A:74:66:73:77:54:00 2020-04-19 16:26:52,035 - lelo-f1-sdk-client.io - INFO - READ 00000a05-0000-1000-8000-00805f9b34fb SERIAL NUMBER >> 72:37:79:43:45:52:56:34:5A:74:66:73:77:54:00 2020-04-19 16:26:52,035 - root - INFO - get_serial_number: 72:37:79:43:45:52:56:34:5A:74:66:73:77:54:00 2020-04-19 16:26:52,035 - lelo-f1-sdk-client.io - DEBUG - READING 00000a07-0000-1000-8000-00805f9b34fb CHIP ID 2020-04-19 16:26:52,080 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,080 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A07 : bytearray(b'\x08\xa9p~\xfa,\xf7\xb1') 2020-04-19 16:26:52,080 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x08\xa9p~\xfa,\xf7\xb1') from device register CHIP ID 2020-04-19 16:26:52,080 - lelo-f1-sdk-client.io - DEBUG - translated value from device register CHIP ID to 08:A9:70:7E:FA:2C:F7:B1 2020-04-19 16:26:52,080 - lelo-f1-sdk-client.io - INFO - READ 00000a07-0000-1000-8000-00805f9b34fb CHIP ID >> 08:A9:70:7E:FA:2C:F7:B1 2020-04-19 16:26:52,080 - root - INFO - get_chip_id: 08:A9:70:7E:FA:2C:F7:B1 2020-04-19 16:26:52,080 - lelo-f1-sdk-client.io - DEBUG - READING 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER 2020-04-19 16:26:52,124 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,125 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A24 : bytearray(b'F1s') 2020-04-19 16:26:52,125 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'F1s') from device register MODEL NUMBER 2020-04-19 16:26:52,125 - lelo-f1-sdk-client.io - DEBUG - translated value from device register MODEL NUMBER to F1s 2020-04-19 16:26:52,125 - lelo-f1-sdk-client.io - INFO - READ 00002a24-0000-1000-8000-00805f9b34fb MODEL NUMBER >> F1s 2020-04-19 16:26:52,125 - root - INFO - get_device_name: F1s 2020-04-19 16:26:52,125 - lelo-f1-sdk-client.io - DEBUG - READING 00002a23-0000-1000-8000-00805f9b34fb SYSTEM ID 2020-04-19 16:26:52,170 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,170 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A23 : bytearray(b'\xb7\xac\xd8\x00\x00\xf9\x81\x00') 2020-04-19 16:26:52,170 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\xb7\xac\xd8\x00\x00\xf9\x81\x00') from device register SYSTEM ID 2020-04-19 16:26:52,170 - lelo-f1-sdk-client.io - DEBUG - translated value from device register SYSTEM ID to B7:AC:D8:00:00:F9:81:00 2020-04-19 16:26:52,170 - lelo-f1-sdk-client.io - INFO - READ 00002a23-0000-1000-8000-00805f9b34fb SYSTEM ID >> B7:AC:D8:00:00:F9:81:00 2020-04-19 16:26:52,170 - root - INFO - get_system_id: B7:AC:D8:00:00:F9:81:00 2020-04-19 16:26:52,170 - lelo-f1-sdk-client.io - DEBUG - READING 00002a50-0000-1000-8000-00805f9b34fb PNP ID 2020-04-19 16:26:52,215 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,215 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A50 : bytearray(b'\x01\r\x00\x00\x00\x10\x01') 2020-04-19 16:26:52,215 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x01\r\x00\x00\x00\x10\x01') from device register PNP ID 2020-04-19 16:26:52,215 - lelo-f1-sdk-client.io - DEBUG - translated value from device register PNP ID to 01:0D:00:00:00:10:01 2020-04-19 16:26:52,215 - lelo-f1-sdk-client.io - INFO - READ 00002a50-0000-1000-8000-00805f9b34fb PNP ID >> 01:0D:00:00:00:10:01 2020-04-19 16:26:52,215 - root - INFO - get_pnp_id: 01:0D:00:00:00:10:01 2020-04-19 16:26:52,215 - lelo-f1-sdk-client.io - DEBUG - READING 00002a2a-0000-1000-8000-00805f9b34fb IEEE11073 2020-04-19 16:26:52,259 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,260 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A2A : bytearray(b'\xfe\x00experimental') 2020-04-19 16:26:52,260 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\xfe\x00experimental') from device register IEEE11073 2020-04-19 16:26:52,260 - 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 2020-04-19 16:26:52,260 - 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 2020-04-19 16:26:52,260 - root - INFO - get_ieee_11073_20601: FE:00:65:78:70:65:72:69:6D:65:6E:74:61:6C 2020-04-19 16:26:52,260 - lelo-f1-sdk-client.io - DEBUG - READING 00002a19-0000-1000-8000-00805f9b34fb BATTERY LEVEL 2020-04-19 16:26:52,304 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,305 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 2A19 : bytearray(b'^') 2020-04-19 16:26:52,305 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'^') from device register BATTERY LEVEL 2020-04-19 16:26:52,305 - lelo-f1-sdk-client.io - DEBUG - translated value from device register BATTERY LEVEL to 94 2020-04-19 16:26:52,305 - lelo-f1-sdk-client.io - INFO - READ 00002a19-0000-1000-8000-00805f9b34fb BATTERY LEVEL >> 94 2020-04-19 16:26:52,305 - root - INFO - get_battery_level: 94 2020-04-19 16:26:52,305 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:26:52,349 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,349 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x01') 2020-04-19 16:26:52,350 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 16:26:52,350 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0a-0000-1000-8000-00805f9b34fb PRESSURE_TEMPERATURE 2020-04-19 16:26:52,395 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,395 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0A : bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00') 2020-04-19 16:26:52,395 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00') from device register PRESSURE_TEMPERATURE 2020-04-19 16:26:52,395 - lelo-f1-sdk-client.io - DEBUG - translated value from device register PRESSURE_TEMPERATURE to (0.0, 0.0) 2020-04-19 16:26:52,396 - lelo-f1-sdk-client.io - INFO - READ 00000a0a-0000-1000-8000-00805f9b34fb PRESSURE_TEMPERATURE >> (0.0, 0.0) 2020-04-19 16:26:52,396 - root - INFO - get_temperature: 0.0 2020-04-19 16:26:52,396 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:26:52,439 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,439 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x01') 2020-04-19 16:26:52,439 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 16:26:52,439 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0a-0000-1000-8000-00805f9b34fb PRESSURE_TEMPERATURE 2020-04-19 16:26:52,485 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,485 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0A : bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00') 2020-04-19 16:26:52,485 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00') from device register PRESSURE_TEMPERATURE 2020-04-19 16:26:52,485 - lelo-f1-sdk-client.io - DEBUG - translated value from device register PRESSURE_TEMPERATURE to (0.0, 0.0) 2020-04-19 16:26:52,485 - lelo-f1-sdk-client.io - INFO - READ 00000a0a-0000-1000-8000-00805f9b34fb PRESSURE_TEMPERATURE >> (0.0, 0.0) 2020-04-19 16:26:52,485 - root - INFO - get_pressure: 0.0 2020-04-19 16:26:52,485 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:26:52,529 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,530 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x01') 2020-04-19 16:26:52,530 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 16:26:52,530 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0c-0000-1000-8000-00805f9b34fb ACCELEROMETER 2020-04-19 16:26:52,574 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,574 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0C : bytearray(b'\x00\x00\x00\x00\x00\x00') 2020-04-19 16:26:52,574 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x00\x00\x00\x00\x00') from device register ACCELEROMETER 2020-04-19 16:26:52,575 - lelo-f1-sdk-client.io - DEBUG - translated value from device register ACCELEROMETER to (0, 0, 0) 2020-04-19 16:26:52,575 - lelo-f1-sdk-client.io - INFO - READ 00000a0c-0000-1000-8000-00805f9b34fb ACCELEROMETER >> (0, 0, 0) 2020-04-19 16:26:52,575 - root - INFO - get_accelerometer: (0, 0, 0) 2020-04-19 16:26:52,575 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:26:52,619 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,620 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x01') 2020-04-19 16:26:52,620 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 16:26:52,620 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0b-0000-1000-8000-00805f9b34fb LENGTH 2020-04-19 16:26:52,687 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,687 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0B : bytearray(b'\x00\x00') 2020-04-19 16:26:52,687 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00\x00') from device register LENGTH 2020-04-19 16:26:52,687 - lelo-f1-sdk-client.io - DEBUG - translated value from device register LENGTH to 0 2020-04-19 16:26:52,687 - lelo-f1-sdk-client.io - INFO - READ 00000a0b-0000-1000-8000-00805f9b34fb LENGTH >> 0 2020-04-19 16:26:52,687 - root - INFO - get_depth: 0 2020-04-19 16:26:52,688 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:26:52,732 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,732 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x01') 2020-04-19 16:26:52,732 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 16:26:52,732 - lelo-f1-sdk-client.io - DEBUG - READING 00000aa3-0000-1000-8000-00805f9b34fb HALL 2020-04-19 16:26:52,777 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,777 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0AA3 : bytearray(b'\x04\xec') 2020-04-19 16:26:52,777 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x04\xec') from device register HALL 2020-04-19 16:26:52,777 - lelo-f1-sdk-client.io - DEBUG - translated value from device register HALL to 1260 2020-04-19 16:26:52,777 - lelo-f1-sdk-client.io - INFO - READ 00000aa3-0000-1000-8000-00805f9b34fb HALL >> 1260 2020-04-19 16:26:52,777 - root - INFO - get_rotation_speed: 1260 2020-04-19 16:26:52,777 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:26:52,822 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,822 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x01') 2020-04-19 16:26:52,822 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 16:26:52,822 - lelo-f1-sdk-client.io - DEBUG - READING 00000a04-0000-1000-8000-00805f9b34fb USER RECORD 2020-04-19 16:26:52,867 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:52,867 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A04 : bytearray(b'\x00]') 2020-04-19 16:26:52,867 - lelo-f1-sdk-client.io - DEBUG - translating value bytearray(b'\x00]') from device register USER RECORD 2020-04-19 16:26:52,867 - lelo-f1-sdk-client.io - DEBUG - translated value from device register USER RECORD to 93 2020-04-19 16:26:52,867 - lelo-f1-sdk-client.io - INFO - READ 00000a04-0000-1000-8000-00805f9b34fb USER RECORD >> 93 2020-04-19 16:26:52,867 - root - INFO - get_use_count: 93 2020-04-19 16:26:52,867 - lelo-f1-sdk-client - DEBUG - registering callback for buttons 2020-04-19 16:26:52,867 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8780590904226 2020-04-19 16:26:52,867 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8780590904226 2020-04-19 16:26:52,867 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8780590904226 2020-04-19 16:26:52,947 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Character Notify Update 2020-04-19 16:26:52,947 - lelo-f1-sdk-client.notification - INFO - activated user callback handler for register 00000aa4-0000-1000-8000-00805f9b34fb BUTTON 2020-04-19 16:26:52,947 - root - INFO - setting motors speed to 0/40 2020-04-19 16:26:52,947 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:26:53,317 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:26:53,317 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x01') 2020-04-19 16:26:53,317 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 16:26:53,317 - lelo-f1-sdk-client - INFO - setting motor speed to 0 and vibration speed to 40 2020-04-19 16:26:53,318 - lelo-f1-sdk-client.io - DEBUG - translating value [0, 40] to device register MOTOR SPEED bytes 2020-04-19 16:26:53,318 - lelo-f1-sdk-client.io - DEBUG - translated value to device register MOTOR SPEED bytes [1, 0, 40] 2020-04-19 16:26:53,318 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR SPEED << [1, 0, 40] 2020-04-19 16:26:53,362 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Write Characteristic Value 2020-04-19 16:26:53,362 - bleak.backends.corebluetooth.client - DEBUG - Write Characteristic FFF1 : bytearray(b'\x01\x00(') 2020-04-19 16:26:53,362 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb MOTOR SPEED DONE 2020-04-19 16:26:53,362 - root - INFO - waiting 30 seconds, try pressing the buttons 2020-04-19 16:27:23,366 - root - INFO - finished, now disconnecting 2020-04-19 16:27:23,366 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:27:23,670 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:27:23,670 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x01') 2020-04-19 16:27:23,670 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 16:27:23,670 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8780590904226 2020-04-19 16:27:23,670 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8780590904226 2020-04-19 16:27:23,670 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8780590904226 2020-04-19 16:27:23,670 - lelo-f1-sdk-client.io - DEBUG - READING 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE 2020-04-19 16:27:23,715 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Read characteristic value 2020-04-19 16:27:23,715 - bleak.backends.corebluetooth.client - DEBUG - Read Characteristic 0A0F : bytearray(b'\x01') 2020-04-19 16:27:23,715 - lelo-f1-sdk-client.io - INFO - READ 00000a0f-0000-1000-8000-00805f9b34fb KEY STATE >> True 2020-04-19 16:27:23,715 - lelo-f1-sdk-client - DEBUG - unregistering all callbacks for register 00000aa4-0000-1000-8000-00805f9b34fb 2020-04-19 16:27:23,715 - lelo-f1-sdk-client.sync - DEBUG - acquiring lock for resource 8780590904226 2020-04-19 16:27:23,715 - lelo-f1-sdk-client.sync - DEBUG - lock acquired for resource 8780590904226 2020-04-19 16:27:23,715 - lelo-f1-sdk-client.sync - DEBUG - lock released for resource 8780590904226 2020-04-19 16:27:23,760 - bleak.backends.corebluetooth.PeripheralDelegate - DEBUG - Character Notify Update 2020-04-19 16:27:23,760 - lelo-f1-sdk-client.notification - INFO - deactivated user callback handler for register 00000aa4-0000-1000-8000-00805f9b34fb BUTTON 2020-04-19 16:27:23,760 - lelo-f1-sdk-client - INFO - sending device shutdown signal 2020-04-19 16:27:23,760 - lelo-f1-sdk-client.io - DEBUG - translating value True to device register SHUTDOWN bytes 2020-04-19 16:27:23,760 - lelo-f1-sdk-client.io - DEBUG - translated value to device register SHUTDOWN bytes [1, 250] 2020-04-19 16:27:23,760 - lelo-f1-sdk-client.io - INFO - WRITE 0000fff1-0000-1000-8000-00805f9b34fb SHUTDOWN << [1, 250] 2020-04-19 16:27:28,782 - bleak.backends.corebluetooth.CentralManagerDelegate - DEBUG - Peripheral Device disconnected!

fabiofenoglio commented 4 years ago

The sample ran successfully. It is programmed to stop after 30 seconds so it's all good. I think the macOS backend for Bleak might have a problem with co-running eventloops such as a GUI eventloop. I will check this and report to you as soon as I know something more.

VoodooChild65 commented 4 years ago

Okay, that would explain a lot... I do have a PC it's work based so not put python on it and know were to start even less that the Mac.. but would that be easier to get working ?

fabiofenoglio commented 4 years ago

Yes, on windows it would be easier. But I intend to work in order to support macOS if that is possible.

VoodooChild65 commented 4 years ago

Understood, and happy to be bug tester for MacOs... can yo point me at a good place to get info on putting Python on PC..

fabiofenoglio commented 4 years ago

You can download python 3.7 from here: https://www.python.org/ftp/python/3.7.7/python-3.7.7.exe

once installed, reboot your PC. Then, run

pip install lelof1py
pip install pysimplegui

then you can run the samples: python sample_gui.py

VoodooChild65 commented 4 years ago

That Was simple.... it works!!!! on PC... and be great as you want to get it working on MacOS

VoodooChild65 commented 4 years ago

What would need to happen for someone to control it remotely, current plan is use TeamViewer...

fabiofenoglio commented 4 years ago

I published two samples that allow for remote control via socket. Instead of sample_gui.py, you have to run sample_socket.py Then, the person in control has to run sample_socket_controller.py

Note that in order to allow inbound socket connections:

fabiofenoglio commented 4 years ago

Please, if you need assistance running the socket samples, open a new issue so I can categorize it as something-other-than-bug

udgtehsy commented 4 years ago

What would need to happen for someone to control it remotely, current plan is use TeamViewer...

That's what I did. Works on Android and iPhone too. The apps called TeamViewer QuickSupport for both platforms and doesn't need to be sideloaded on iOS as it's in the App Store. Hope that helps!

fabiofenoglio commented 4 years ago

Hello @VoodooChild65, since I've got many requests about remote control and similar features, I setup a public hub to share and collaborate on F1 SDK applications.

You can register and start using the BETA version here: https://lelo-hub.fabiofenoglio.it/ Note: since it is based on Web Bluetooth it requires Chrome or Chrome on mobile.

I'd like to ask you if you could kindly open an issue detailing your desiderata (es. remote control, particular control features, interface enhancements, ...) on this other repository: https://github.com/fabiofenoglio/lelo-f1-hub/issues

Thank you for your cooperation