@@ -162,8 +162,10 @@ class GroupObject
162162 * @param type the datapoint type used for the conversion.
163163 *
164164 * The parameters must fit the group object. Otherwise it will stay unchanged.
165+ *
166+ * @returns true if the value was converted successfully to the datapoint type and the group object was updated.
165167 */
166- void value (const KNXValue& value, const Dpt& type);
168+ bool value (const KNXValue& value, const Dpt& type);
167169
168170 /* *
169171 * Check if the value (after conversion to dpt) will differ from current value of the group object and changes the state of the group object to ::WriteRequest if different.
@@ -173,18 +175,20 @@ class GroupObject
173175 *
174176 * The parameters must fit the group object. Otherwise it will stay unchanged.
175177 *
176- * @returns true if the value of the group object has changed
178+ * @returns true if the value of the group object has changed, false if conversion results in same value as stored in group object or failed.
177179 */
178180 bool valueCompare (const KNXValue& value, const Dpt& type);
179181
180182 /* *
181- * set the current value of the group object .
183+ * set the current value of the group objectand show success .
182184 * @param value the value the group object is set to
183185 * @param type the datapoint type used for the conversion.
184186 *
185187 * The parameters must fit the group object. Otherwise it will stay unchanged.
188+ *
189+ * @returns true if value was converted successfully to the datapoint type and the group object was updated.
186190 */
187- void valueNoSend (const KNXValue& value, const Dpt& type);
191+ bool valueNoSend (const KNXValue& value, const Dpt& type);
188192
189193 /* *
190194 * Check if the value (after conversion to dpt) will differ from current value of the group object and update if necessary.
@@ -194,7 +198,7 @@ class GroupObject
194198 *
195199 * The parameters must fit the group object. Otherwise it will stay unchanged.
196200 *
197- * @returns true if the value of the group object has changed
201+ * @returns true if the value of the group object has changed, false if conversion results in same value as stored in group object or failed.
198202 */
199203 bool valueNoSendCompare (const KNXValue& value, const Dpt& type);
200204
@@ -220,15 +224,19 @@ class GroupObject
220224 * @param value the value the group object is set to
221225 *
222226 * The parameters must fit the group object and dhe datapoint type must be set with dataPointType(). Otherwise it will stay unchanged.
227+ *
228+ * @returns true if the value was converted successfully to the datapoint type and the group object was updated.
223229 */
224- void value (const KNXValue& value);
230+ bool value (const KNXValue& value);
225231 /* *
226232 * set the current value of the group object.
227233 * @param value the value the group object is set to
228234 *
229- * The parameters must fit the group object and dhe datapoint type must be set with dataPointType(). Otherwise it will stay unchanged.
235+ * The parameters must fit the group object and the datapoint type must be set with dataPointType(). Otherwise it will stay unchanged.
236+ *
237+ * @returns true if the value was converted successfully to the datapoint type and the group object was updated.
230238 */
231- void valueNoSend (const KNXValue& value);
239+ bool valueNoSend (const KNXValue& value);
232240 /* *
233241 * set the current value of the group object.
234242 * @param value the value the group object is set to
0 commit comments