Hello Vijay,

Another user I?ve been corresponding with on the list (in CC) is trying to
address the same
problem that you?re seeing with a similar STMicro board, so perhaps the
two of you 
could share notes.

As discussed in 
https://lists.iotivity.org/pipermail/iotivity-dev/2016-October/005802.html,

IoTivity-Constrained runs on Contiki as a Contiki application.

It interacts with Contiki?s uIP stack
(from port/contiki/ipadapter.c) in much the same way as do samples under
examples/ipv6/simple-udp-rpl.

I have just submitted a patch to produce more debug output from
port/contiki/ipadapter.c. You can build client/server samples with

make CLIENT/SERVER=1 DEBUG=1? and view output via the serial console.

You?re free to add more output to the client/server app itself.

If you find that the IP adapter on the client-side isn?t seeing any
incoming
messages after the server has responded, then there?s likely an issue with
your network stack configuration.
You could try a few things to understand the problem: i) enable
Contiki?s debug output so you can see informative messages from the
network stack while you run the client/server samples, ii) test out
the default builds of client/server samples under
examples/?/simple-udp-rpl on your hardware to observe how they work.

Please share your findings on the list.

You?re welcome to submit patches to IoTivity-Constrained if you spot
something that needs revision.

-Kishen.



-
Kishen Maloor
Intel Open Source Technology Center




From:  <[email protected]> on behalf of Vijay Kumar
<vijay.kumar at smartron.com>
Date:  Friday, October 21, 2016 at 12:37 PM
To:  "iotivity-dev at lists.iotivity.org" <iotivity-dev at lists.iotivity.org>
Subject:  [dev] Iotivity consatrained contiki server and client
communication


Dear Developers,


I am using latest iotivity ported contiki server and client examples on
stm32l1 boards.

after ran the client and server, client is sending multi-cast message and
sever receiving the multi-cast message and responding back.

but the client is unable to receive the response sent by srver and is keep
on multi-casting the message.

i have traversed the client code and it is not at all touching the
function "discovery"

present in client_contiki.c program.

can any one help me to solve this since i am new to iotivity.



Thanking you,

vijay



Reply via email to