Skip to content
Commit ca67f511 authored by Seppo Takalo's avatar Seppo Takalo Committed by Anas Nashif
Browse files

tests: coap_client: Improve socket stubs



* Use sys_rand_get() and seed the CoAP library, so our MIDs are
  random.
* Set socket events per socket, so we don't accidentally receive
  on wrong socket
* Reply with correct tokens

Signed-off-by: default avatarSeppo Takalo <seppo.takalo@nordicsemi.no>
parent 0be5dcd2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment