summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-03-05 12:37:55 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-06 12:10:28 +0100
commitef90f1f204a2aca5860e64433d070fd0916ba1ee (patch)
tree609339eb1012951e4b96bff65d5267e5cfa77113
parent183c4304f0ad909e729e6ada854ee873617cce51 (diff)
Unify the BtLE service class id descriptions
The previous class ids where sorted by uuid. We should keep it this way even if sorting by alphabet is more convenient for the reader. This change is done to align the documentation with https://codereview.qt-project.org/#change,79960 Task-number: QTBUG-36123 Change-Id: Ib859c666b069f7c7f955823904e147db96021f34 Reviewed-by: Nedim Hadzic <nedimhadzija@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
-rw-r--r--src/bluetooth/qbluetoothuuid.cpp80
-rw-r--r--src/bluetooth/qbluetoothuuid.h1
2 files changed, 41 insertions, 40 deletions
diff --git a/src/bluetooth/qbluetoothuuid.cpp b/src/bluetooth/qbluetoothuuid.cpp
index 9dadad7c..e04dabc3 100644
--- a/src/bluetooth/qbluetoothuuid.cpp
+++ b/src/bluetooth/qbluetoothuuid.cpp
@@ -158,9 +158,6 @@ Q_GLOBAL_STATIC_WITH_ARGS(QUuid, baseUuid, ("{00000000-0000-1000-8000-00805F9B34
\value HDP Health Device Profile
\value HDPSource Health Device Profile
\value HDPSink Health Device Profile
-
- \sa QBluetoothServiceInfo::ServiceClassIds
-
\value HardcopyCableReplacement Hardcopy Cable Replacement Profile (HCRP)
\value HCRPrint Hardcopy Cable Replacement Profile (HCRP)
\value HCRScan Hardcopy Cable Replacement Profile (HCRP)
@@ -183,45 +180,50 @@ Q_GLOBAL_STATIC_WITH_ARGS(QUuid, baseUuid, ("{00000000-0000-1000-8000-00805F9B34
\value HDP Health Device Profile
\value HDPSource Health Device Profile
\value HDPSink Health Device Profile
- \value AlertNotificationService The Alert Notification service exposes alert information on a device.
- \value BatteryService The Battery Service exposes the state of a battery within a device.
- \value BloodPressure This service exposes blood pressure and other data from a blood pressure
- monitor intended for healthcare applications.
- \value CurrentTimeService This service defines how the current time can be exposed using
+ \value GenericAccess Generic access service for Bluetooth Low Energy devices UUID (service).
+ It contains generic information about the device. All available Characteristics are readonly.
+ \value GenericAttribute
+ \value ImmediateAlert Immediate Alert UUID (service). The service exposes a control point to allow a peer
+ device to cause the device to immediately alert.
+ \value LinkLoss Link Loss UUID (service). The service defines behavior when a link is lost between two devices.
+ \value TxPower Transmission Power UUID (service). The service exposes a device’s current
+ transmit power level when in a connection.
+ \value CurrentTimeService Current Time UUID (service). The service defines how the current time can be exposed using
the Generic Attribute Profile (GATT).
- \value CyclingPower This service exposes power- and force-related data and
+ \value ReferenceTimeUpdateService Reference Time update UUID (service). The service defines how a client can request
+ an update from a reference time source from a time server.
+ \value NextDSTChangeService Next DST change UUID (service). The service defines how the information about an
+ upcoming DST change can be exposed.
+ \value Glucose Glucose UUID (service). The service exposes glucose and other data from a glucose sensor
+ for use in consumer and professional healthcare applications.
+ \value HealthThermometer Health Thermometer UUID (service). The Health Thermometer service exposes temperature
+ and other data from a thermometer intended for healthcare and fitness applications.
+ \value DeviceInformation Device Information UUID (service). The Device Information Service exposes manufacturer
+ and/or vendor information about a device.
+ \value HeartRate Heart Rate UUID (service). The service exposes the heart rate and other data from a
+ Heart Rate Sensor intended for fitness applications.
+ \value PhoneAlertStatusService Phone Alert Status UUID (service). The service exposes the phone alert status when
+ in a connection.
+ \value BatteryService Battery UUID (service). The Battery Service exposes the state of a battery within a device.
+ \value BloodPressure Blood Pressure UUID (service). The service exposes blood pressure and other data from a blood pressure
+ monitor intended for healthcare applications.
+ \value AlertNotificationService Alert Notification UUID (service). The Alert Notification service exposes alert
+ information on a device.
+ \value HumanInterfaceDevice Human Interface UUID (service). The service exposes the HID reports and other HID data
+ intended for HID Hosts and HID Devices.
+ \value ScanParameters Scan Parameters UUID (service). The Scan Parameters Service enables a GATT Server device
+ to expose a characteristic for the GATT Client to write its scan interval and scan window
+ on the GATT Server device.
+ \value RunningSpeedAndCadence Runnung Speed and Cadence UUID (service). The service exposes speed, cadence and other
+ data from a Running Speed and Cadence Sensor intended for fitness applications.
+ \value CyclingSpeedAndCadence Cycling Speed and Cadence UUID (service). The service exposes speed-related and
+ cadence-related data from a Cycling Speed and Cadence sensor intended for fitness
+ applications.
+ \value CyclingPower Cycling Speed UUID (service). The service exposes power- and force-related data and
optionally speed- and cadence-related data from a Cycling Power
sensor intended for sports and fitness applications.
- \value CyclingSpeedAndCadence This service exposes speed-related and cadence-related data from
- a Cycling Speed and Cadence sensor intended for fitness applications.
- \value DeviceInformation The Device Information Service exposes manufacturer and/or vendor
- information about a device.
- \value GenericAccess The generic_access service contains generic information about the device.
- All available Characteristics are readonly.
- \value GenericAttribute
- \value Glucose This service exposes glucose and other data from a glucose sensor for use
- in consumer and professional healthcare applications.
- \value HealthThermometer The Health Thermometer service exposes temperature and other data from
- a thermometer intended for healthcare and fitness applications.
- \value HeartRate This service exposes heart rate and other data from a Heart Rate Sensor
- intended for fitness applications.
- \value HumanInterfaceDevice This service exposes the HID reports and other HID data intended for
- HID Hosts and HID Devices.
- \value ImmediateAlert This service exposes a control point to allow a peer device to cause
- the device to immediately alert.
- \value LinkLoss This service defines behavior when a link is lost between two devices.
- \value LocationAndNavigation This service exposes location and navigation-related data from
- a Location and Navigation sensor intended for outdoor activity applications.
- \value NextDSTChangeService This service defines how the information about an upcoming DST change can be
- exposed using the Generic Attribute Profile (GATT).
- \value PhoneAlertStatusService This service dexposes the phone alert status when in a connection.
- \value ReferenceTimeUpdateService This service defines how a client can request an update from a reference
- time source from a time server using the Generic Attribute Profile (GATT)
- \value RunningSpeedAndCadence This service exposes speed, cadence and other data from a Running Speed and
- Cadence Sensor intended for fitness applications.
- \value ScanParameters The Scan Parameters Service enables a GATT Server device to expose a characteristic
- for the GATT Client to write its scan interval and scan window on the GATT Server device.
- \value TxPower This service exposes a device’s current transmit power level when in a connection
+ \value LocationAndNavigation Location Navigation UUID (service). The service exposes location and navigation-related
+ data from a Location and Navigation sensor intended for outdoor activity applications.
*/
/*!
diff --git a/src/bluetooth/qbluetoothuuid.h b/src/bluetooth/qbluetoothuuid.h
index cec11533..03b06bf2 100644
--- a/src/bluetooth/qbluetoothuuid.h
+++ b/src/bluetooth/qbluetoothuuid.h
@@ -166,7 +166,6 @@ public:
CyclingSpeedAndCadence = 0x1816,
CyclingPower = 0x1818,
LocationAndNavigation = 0x1819,
- TISimpleKeyService = 0xffe0
};
enum CharacteristicId {