31
31
* whether the GattServer has received a write request or a GattClient has
32
32
* received a write response.
33
33
*
34
- * @important The GattServer only populates the fields offset, len and data
34
+ * @attention The GattServer only populates the fields offset, len and data
35
35
* when it has received a write request. Callbacks attached to the GattClient
36
36
* do not use those fields.
37
37
*
38
- * @important The GattClient only populates the fields status and error_code
38
+ * @attention The GattClient only populates the fields status and error_code
39
39
* when it has received a write response. Callbacks attached to the GattServer
40
40
* do not use those fields.
41
41
*/
@@ -99,14 +99,14 @@ struct GattWriteCallbackParams {
99
99
/**
100
100
* Offset within the attribute value to be written.
101
101
*
102
- * @important Reserved for GattServer registered callbacks.
102
+ * @attention Reserved for GattServer registered callbacks.
103
103
*/
104
104
uint16_t offset ;
105
105
106
106
/**
107
107
* Status of the GattClient Write operation.
108
108
*
109
- * @important Reserved for GattClient registered callbacks.
109
+ * @attention Reserved for GattClient registered callbacks.
110
110
*/
111
111
ble_error_t status ;
112
112
};
@@ -115,24 +115,24 @@ struct GattWriteCallbackParams {
115
115
/**
116
116
* Length (in bytes) of the data to write.
117
117
*
118
- * @important Reserved for GattServer registered callbacks.
118
+ * @attention Reserved for GattServer registered callbacks.
119
119
*/
120
120
uint16_t len ;
121
121
122
122
/**
123
123
* Error code of the GattClient Write operation.
124
124
*
125
- * @important Reserved for GattClient registered callbacks.
125
+ * @attention Reserved for GattClient registered callbacks.
126
126
*/
127
127
uint8_t error_code ;
128
128
};
129
129
130
130
/**
131
131
* Pointer to the data to write.
132
132
*
133
- * @important Data may not persist beyond the callback scope.
133
+ * @attention Data may not persist beyond the callback scope.
134
134
*
135
- * @important Reserved for GattServer registered callbacks.
135
+ * @attention Reserved for GattServer registered callbacks.
136
136
*/
137
137
const uint8_t * data ;
138
138
};
@@ -144,7 +144,7 @@ struct GattWriteCallbackParams {
144
144
* whether the GattServer has received a read request or a GattClient has
145
145
* received a read response.
146
146
*
147
- * @important The GattClient only populates the fields status and error_code
147
+ * @attention The GattClient only populates the fields status and error_code
148
148
* when it has received a read response. Callbacks attached to the GattServer
149
149
* do not use those fields.
150
150
*/
@@ -173,9 +173,9 @@ struct GattReadCallbackParams {
173
173
/**
174
174
* Error code of the GattClient read operation.
175
175
*
176
- * @important Reserved for GattClient registered callbacks.
176
+ * @attention Reserved for GattClient registered callbacks.
177
177
*
178
- * @important set if status is not equal to BLE_ERROR_NONE; otherwise,
178
+ * @attention set if status is not equal to BLE_ERROR_NONE; otherwise,
179
179
* this field is interpreted as len.
180
180
*/
181
181
uint8_t error_code ;
@@ -184,14 +184,14 @@ struct GattReadCallbackParams {
184
184
/**
185
185
* Pointer to the data read.
186
186
*
187
- * @important Data may not persist beyond the callback scope.
187
+ * @attention Data may not persist beyond the callback scope.
188
188
*/
189
189
const uint8_t * data ;
190
190
191
191
/**
192
192
* Status of the GattClient Read operation.
193
193
*
194
- * @important Reserved for GattClient registered callbacks.
194
+ * @attention Reserved for GattClient registered callbacks.
195
195
*/
196
196
ble_error_t status ;
197
197
};
0 commit comments