zephyr/subsys
Flavio Santes 057f31e7e9 net/mqtt: Remove length computations for some msg fields
Currently, for the following MQTT msg fields:

- client_id
- will_topic
- user_name
- topic

their length is computed inside the routine that receives the MQTT msg.

Although this simplifies development, also imposes one restriction:
data must be null-terminated. Sometimes, data is received from other
sources and not generated by the application, so the null-terminated
constraint may be considered problematic for the user.

This patch removes the assumption that string fields are null-terminated.
Current data structures are already prepared to handle this case, so no
API change is required.

Change-Id: I5a147a5b21e0da49541cbe62baac363c8737cd3e
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2017-02-15 12:20:08 +02:00
..
bluetooth Bluetooth: GATT: Fix compilation error 2017-02-10 20:54:34 +02:00
debug kernel: Add OpenOCD support 2017-02-11 03:57:19 +00:00
disk license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
fs fat: match type info expected by fat library for f_write 2017-01-30 12:01:50 +00:00
logging license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net net/mqtt: Remove length computations for some msg fields 2017-02-15 12:20:08 +02:00
shell shell: If enabled, let's register telnet console as an input 2017-01-27 12:35:53 +02:00
usb license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile subsys: disk: Refactor disk_access stuff into a directory 2017-01-08 20:58:05 +00:00