commit | 56c73eae39da5a075cbdc7319b558c9a6c4ccd7d | [log] [tgz] |
---|---|---|
author | Joakim Andersson <joakim.andersson@nordicsemi.no> | Wed May 26 17:02:15 2021 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon May 31 17:41:12 2021 +0200 |
tree | d2834ab72a72a3f4435c03c41d19ad1bbff71daf | |
parent | b9a586821e7478e4213f53dfc5524d90ce64768f [diff] |
Bluetooth: samples: Fix peripheral sample handling of string values Fix peripheral sample handling of string values. The read callback uses strlen to get the length of the current string value. Make sure that the string value is always zero-byte terminated. Fix multiple characteristics using the same storage for its value. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>