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> |
||
|---|---|---|
| .. | ||
| cts.c | ||
| cts.h | ||
| main.c | ||