Skip to content

invalid packet size #10

@Matthias199

Description

@Matthias199

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions