pub(crate) fn minimal_record(primary: bool) -> DeviceIdentificationRecord {
        let primary = if primary { Some(true) } else { None };
        DeviceIdentificationRecord {
            vendor_id: Some(di::VendorId::BluetoothSigId(9)),
            product_id: Some(1),
            version: Some(valid_device_release_number()),
            // Primary is optional.
            primary,
            // Optional `service_description` is omitted.
            ..DeviceIdentificationRecord::EMPTY
        }
    }
/// Defines a valid DI service record.
Defines a valid DI service record.
Defines a valid DI service record .
pub(crate) fn minimal_record(primary: bool) -> DeviceIdentificationRecord {
        let primary = if primary { Some(true) } else { None };
        DeviceIdentificationRecord {
            vendor_id: Some(di::VendorId::BluetoothSigId(9)),
            product_id: Some(1),
            version: Some(valid_device_release_number()),
            // Primary is optional.
            primary,
            // Optional `service_description` is omitted.
            ..DeviceIdentificationRecord::EMPTY
        }
    }
pub ( crate ) fn minimal_record ( primary : bool ) -> DeviceIdentificationRecord { let primary = if primary { Some ( true ) } else { None } ; DeviceIdentificationRecord { vendor_id : Some ( di :: VendorId :: BluetoothSigId ( 9 ) ) , product_id : Some ( 1 ) , version : Some ( valid_device_release_number ( ) ) , // Primary is optional. primary , // Optional `service_description` is omitted. .. DeviceIdentificationRecord :: EMPTY } }
Defines a valid DI service record.
Defines a valid DI service record .
primary
bool
primary
bool