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

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

@qiaojingx

Description

@qiaojingx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions