Skip to main content

tap_sdk/types/uuid/
services.rs

1pub enum Service {
2    Tap,
3    Nus
4}
5
6impl Service {
7    pub fn as_uuid(&self) -> u128 {
8        match self {
9            Service::Tap => 0xc3ff0001_1d8b_40fd_a56f_c7bd5d0f3370,
10            Service::Nus => 0x6e400001_b5a3_f393_e0a9_e50e24dcca9e,
11        }
12    }
13}