You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
traceback (most recent call last):
File "/home/thescribe/Documents/spotledtest.py", line 2, in
sender = spotled.LedConnection('E1:A0:BB:5D:5A:A0')
File "/home/thescribe/.local/lib/python3.10/site-packages/spotled/init.py", line 771, in init
self.connection.write_by_handle(0x0f, b'\x00\x00\x00\x01') # request notifications
gattlib.GATTException: Characteristic value/descriptor operation failed: Attribute can't be written
I copy/pasted a couple lines of code you posted here, and i got this error.. i think its because that mac address cant be assigned to the sender variable??
edit: at least i think i connected idk.. but the error message changed from saying the bluetooth connection timed out to this when i put in the correct mac address, (the address of the led screen itself)
The text was updated successfully, but these errors were encountered:
File "/home/thescribe/.local/lib/python3.10/site-packages/spotled/init.py", line 771, in init
self.connection.write_by_handle(0x0f, b'\x00\x00\x00\x01') # request notifications
gattlib.GATTException: Characteristic value/descriptor operation failed: Attribute can't be written
This is with python 3.10.12, python3-gattlib and the python spotled library are installed, Kubuntu 22.04
traceback (most recent call last):
File "/home/thescribe/Documents/spotledtest.py", line 2, in
sender = spotled.LedConnection('E1:A0:BB:5D:5A:A0')
File "/home/thescribe/.local/lib/python3.10/site-packages/spotled/init.py", line 771, in init
self.connection.write_by_handle(0x0f, b'\x00\x00\x00\x01') # request notifications
gattlib.GATTException: Characteristic value/descriptor operation failed: Attribute can't be written
I copy/pasted a couple lines of code you posted here, and i got this error.. i think its because that mac address cant be assigned to the sender variable??
edit: at least i think i connected idk.. but the error message changed from saying the bluetooth connection timed out to this when i put in the correct mac address, (the address of the led screen itself)
The text was updated successfully, but these errors were encountered: