bt_common/uuids/
service_class.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_CLASS_UUIDS: HashMap<Uuid, AssignedUuid> = assigned_uuid_map!(
15        (0x1000, "ServiceDiscoveryServerServiceClassID", "org.bluetooth.service_class.service_discovery_server"),
16        (0x1001, "BrowseGroupDescriptorServiceClassID", "org.bluetooth.service_class.browse_group_descriptor"),
17        (0x1101, "SerialPort", "org.bluetooth.profile.serial_port"),
18        (0x1102, "LANAccessUsingPPP", "org.bluetooth.profile.lan_access"),
19        (0x1103, "DialupNetworking", "org.bluetooth.profile.dial_up_networking"),
20        (0x1104, "IrMCSync", "org.bluetooth.profile.synchronization_profile"),
21        (0x1105, "OBEXObjectPush", "org.bluetooth.profile.object_push"),
22        (0x1106, "OBEXFileTransfer", "org.bluetooth.profile.file_transfer_profile"),
23        (0x1107, "IrMCSyncCommand", "org.bluetooth.profile.synchronization_command"),
24        (0x1108, "Headset", "org.bluetooth.profile.headset"),
25        (0x1109, "CordlessTelephony", "org.bluetooth.profile.cordless_telephony"),
26        (0x110A, "AudioSource", "org.bluetooth.profile.a2dp_audio_source"),
27        (0x110B, "AudioSink", "org.bluetooth.profile.a2dp_audio_sink"),
28        (0x110C, "A/V_RemoteControlTarget", "org.bluetooth.profile.avrcp_remote_control_target"),
29        (0x110D, "AdvancedAudioDistribution", "org.bluetooth.profile.a2dp"),
30        (0x110E, "A/V_RemoteControl", "org.bluetooth.profile.avrcp_remote_control_remote_control"),
31        (0x110F, "A/V_RemoteControlController", "org.bluetooth.profile.avrcp_remote_control_remote_control_controller"),
32        (0x1110, "Intercom", "org.bluetooth.profile.intercom"),
33        (0x1111, "Fax", "org.bluetooth.profile.fax"),
34        (0x1112, "Headset - Audio Gateway", "org.bluetooth.profile.headset_audio_gateway"),
35        (0x1113, "WAP", "org.bluetooth.profile.wap"),
36        (0x1114, "WAP_CLIENT", "org.bluetooth.profile.wap_client"),
37        (0x1115, "PANU", "org.bluetooth.profile.pan_user"),
38        (0x1116, "NAP", "org.bluetooth.profile.pan_network_access_point"),
39        (0x1117, "GN", "org.bluetooth.profile.pan_gn"),
40        (0x1118, "DirectPrinting", "org.bluetooth.profile.bpp_direct_printing"),
41        (0x1119, "ReferencePrinting", "org.bluetooth.profile.bpp_reference_printing"),
42        (0x111A, "Basic Imaging Profile", "org.bluetooth.profile.bip"),
43        (0x111B, "ImagingResponder", "org.bluetooth.profile.bip_imaging_responder"),
44        (0x111C, "ImagingAutomaticArchive", "org.bluetooth.profile.bip_imaging_automatic_archive"),
45        (0x111D, "ImagingReferencedObjects", "org.bluetooth.profile.bip_imaging_referenced_objects"),
46        (0x111E, "Handsfree", "org.bluetooth.profile.handsfree"),
47        (0x111F, "HandsfreeAudioGateway", "org.bluetooth.service_class.handsfree_audio_gateway"),
48        (0x1120, "DirectPrintingReferenceObjectsService", "org.bluetooth.service_class.bpp_direct_printing_reference_objects"),
49        (0x1121, "ReflectedUI", "org.bluetooth.service_class.bpp_reflected_ui"),
50        (0x1122, "BasicPrinting", "org.bluetooth.profile.bpp"),
51        (0x1123, "PrintingStatus", "org.bluetooth.service_class.bpp_printing_status"),
52        (0x1124, "HumanInterfaceDeviceService", "org.bluetooth.profile.hid"),
53        (0x1125, "HardcopyCableReplacement", "org.bluetooth.profile.hcrp"),
54        (0x1126, "HCR_Print", "org.bluetooth.service_class.hcr_print"),
55        (0x1127, "HCR_Scan", "org.bluetooth.service_class.hcr_scan"),
56        (0x1128, "Common_ISDN_Access", "org.bluetooth.service_class.isdn"),
57        (0x112D, "SIM_Access", "org.bluetooth.profile.sap"),
58        (0x112E, "Phonebook Access - PCE", "org.bluetooth.service_class.phone_book_access_pce"),
59        (0x112F, "Phonebook Access - PSE", "org.bluetooth.service_class.phone_book_access_pse"),
60        (0x1130, "Phonebook Access", "org.bluetooth.profile.phone_book_access"),
61        (0x1131, "Headset - HS", "org.bluetooth.service_class.headset_hs"),
62        (0x1132, "Message Access Server", "org.bluetooth.service_class.map_server"),
63        (0x1133, "Message Notification Server", "org.bluetooth.service_class.map_notification_server"),
64        (0x1134, "Message Access Profile", "org.bluetooth.profile.message_access_profile"),
65        (0x1135, "GNSS", "org.bluetooth.profile.global_navigiation_satellite_system"),
66        (0x1136, "GNSS_Server", "org.bluetooth.service_class.global_navigiation_satellite_system_server"),
67        (0x1137, "3D Display", "org.bluetooth.service_class.3d_display"),
68        (0x1138, "3D Glasses", "org.bluetooth.service_class.3d_glasses"),
69        (0x1139, "3D Synchronization", "org.bluetooth.profile.3d_synchronization"),
70        (0x113A, "MPS Profile", "org.bluetooth.profile.multi_profile"),
71        (0x113B, "MPS SC", "org.bluetooth.service_class.multi_profile_service"),
72        (0x113C, "CTN Access Service", "org.bluetooth.service_class.calendar_task_note_access"),
73        (0x113D, "CTN Notification Service", "org.bluetooth.service_class.calendar_task_note_notification"),
74        (0x113E, "CTN Profile", "org.bluetooth.profile.calendar_task_notes"),
75        (0x1200, "PnPInformation", "org.bluetooth.service_class.device_identification"),
76        (0x1201, "GenericNetworking", "org.bluetooth.service_class.generic_networking"),
77        (0x1202, "GenericFileTransfer", "org.bluetooth.service_class.generic_file_transfer"),
78        (0x1203, "GenericAudio", "org.bluetooth.service_class.generic_audio"),
79        (0x1204, "GenericTelephony", "org.bluetooth.service_class.generic_telephony"),
80        (0x1205, "UPNP_Service", "org.bluetooth.service_class.enhanced_service_discovery_service"),
81        (0x1206, "UPNP_IP_Service", "org.bluetooth.service_class.enhanced_service_discovery_ip_service"),
82        (0x1300, "ESDP_UPNP_IP_PAN", "org.bluetooth.service_class.enhanced_service_discovery_ip_pan_service"),
83        (0x1301, "ESDP_UPNP_IP_LAP", "org.bluetooth.service_class.enhanced_service_discovery_ip_lap_service"),
84        (0x1302, "ESDP_UPNP_L2CAP", "org.bluetooth.service_class.enhanced_service_discovery_l2cap_service"),
85        (0x1303, "VideoSource", "org.bluetooth.service_class.video_distribution_source"),
86        (0x1304, "VideoSink", "org.bluetooth.service_class.video_distribution_sink"),
87        (0x1305, "VideoDistribution", "org.bluetooth.profile.video_distribution"),
88        (0x1400, "HDP", "org.bluetooth.profile.health_device"),
89        (0x1401, "HDP Source", "org.bluetooth.service_class.health_device_source"),
90        (0x1402, "HDP Sink", "org.bluetooth.service_class.health_device_sink")
91    );
92}