Function parse_advertisement_with_name

Source
pub fn parse_advertisement_with_name(
    data: &[u8],
    name: Option<&str>,
) -> Result<AdvertisementData>
Expand description

Parse advertisement data with optional device name for better detection.

The device name helps distinguish Aranet4 from other device types since Aranet4 advertisements don’t include a device type prefix byte.