Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unhandled GAP type #90

Open
C-Fu opened this issue May 26, 2023 · 1 comment
Open

Error: Unhandled GAP type #90

C-Fu opened this issue May 26, 2023 · 1 comment

Comments

@C-Fu
Copy link

C-Fu commented May 26, 2023

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants