35
35
/* *
36
36
* Representation of a characteristic descriptor discovered.
37
37
*
38
- * Characteristic descriptors can be seen as the meta data of the characteristic.
38
+ * Characteristic descriptors can be seen as the metadata of the characteristic.
39
39
* They can contain things such as the unit of the characteristic value, extra
40
- * permission informations or the Client Configuration state regards to
40
+ * permission informations or the Client Configuration state in regard to
41
41
* notification or indication.
42
42
*
43
43
* The descriptors of a characterstic are discovered by a Characteristic
44
- * Descriptor Discovery Procedure which can be initiated by either
44
+ * Descriptor Discovery Procedure, which can be initiated by either
45
45
* GattClient::discoverCharacteristicDescriptors() or
46
46
* DiscoveredCharacteristic::discoverDescriptors().
47
47
*
48
48
* The discovery procedure returns the UUID of the descriptor (its type) and its
49
49
* handle.
50
50
*
51
- * Read and write of the descriptor value can initiated respectively by
51
+ * Read and write of the descriptor value can be initiated by
52
52
* GattClient::read and GattClient::write.
53
53
*
54
54
* @todo read member function
@@ -62,14 +62,14 @@ class DiscoveredCharacteristicDescriptor {
62
62
/* *
63
63
* Construct a new instance of a DiscoveredCharacteristicDescriptor.
64
64
*
65
- * @param[in] client The client which has discovered the descriptor.
65
+ * @param[in] client The client that has discovered the descriptor.
66
66
* @param[in] connectionHandle Handle of the connection to the GATT server
67
67
* containing the descriptor.
68
68
* @param[in] attributeHandle GATT attribute handle of the descriptor.
69
69
* @param[in] uuid UUID of the descriptor.
70
70
*
71
71
* @note This constructor is not meant to be called directly by application
72
- * code. Descriptors discovered are generated by the GattClient class .
72
+ * code. The Gattclient class generates descriptors discovered .
73
73
*/
74
74
DiscoveredCharacteristicDescriptor (
75
75
GattClient *client,
@@ -83,19 +83,19 @@ class DiscoveredCharacteristicDescriptor {
83
83
}
84
84
85
85
/* *
86
- * Return the GattClient which can operate on this descriptor.
86
+ * Return the GattClient, which can operate on this descriptor.
87
87
*
88
- * @return GattClient which can operate on this descriptor.
88
+ * @return GattClient, which can operate on this descriptor.
89
89
*/
90
90
GattClient* getGattClient ()
91
91
{
92
92
return _client;
93
93
}
94
94
95
95
/* *
96
- * Return the GattClient which can operate on this descriptor.
96
+ * Return the GattClient, which can operate on this descriptor.
97
97
*
98
- * @return GattClient which can operate on this descriptor.
98
+ * @return GattClient, which can operate on this descriptor.
99
99
*/
100
100
const GattClient* getGattClient () const
101
101
{
0 commit comments