Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples/net/coaps_server: Failed to send response to coaps_client #9131

Closed
tarunkum opened this issue Jul 26, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@tarunkum
Copy link
Contributor

commented Jul 26, 2018

I was trying to test coaps_server along with coaps_client with two different frdm_k64f boards.
The steps I have followed for coaps_server & coaps_cleint is as below:

cd zephyr/samples/net/coaps_client
mkdir build && cd build && cmake -GNinja -DBOARD=frdm_k64f ../
ninja
cp -vr outdir/frdm_k64f/zephyr.bin /run/media/MBED/

cd zephyr/samples/net/coaps_server
mkdir build && cd build && cmake -GNinja -DBOARD=frdm_k64f ../
ninja
cp -vr outdir/frdm_k64f/zephyr.bin /run/media/MBED1/

•Here I am trying make one frdm_k64f as coaps_client & other one as coaps_server.
•I have not done any changes in prj.conf files in both sample apps.
•After flashing both codes not able to see any response from coaps server to coaps_client console.

I have tested on latest commit today.
I am getting below error on coaps_client serial window.

******* Booting Zephyr OS v1.12.0-1017-g353acf4 *****
Cannot get bind IPv6 mcast (-2)udp_init failed returned 0xffffffea**

rveerama1 added a commit to rveerama1/zephyr that referenced this issue Aug 3, 2018

samples: net: coaps_client: Increase IPv6 mcast table size
Default value 2 was not enough for mcast addresses table.
Core stack adding mcast addresses on various reasons. Also
coaps_client trying to create mcast context for some purpose.
mcast address is not in lookup table, so binding fails. Add
CoAP sample related mcast address to table and then bind the
context.

Fixes zephyrproject-rtos#9131

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>

@jukkar jukkar closed this in 3e27187 Aug 6, 2018

dleach02 added a commit to dleach02/zephyr that referenced this issue Sep 10, 2018

samples: net: coaps_client: Increase IPv6 mcast table size
Default value 2 was not enough for mcast addresses table.
Core stack adding mcast addresses on various reasons. Also
coaps_client trying to create mcast context for some purpose.
mcast address is not in lookup table, so binding fails. Add
CoAP sample related mcast address to table and then bind the
context.

Fixes zephyrproject-rtos#9131

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.