diff options
author | Vinicius Costa Gomes <vinicius.gomes@intel.com> | 2016-11-04 18:31:15 -0200 |
---|---|---|
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2016-12-02 12:41:05 +0200 |
commit | ec184107befbdf2c0121974401f8b28746fba948 (patch) | |
tree | 6f8e7c090b40fbc6923697b0acbf1ddd55d79549 /ext | |
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>
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions