Skip to main content

encode_url

Function encode_url 

Source
pub fn encode_url(tx_power: i8, url: &str) -> Option<Vec<u8>>
Expand description

Encodes an Eddystone-URL frame’s service data. None when the URL has no Eddystone scheme or does not fit in 17 encoded bytes.