| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Contains Services, Characteristics and Descriptor aliases. | 5 """Contains Services, Characteristics and Descriptor aliases. |
| 6 | 6 |
| 7 These values are copied from: | 7 These values are copied from: |
| 8 | 8 |
| 9 https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx | 9 https://www.bluetooth.com/specifications/gatt/services |
| 10 | 10 |
| 11 https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicsHome.a
spx | 11 https://www.bluetooth.com/specifications/gatt/characteristics |
| 12 | |
| 13 https://developer.bluetooth.org/gatt/descriptors/Pages/DescriptorsHomePage.aspx | |
| 14 """ | 12 """ |
| 15 | 13 |
| 16 | 14 |
| 17 SERVICES = [ | 15 SERVICES = [ |
| 18 'alert_notification', | 16 'alert_notification', |
| 19 'automation_io', | 17 'automation_io', |
| 20 'battery_service', | 18 'battery_service', |
| 21 'blood_pressure', | 19 'blood_pressure', |
| 22 'body_composition', | 20 'body_composition', |
| 23 'bond_management', | 21 'bond_management', |
| 24 'continuous_glucose_monitoring', | 22 'continuous_glucose_monitoring', |
| 25 'current_time', | 23 'current_time', |
| 26 'cycling_power', | 24 'cycling_power', |
| 27 'cycling_speed_and_cadence', | 25 'cycling_speed_and_cadence', |
| 28 'device_information', | 26 'device_information', |
| 29 'environmental_sensing', | 27 'environmental_sensing', |
| 28 'fitness_machine', |
| 30 'generic_access', | 29 'generic_access', |
| 31 'generic_attribute', | 30 'generic_attribute', |
| 32 'glucose', | 31 'glucose', |
| 33 'health_thermometer', | 32 'health_thermometer', |
| 34 'heart_rate', | 33 'heart_rate', |
| 35 'http_proxy', | 34 'http_proxy', |
| 36 'human_interface_device', | 35 'human_interface_device', |
| 37 'immediate_alert', | 36 'immediate_alert', |
| 38 'indoor_positioning', | 37 'indoor_positioning', |
| 39 'internet_protocol_support', | 38 'internet_protocol_support', |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 'boot_keyboard_input_report', | 83 'boot_keyboard_input_report', |
| 85 'boot_keyboard_output_report', | 84 'boot_keyboard_output_report', |
| 86 'boot_mouse_input_report', | 85 'boot_mouse_input_report', |
| 87 'gap.central_address_resolution_support', | 86 'gap.central_address_resolution_support', |
| 88 'cgm_feature', | 87 'cgm_feature', |
| 89 'cgm_measurement', | 88 'cgm_measurement', |
| 90 'cgm_session_run_time', | 89 'cgm_session_run_time', |
| 91 'cgm_session_start_time', | 90 'cgm_session_start_time', |
| 92 'cgm_specific_ops_control_point', | 91 'cgm_specific_ops_control_point', |
| 93 'cgm_status', | 92 'cgm_status', |
| 93 'cross_trainer_data', |
| 94 'csc_feature', | 94 'csc_feature', |
| 95 'csc_measurement', | 95 'csc_measurement', |
| 96 'current_time', | 96 'current_time', |
| 97 'cycling_power_control_point', | 97 'cycling_power_control_point', |
| 98 'cycling_power_feature', | 98 'cycling_power_feature', |
| 99 'cycling_power_measurement', | 99 'cycling_power_measurement', |
| 100 'cycling_power_vector', | 100 'cycling_power_vector', |
| 101 'database_change_increment', | 101 'database_change_increment', |
| 102 'date_of_birth', | 102 'date_of_birth', |
| 103 'date_of_threshold_assessment', | 103 'date_of_threshold_assessment', |
| 104 'date_time', | 104 'date_time', |
| 105 'day_date_time', | 105 'day_date_time', |
| 106 'day_of_week', | 106 'day_of_week', |
| 107 'descriptor_value_changed', | 107 'descriptor_value_changed', |
| 108 'gap.device_name', | 108 'gap.device_name', |
| 109 'dew_point', | 109 'dew_point', |
| 110 'digital', | 110 'digital', |
| 111 'dst_offset', | 111 'dst_offset', |
| 112 'elevation', | 112 'elevation', |
| 113 'email_address', | 113 'email_address', |
| 114 'exact_time_256', | 114 'exact_time_256', |
| 115 'fat_burn_heart_rate_lower_limit', | 115 'fat_burn_heart_rate_lower_limit', |
| 116 'fat_burn_heart_rate_upper_limit', | 116 'fat_burn_heart_rate_upper_limit', |
| 117 'firmware_revision_string', | 117 'firmware_revision_string', |
| 118 'first_name', | 118 'first_name', |
| 119 'fitness_machine_control_point', |
| 120 'fitness_machine_feature', |
| 121 'fitness_machine_status', |
| 119 'five_zone_heart_rate_limits', | 122 'five_zone_heart_rate_limits', |
| 120 'floor_number', | 123 'floor_number', |
| 121 'gender', | 124 'gender', |
| 122 'glucose_feature', | 125 'glucose_feature', |
| 123 'glucose_measurement', | 126 'glucose_measurement', |
| 124 'glucose_measurement_context', | 127 'glucose_measurement_context', |
| 125 'gust_factor', | 128 'gust_factor', |
| 126 'hardware_revision_string', | 129 'hardware_revision_string', |
| 127 'heart_rate_control_point', | 130 'heart_rate_control_point', |
| 128 'heart_rate_max', | 131 'heart_rate_max', |
| 129 'heart_rate_measurement', | 132 'heart_rate_measurement', |
| 130 'heat_index', | 133 'heat_index', |
| 131 'height', | 134 'height', |
| 132 'hid_control_point', | 135 'hid_control_point', |
| 133 'hid_information', | 136 'hid_information', |
| 134 'hip_circumference', | 137 'hip_circumference', |
| 135 'http_control_point', | 138 'http_control_point', |
| 136 'http_entity_body', | 139 'http_entity_body', |
| 137 'http_headers', | 140 'http_headers', |
| 138 'http_status_code', | 141 'http_status_code', |
| 139 'https_security', | 142 'https_security', |
| 140 'humidity', | 143 'humidity', |
| 141 'ieee_11073-20601_regulatory_certification_data_list', | 144 'ieee_11073-20601_regulatory_certification_data_list', |
| 145 'indoor_bike_data', |
| 142 'indoor_positioning_configuration', | 146 'indoor_positioning_configuration', |
| 143 'intermediate_cuff_pressure', | 147 'intermediate_cuff_pressure', |
| 144 'intermediate_temperature', | 148 'intermediate_temperature', |
| 145 'irradiance', | 149 'irradiance', |
| 146 'language', | 150 'language', |
| 147 'last_name', | 151 'last_name', |
| 148 'latitude', | 152 'latitude', |
| 149 'ln_control_point', | 153 'ln_control_point', |
| 150 'ln_feature', | 154 'ln_feature', |
| 151 'local_east_coordinate', | 155 'local_east_coordinate', |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 'pollen_concentration', | 188 'pollen_concentration', |
| 185 'position_quality', | 189 'position_quality', |
| 186 'pressure', | 190 'pressure', |
| 187 'protocol_mode', | 191 'protocol_mode', |
| 188 'rainfall', | 192 'rainfall', |
| 189 'gap.reconnection_address', | 193 'gap.reconnection_address', |
| 190 'record_access_control_point', | 194 'record_access_control_point', |
| 191 'reference_time_information', | 195 'reference_time_information', |
| 192 'report', | 196 'report', |
| 193 'report_map', | 197 'report_map', |
| 198 'resolvable_private_address_only', |
| 194 'resting_heart_rate', | 199 'resting_heart_rate', |
| 195 'ringer_control_point', | 200 'ringer_control_point', |
| 196 'ringer_setting', | 201 'ringer_setting', |
| 202 'rower_data', |
| 197 'rsc_feature', | 203 'rsc_feature', |
| 198 'rsc_measurement', | 204 'rsc_measurement', |
| 199 'sc_control_point', | 205 'sc_control_point', |
| 200 'scan_interval_window', | 206 'scan_interval_window', |
| 201 'scan_refresh', | 207 'scan_refresh', |
| 202 'serial_number_string', | 208 'serial_number_string', |
| 203 'gatt.service_changed', | 209 'gatt.service_changed', |
| 204 'software_revision_string', | 210 'software_revision_string', |
| 205 'sport_type_for_aerobic_and_anaerobic_thresholds', | 211 'sport_type_for_aerobic_and_anaerobic_thresholds', |
| 212 'stair_climber_data', |
| 213 'step_climber_data', |
| 214 'supported_heart_rate_range', |
| 215 'supported_inclination_range', |
| 206 'supported_new_alert_category', | 216 'supported_new_alert_category', |
| 217 'supported_power_range', |
| 218 'supported_resistance_level_range', |
| 219 'supported_speed_range', |
| 207 'supported_unread_alert_category', | 220 'supported_unread_alert_category', |
| 208 'system_id', | 221 'system_id', |
| 209 'tds_control_point', | 222 'tds_control_point', |
| 210 'temperature', | 223 'temperature', |
| 211 'temperature_measurement', | 224 'temperature_measurement', |
| 212 'temperature_type', | 225 'temperature_type', |
| 213 'three_zone_heart_rate_limits', | 226 'three_zone_heart_rate_limits', |
| 214 'time_accuracy', | 227 'time_accuracy', |
| 215 'time_source', | 228 'time_source', |
| 216 'time_update_control_point', | 229 'time_update_control_point', |
| 217 'time_update_state', | 230 'time_update_state', |
| 218 'time_with_dst', | 231 'time_with_dst', |
| 219 'time_zone', | 232 'time_zone', |
| 233 'training_status', |
| 234 'treadmill_data', |
| 220 'true_wind_direction', | 235 'true_wind_direction', |
| 221 'true_wind_speed', | 236 'true_wind_speed', |
| 222 'two_zone_heart_rate_limit', | 237 'two_zone_heart_rate_limit', |
| 223 'tx_power_level', | 238 'tx_power_level', |
| 224 'uncertainty', | 239 'uncertainty', |
| 225 'unread_alert_status', | 240 'unread_alert_status', |
| 226 'uri', | 241 'uri', |
| 227 'user_control_point', | 242 'user_control_point', |
| 228 'user_index', | 243 'user_index', |
| 229 'uv_index', | 244 'uv_index', |
| 230 'vo2_max', | 245 'vo2_max', |
| 231 'waist_circumference', | 246 'waist_circumference', |
| 232 'weight', | 247 'weight', |
| 233 'weight_measurement', | 248 'weight_measurement', |
| 234 'weight_scale_feature', | 249 'weight_scale_feature', |
| 235 'wind_chill', | 250 'wind_chill', |
| 236 ] | 251 ] |
| OLD | NEW |