TheCellule / python-bleson

Python Bluetooth LE Module
https://groups.google.com/group/python-bleson
MIT License
117 stars 24 forks source link

Error: Unhandled GAP type #90

Open C-Fu opened 1 year ago

C-Fu commented 1 year ago

Hi, currently running on Pi 3B+. Upon starting the server, I received an error loop many times before it crashes:

# python3 -m bleson --observer
Advertisement(flags=0x06, name='KXKACTGUEZ', txpower=None, uuid16s=[UUID16(0xabf0)], uuid128s=[], rssi=-47, mfg_data=None)
Advertisement(flags=0x06, name='None', txpower=None, uuid16s=[], uuid128s=[], rssi=-72, mfg_data=b'\x06\x00\x01\t ":\x19\x11\x97\xfa\xf0\xcdd\xe7S9Y\xdf\xdb\'\xdb+C0\x8c\xad\xdc\xbc')
2023-05-26 16:40:15,619 WARNING -       type_converters.py:250 -          from_hcipayload(): TODO: Unhandled GAP type, pos=29 type=0x00 len=0
2023-05-26 16:40:15,619 WARNING -       type_converters.py:255 -          from_hcipayload(): Data: 01 00 00 9a cb 73 95 ab 34 17 02 01 06 03 03 f0 ab 0b 09 4b 58 4b 41 43 54 47 55 45 5a 00 00 00 00 cd
2023-05-26 16:40:15,620 WARNING -       type_converters.py:256 -          from_hcipayload(): POS : 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
2023-05-26 16:40:15,621 WARNING -       type_converters.py:250 -          from_hcipayload(): TODO: Unhandled GAP type, pos=30 type=0x00 len=0
2023-05-26 16:40:15,621 WARNING -       type_converters.py:255 -          from_hcipayload(): Data: 01 00 00 9a cb 73 95 ab 34 17 02 01 06 03 03 f0 ab 0b 09 4b 58 4b 41 43 54 47 55 45 5a 00 00 00 00 cd
2023-05-26 16:40:15,622 WARNING -       type_converters.py:256 -          from_hcipayload(): POS : 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
2023-05-26 16:40:15,623 WARNING -       type_converters.py:250 -          from_hcipayload(): TODO: Unhandled GAP type, pos=31 type=0x00 len=0
2023-05-26 16:40:15,623 WARNING -       type_converters.py:255 -          from_hcipayload(): Data: 01 00 00 9a cb 73 95 ab 34 17 02 01 06 03 03 f0 ab 0b 09 4b 58 4b 41 43 54 47 55 45 5a 00 00 00 00 cd
2023-05-26 16:40:15,624 WARNING -       type_converters.py:256 -          from_hcipayload(): POS : 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
2023-05-26 16:40:15,625 WARNING -       type_converters.py:250 -          from_hcipayload(): TODO: Unhandled GAP type, pos=32 type=0xcd len=0
2023-05-26 16:40:15,625 WARNING -       type_converters.py:255 -          from_hcipayload(): Data: 01 00 00 9a cb 73 95 ab 34 17 02 01 06 03 03 f0 ab 0b 09 4b 58 4b 41 43 54 47 55 45 5a 00 00 00 00 cd
2023-05-26 16:40:15,626 WARNING -       type_converters.py:256 -          from_hcipayload(): POS : 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

I do have one Bluetooth device turned on, the "KXKACTGUEZ" device. Any ideas?

WayneKeenan commented 1 year ago

have a look at https://github.com/ukBaz/python-bluezero