bt_common/uuids/
service_uuids.rs

1// Copyright 2023 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5use std::collections::HashMap;
6
7use super::{AssignedUuid, Uuid};
8
9#[rustfmt::skip]
10// Generated with a magic regexp: %s/ - uuid: \(......\)\n   name: \(.\+\)\n   id: \(.\+\)\n/(\1, "\2", "\3"),\r/g
11
12#[rustfmt::skip]
13lazy_static! {
14    pub static ref SERVICE_UUIDS: HashMap<Uuid, AssignedUuid> = assigned_uuid_map!(
15(0x1800, "Generic Access", "org.bluetooth.service.generic_access"),
16(0x1801, "Generic Attribute", "org.bluetooth.service.generic_attribute"),
17(0x1802, "Immediate Alert", "org.bluetooth.service.immediate_alert"),
18(0x1803, "Link Loss", "org.bluetooth.service.link_loss"),
19(0x1804, "Tx Power", "org.bluetooth.service.tx_power"),
20(0x1805, "Current Time", "org.bluetooth.service.current_time"),
21(0x1806, "Reference Time Update", "org.bluetooth.service.reference_time_update"),
22(0x1807, "Next DST Change", "org.bluetooth.service.next_dst_change"),
23(0x1808, "Glucose", "org.bluetooth.service.glucose"),
24(0x1809, "Health Thermometer", "org.bluetooth.service.health_thermometer"),
25(0x180A, "Device Information", "org.bluetooth.service.device_information"),
26(0x180D, "Heart Rate", "org.bluetooth.service.heart_rate"),
27(0x180E, "Phone Alert Status", "org.bluetooth.service.phone_alert_status"),
28(0x180F, "Battery", "org.bluetooth.service.battery_service"),
29(0x1810, "Blood Pressure", "org.bluetooth.service.blood_pressure"),
30(0x1811, "Alert Notification", "org.bluetooth.service.alert_notification"),
31(0x1812, "Human Interface Device", "org.bluetooth.service.human_interface_device"),
32(0x1813, "Scan Parameters", "org.bluetooth.service.scan_parameters"),
33(0x1814, "Running Speed and Cadence", "org.bluetooth.service.running_speed_and_cadence"),
34(0x1815, "Automation IO", "org.bluetooth.service.automation_io"),
35(0x1816, "Cycling Speed and Cadence", "org.bluetooth.service.cycling_speed_and_cadence"),
36(0x1818, "Cycling Power", "org.bluetooth.service.cycling_power"),
37(0x1819, "Location and Navigation", "org.bluetooth.service.location_and_navigation"),
38(0x181A, "Environmental Sensing", "org.bluetooth.service.environmental_sensing"),
39(0x181B, "Body Composition", "org.bluetooth.service.body_composition"),
40(0x181C, "User Data", "org.bluetooth.service.user_data"),
41(0x181D, "Weight Scale", "org.bluetooth.service.weight_scale"),
42(0x181E, "Bond Management", "org.bluetooth.service.bond_management"),
43(0x181F, "Continuous Glucose Monitoring", "org.bluetooth.service.continuous_glucose_monitoring"),
44(0x1820, "Internet Protocol Support", "org.bluetooth.service.internet_protocol_support"),
45(0x1821, "Indoor Positioning", "org.bluetooth.service.indoor_positioning"),
46(0x1822, "Pulse Oximeter", "org.bluetooth.service.pulse_oximeter"),
47(0x1823, "HTTP Proxy", "org.bluetooth.service.http_proxy"),
48(0x1824, "Transport Discovery", "org.bluetooth.service.transport_discovery"),
49(0x1825, "Object Transfer", "org.bluetooth.service.object_transfer"),
50(0x1826, "Fitness Machine", "org.bluetooth.service.fitness_machine"),
51(0x1827, "Mesh Provisioning", "org.bluetooth.service.mesh_provisioning"),
52(0x1828, "Mesh Proxy", "org.bluetooth.service.mesh_proxy"),
53(0x1829, "Reconnection Configuration", "org.bluetooth.service.reconnection_configuration"),
54(0x183A, "Insulin Delivery", "org.bluetooth.service.insulin_delivery"),
55(0x183B, "Binary Sensor", "org.bluetooth.service.binary_sensor"),
56(0x183C, "Emergency Configuration", "org.bluetooth.service.emergency_configuration"),
57(0x183D, "Authorization Control", "org.bluetooth.service.authorization_control"),
58(0x183E, "Physical Activity Monitor", "org.bluetooth.service.physical_activity_monitor"),
59(0x183F, "Elapsed Time", "org.bluetooth.service.elapsed_time"),
60(0x1840, "Generic Health Sensor", "org.bluetooth.service.generic_health_sensor"),
61(0x1843, "Audio Input Control", "org.bluetooth.service.audio_input_control"),
62(0x1844, "Volume Control", "org.bluetooth.service.volume_control"),
63(0x1845, "Volume Offset Control", "org.bluetooth.service.volume_offset"),
64(0x1846, "Coordinated Set Identification", "org.bluetooth.service.coordinated_set_identification"),
65(0x1847, "Device Time", "org.bluetooth.service.device_time"),
66(0x1848, "Media Control", "org.bluetooth.service.media_control"),
67(0x1849, "Generic Media Control", "org.bluetooth.service.generic_media_control"),
68(0x184A, "Constant Tone Extension", "org.bluetooth.service.constant_tone_extension"),
69(0x184B, "Telephone Bearer", "org.bluetooth.service.telephone_bearer"),
70(0x184C, "Generic Telephone Bearer", "org.bluetooth.service.generic_telephone_bearer"),
71(0x184D, "Microphone Control", "org.bluetooth.service.microphone_control"),
72(0x184E, "Audio Stream Control", "org.bluetooth.service.audio_stream_control"),
73(0x184F, "Broadcast Audio Scan", "org.bluetooth.service.broadcast_audio_scan"),
74(0x1850, "Published Audio Capabilities", "org.bluetooth.service.published_audio_capabilities"),
75(0x1851, "Basic Audio Announcement", "org.bluetooth.service.basic_audio_announcement"),
76(0x1852, "Broadcast Audio Announcement", "org.bluetooth.service.broadcast_audio_announcement"),
77(0x1853, "Common Audio", "org.bluetooth.service.common_audio"),
78(0x1854, "Hearing Access", "org.bluetooth.service.hearing_access"),
79(0x1855, "Telephony and Media Audio", "org.bluetooth.service.telephony_and_media_audio"),
80(0x1856, "Public Broadcast Announcement", "org.bluetooth.service.public_broadcast_announcement"),
81(0x1857, "Electronic Shelf Label", "org.bluetooth.service.electronic_shelf_label"),
82(0x1858, "Gaming Audio", "org.bluetooth.service.gaming_audio"),
83(0x1859, "Mesh Proxy Solicitation", "org.bluetooth.service.mesh_proxy_solicitation"),
84    );
85}