pub fn udiscovery_uri(resource_id: u16) -> UUri
Expand description
Gets a UUri referring to one of the local uDiscovery service’s resources.
§Examples
use up_rust::core::udiscovery;
let uuri = udiscovery::udiscovery_uri(udiscovery::RESOURCE_ID_FIND_SERVICES);
assert_eq!(uuri.resource_id, 0x0001);