commit | ec184107befbdf2c0121974401f8b28746fba948 | [log] [tgz] |
---|---|---|
author | Vinicius Costa Gomes <vinicius.gomes@intel.com> | Fri Nov 04 18:31:15 2016 -0200 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Dec 02 12:41:05 2016 +0200 |
tree | 6f8e7c090b40fbc6923697b0acbf1ddd55d79549 | |
parent | 1d86b236afa5129e0263b6ccc34599415f7c175c [diff] |
zoap: Add support for retrieving the underlying net_buf Add an alternative to zoap_packet_get_payload(), that instead of returning a byte array, returns the net_buf (with the COAP_MARKER added, if needed) associated with the packet, positioned so the application can add more data. Change-Id: I7c955ef42f5ef8406d77da994d1673e6a69b0b6b Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>