zephyr/tests/net/lib/zoap
Vinicius Costa Gomes 8e304ef2e6 iot/zoap: Fix requiring that the buffer is unchanged for retransmit
It is possible that the buffer waiting for retransmission is modified
after it is sent, for example, it can be compacted by 6lo, and our
assumption of where is the message ID is located in the buffer is no
longer valid.

As the message ID is the only information that is necessary for
keeping track of retransmissions, we keep a copy of it in the pending
struct, as well as the destination address of the retransmission.

Change-Id: Id33d54353404628673541225a1a05e27ee08765f
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
2017-02-27 10:28:54 +02:00
..
src iot/zoap: Fix requiring that the buffer is unchanged for retransmit 2017-02-27 10:28:54 +02:00
Makefile tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
prj.conf
testcase.ini