Due to sizeof('\0') evaluating to 4 bytes instead of 1:
- Each UDI field had 4 instead of 1 'zero byte' appended
(as specified by BLE spec).
- Any field of length 4 was being skipped entirely.
Signed-off-by: Sean Kyer <Sean.Kyer@analog.com>
|
||
|---|---|---|
| .. | ||
| bas | ||
| ias | ||
| nus | ||
| ots | ||
| CMakeLists.txt | ||
| cts.c | ||
| dis.c | ||
| hrs.c | ||
| Kconfig | ||
| Kconfig.cts | ||
| Kconfig.dis | ||
| Kconfig.hrs | ||
| Kconfig.tps | ||
| tps.c | ||