Function create_identifier

Source
pub fn create_identifier(address: &str, peripheral_id: &PeripheralId) -> String
Expand description

Create an identifier string from an address and peripheral ID.

On macOS where addresses are 00:00:00:00:00:00, uses the peripheral ID. On other platforms, uses the Bluetooth address.