Skip to content

Optionally pass raw le_advertising_events packet length #7

@mvadu

Description

@mvadu

BLE advertisement packets contain the packet length. Current implementation of parse_le_advertising_events provides options to filter the messages to specific lengths. But in my situation I have two versions of firmware with slightly different length, and currently I have to unpack whole structure by calling raw_packet_to_str and check the length. If the handler can receive an optional int parameter with message length, with value from plen I can avoid that.

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