Skip to content

Commit f610914

Browse files
sgbihuSidLeung
authored andcommitted
Jira 804 BLE Characteristic initialization issue, git 366
Issue: - Created Characteristic failed to reflect the initialized value. Root cause: - During initialization, the length field was incorrectly skipped over.
1 parent ff32c97 commit f610914

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/CurieBLE/src/internal/BLECharacteristicImp.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ BLECharacteristicImp::BLECharacteristicImp(BLECharacteristic& characteristic,
171171
if (NULL != characteristic._value)
172172
{
173173
memcpy(_value, characteristic._value, _value_size);
174+
_value_length = _value_size;
174175
}
175176

176177
// Update BLE device object

0 commit comments

Comments
 (0)