Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

[ocf] Ocf Client cannot connect to OcfServer on K64F #1885

Open
qiaojingx opened this issue May 24, 2018 · 2 comments · May be fixed by #1886
Open

[ocf] Ocf Client cannot connect to OcfServer on K64F #1885

qiaojingx opened this issue May 24, 2018 · 2 comments · May be fixed by #1886

Comments

@qiaojingx
Copy link

Description

Ocf connection can't be established on K64F, while ocf works fine on Arduino101.

Test Code

OcfServer.js
OcfClient.js
OcfSensorServer.js
OcfSensorClient.js

Steps to Reproduction

  1. make BOARD=frdm_k64f JS=samples/OcfServer.js
  2. cp outdir/frdm_k64f/zephyr/zephyr.bin /media/<username>/MBED/
  3. Connect PC via Ethernet cable and add router on PC:
ip -6 route add 2001:db8::/64 dev eno1
ip -6 addr add 2001:db8::2 dev eno1
  1. ./outdir/linux/release/jslinux samples/OcfClient.js --noexit

Actual Result

Ocf connection can't set up while ping6 2001:db8::1 is ok.
screenshot from 2018-05-24 08-33-40

Expected Result

Ocf Client can connect to Ocf Server.

Test Builds

Branch Commit Id Target Device Test Date Result
master f90d9d1 frdm_k64f May 24, 2018 Fail
master f90d9d1 arduino 101 May 24, 2018 Pass

Additional Information

jimmy-huang added a commit to jimmy-huang/zephyr.js that referenced this issue May 30, 2018
This patch fixes the issue that multicast discovery messages cannot be
routed to the server after Zephyr update 1.11 with IPV6, but turning on
promiscuous mode resolves this issue.

Fixes intel#1885

Signed-off-by: Jimmy Huang <[email protected]>
@jimmy-huang
Copy link
Contributor

I can fix this by turn on promiscuous mode to get, with patch #1886, this seems to be related to #1868, currently IF_MCAST_IPV6_ADDR_COUNT is already at 4 with OCF and the bug is still reproducible unless you turn on promiscuous mode, maybe @pfalcon have insights on if this is needed?

jimmy-huang added a commit to jimmy-huang/zephyr.js that referenced this issue May 30, 2018
This patch fixes the issue that multicast discovery messages cannot be
routed to the server after Zephyr update 1.11 with IPV6, but turning on
promiscuous mode resolves this issue.

Fixes intel#1885

Signed-off-by: Jimmy Huang <[email protected]>
@pfalcon
Copy link
Contributor

pfalcon commented Jun 7, 2018

So, guys, I'm currently digging into other networking issues, and can't look into it, can you please submit a Zephyr ticket on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants