Skip to content

Conversation

cybre
Copy link

@cybre cybre commented Dec 4, 2024

Not sure if this is the correct approach here but it solves the issue I have with a device that for some reason adds padding to its advertisement data: 020106030201a20c1601a200894198a19be587da0000000000000000.
On linux, the advertisement data is concatenated with the scan response to build the packet and when I try to get a field which is in the scan response portion, it will return nil because we exit early if int(l) < 1

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

Successfully merging this pull request may close these issues.

1 participant