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

invalid packet size #10

Open
Matthias199 opened this issue Oct 26, 2022 · 0 comments
Open

invalid packet size #10

Matthias199 opened this issue Oct 26, 2022 · 0 comments

Comments

@Matthias199
Copy link

Matthias199 commented Oct 26, 2022

Hey guys,

tried to change the arry from the example of my needs in start_le_advertising

start_le_advertising(sock,
                     min_interval=200, max_interval=200,
                     data=(0x0,0x22) + (0,) * 29)

Is working fine but

start_le_advertising(sock,
                     min_interval=200, max_interval=200,
                     data=(0x0,0x22) + (0,) * 28)

btmon shows the following

< HCI Command: LE Set Advertising Data (0x08|0x0008) plen 31 #15 [hci1] 62.550191
invalid packet size
1e 00 22 00 00 00 00 00 00 00 00 00 00 00 00 00 ..".............
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...............

just reduced the size, waht is wrong ?

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

1 participant