Skip to content
Commit 4869c16e authored by Robert Chou's avatar Robert Chou Committed by Jukka Rissanen
Browse files

net: samples: fix coap_client early unref packet issue



1. After calling sendto(), the packet will be unreferenced.
   Call coap_pending_cycle() to make sure the packet is referenced until
   we got the response from the peer or retransmission timeout.
2. In retransmit_request(), we rearrange the order to avoid the issue.
3. Remove IPv4 configuration for source code is expecting IPv6
4. Correct a typo in README.rst
5. Initialize the interface w/ IPv6 address

Signed-off-by: default avatarRobert Chou <robert.ch.chou@acer.com>
parent 4fbf7213
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment