> I think zepyhr's DHCP config doesn't work because IoTivity-Constrained?s
> Zephyr port have only ipv6.


Yes. port/zephyr/src/ipadapter.c only supports IPv6. Feel free to
add IPv4 support if you require it, and submit a patch. It shouldn?t be
too hard; you?d have to update the ipadapter as well as the project
configuration. 
But, for the purposes of your test, you should be able to use IPv6.

> Please let me know if you have guide to operate on the board, not
> the emulator.


You?d have to refer to Zephyr project documentation and its samples to
get the right OS configuration (the prj.*conf file). That is outside
the scope of IoTivity-Constrained since each board will have its own
drivers, configuration parameters, flashing procedure, etc.

> In additional, my development environment is zephyr(frdm-f64k)
>-(ethernet)...

So, for your board, you could perhaps look inside
<zephyr>/samples/net/echo_server/prj_frdm_k64f.conf to understand all the
parameters
that it sets (it enables ethernet, etc.). Look also inside
port/zephyr/prj.conf and
may be prepare a merged configuration. Then you can run make BOARD=..
CONF_FILE=.. 
and it will include all the features to support your board.




-
Kishen Maloor
Intel Open Source Technology Center




From:  <[email protected]> on behalf of ???
<jhun1105.kim at samsung.com>
Reply-To:  "jhun1105.kim at samsung.com" <jhun1105.kim at samsung.com>
Date:  Monday, March 6, 2017 at 3:44 AM
To:  "iotivity-dev at lists.iotivity.org" <iotivity-dev at lists.iotivity.org>
Subject:  [dev] IoTivity-Constrained on frdm-f64k


Hi everyone, 

I'm testing IoTivitiy-Constrained.

I arleay tested IoTivity-Constrained between zepyhr(qemu_x86) and linux
using virtual socket interface on linux.
Also i tested network sample using Zephyr's echo_server(frdm-f64k with
CONFIG_NET_DHCPV4) and ping&echo command(linux).

And then now i'm testing IoTivity-Constrained between zephyr(frdm-f64k)
and linux.
In additional, my development environment is zephyr(frdm-f64k) -(ethernet)
- AP(iptime a5004ns) -(ethernet) - linux.

But frdm-f64k can't assigned ip address.
I checked network interface using iface command in zephyr's net shell.

I think zepyhr's DHCP config doesn't work because IoTivity-Constrained's
Zephyr port have only ipv6.
Please let me know if you have guide to operate on the board, not the
emulator.

Zephyr's echo_server
shell> select net
net> iface
Interface 0x20000e80
====================
TX stack size 1200/1296 bytes unused 588 usage 612/1200 (46 %)
Link addr : 00:04:9F:25:F8:0A
MTU       : 1500
IPv6 unicast addresses (max 5):
        fe80::204:9fff:fe25:f80a autoconf preferred infinite
        2001:db8::1 manual preferred infinite
IPv6 multicast addresses (max 5):
        ff84::2
IPv6 prefixes (max 2):
        <none>
IPv6 hop limit           : 64
IPv6 base reachable time : 30000
IPv6 reachable time      : 1797
IPv6 retransmit timer    : 0
IPv4 unicast addresses (max 1):
        192.168.0.6 DHCP preferred
IPv4 multicast addresses (max 1):
        <none>
IPv4 gateway : 192.168.0.1
IPv4 netmask : 255.255.255.0
DHCPv4 lease time : 7200
DHCPv4 renew time : 0
DHCPv4 server     : 192.168.0.1
DHCPv4 requested  : 192.168.0.6
DHCPv4 state      : ack
DHCPv4 attempts   : 0

IoTIvity-Constrained server
Interface 0x20000f40
====================
TX stack size 1200/1296 bytes unused 612 usage 588/1200 (44 %)
Link addr : 00:04:9F:6B:AD:32
MTU       : 1500
IPv6 unicast addresses (max 1):
        fe80::204:9fff:fe6b:ad32 autoconf preferred infinite
IPv6 multicast addresses (max 1):
        ff02::158
IPv6 prefixes (max 2):
        <none>
IPv6 hop limit           : 64
IPv6 base reachable time : 30000
IPv6 reachable time      : 18662
IPv6 retransmit timer    : 0
IPv4 unicast addresses (max 1):
        <none>
IPv4 multicast addresses (max 1):
        <none>
IPv4 gateway : 0.0.0.0
IPv4 netmask : 0.0.0.0
DHCPv4 lease time : 0
DHCPv4 renew time : 0
DHCPv4 server     : 0.0.0.0
DHCPv4 requested  : 0.0.0.0
DHCPv4 state      : init
DHCPv4 attempts   : 0


Thanks,
JungHun Kim.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT00001.gif
Type: image/gif
Size: 13402 bytes
Desc: ATT00001.gif
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170306/751b9675/attachment.gif>

Reply via email to