Rathod Vishal J | 24 Jun 15:36 2016
Picon

Reply to Message 2



On Thu, Jun 23, 2016 at 10:20 PM, <contiki-developers-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> wrote:
Send Contiki-developers mailing list submissions to
        contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/contiki-developers
or, via email, send a message with subject or body 'help' to
        contiki-developers-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

You can reach the person managing the list at
        contiki-developers-owner-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Contiki-developers digest..."


Today's Topics:

   1. JSON Usage (Drasko DRASKOVIC)
   2. Problem with Mobility plug in cooja (rajasekaran)
   3. problem to activate llsec in udp-rpl example      project
      (stan-4Y8LkYTxTpzLoDKTGw+V6w@public.gmane.org)
   4. Re: problem to activate llsec in udp-rpl example project
      (Greg King)


----------------------------------------------------------------------

Message: 1
Date: Tue, 21 Jun 2016 12:37:34 +0200
From: Drasko DRASKOVIC <drasko.draskovic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [Contiki-developers] JSON Usage
To: contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, nfi <at> sics.se,
        joakime <at> sics.se
Message-ID:
        <CAEk6gTA10nWE2Sc0GvFy6KyOV2PnzOVjTxtE5e3YjUYFYF-e+A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Content-Type: text/plain; charset=UTF-8

Hello,
I have seen that in Contiki 3.0 we have JSON parser:
https://github.com/contiki-os/contiki/tree/master/apps/json, but it is
unclear how it can be used exactly.

Can somebody please clarify if it is only parser or it is an encoder
as well? I.e. can I use it to serialize C structures and prepare them
in the buffer that will be sent in MQTT publish or as a reply to a
HTTP request for example.

I have seen here that JSON strings are constructed by hand:
https://github.com/contiki-os/contiki/blob/master/examples/ipv6/json-ws/json-ws.c#L312,
so this leads me to the conclusion that this is parser only (i.e.
deserializer) and not encoder (serializer).

I have seen here that there is generally confusion about Contiki JSON
usage: https://sourceforge.net/p/contiki/mailman/message/31948077/, so
it would be great if somebody could demystify this tool with some
description or a small example of usage.

Best regards,
Drasko



------------------------------

Message: 2
Date: Tue, 21 Jun 2016 21:50:59 +0200
From: rajasekaran <rsknraja <at> gmail.com>
Subject: [Contiki-developers] Problem with Mobility plug in cooja
To: contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Message-ID:
        <CAKvD9aRsg4Ed5zbFY7WO9kGzTX8Rt45ek2UM+qtvF5o1WKhwew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Content-Type: text/plain; charset="utf-8"


Hello rajasekaran,

I have facing the same problem. My java_home and javac environment variable was not set that's y this problem occurred. You should try to run javac command and set the both environment variable. If still problem is not solved then mail me.

Regards,
Vishal
 
Dear Friends,

I am facing problem while building mobility plug in

[echo] Contiki's cooja.jar not found! Edit build.xml, and update the
cooja_jar property

I dont know how to edit this build file. Can anyone tell me what are the
changes I am supposed to do in this file.

Please help me

best regards,

<?xml version="1.0"?>

<project name="COOJA: Mobility" default="jar" basedir=".">

<property name="src" location="java"/>

<property name="build" location="build"/>

<property name="lib" location="lib"/>

<property name="cooja_jar"
value="../../../contiki/tools/cooja/dist/cooja.jar"/>

<condition property="cooja_jar_exists">

<available file="${cooja_jar}"/>

</condition>

<target name="check_jar" unless="cooja_jar_exists">

<echo message="Contiki's cooja.jar not found! Edit build.xml, and update
the cooja_jar property"/>

<fail/>

</target>

<target name="init" depends="check_jar">

<tstamp/>

</target>

<target name="compile" depends="init">

<mkdir dir="${build}"/>

<javac srcdir="${src}" destdir="${build}" debug="on">

<classpath>

<pathelement path="."/>

<pathelement location="${cooja_jar}"/>

</classpath>

</javac>

</target>

<target name="clean" depends="init">

<delete dir="${build}"/>

<delete dir="${lib}"/>

</target>

<target name="jar" depends="init, compile, copy">

<mkdir dir="${lib}"/>

<jar destfile="${lib}/mobility.jar" basedir="${build}">

<manifest>

<attribute name="Class-Path" value="."/>

</manifest>

</jar>

</target>

<target name="copy" depends="init">

<mkdir dir="${build}"/>

</target>

</project>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Wed, 22 Jun 2016 12:18:02 +0200
From: <stan-4Y8LkYTxTpzLoDKTGw+V6w@public.gmane.org>
Subject: [Contiki-developers] problem to activate llsec in udp-rpl
        example project
To: "contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org"
        <contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Message-ID: <576a65d9.07d7190a.1f177.ffff81b6-ATjtLOhZ0NVl57MIdRCFDg@public.gmane.org>
Content-Type: text/plain; charset="utf-8"

Hello,
I?m new in Contiki, I?m trying to activate the link layer security in the simple-udp-rpl example project, on the native platform. I followed the instructions to implement it (added noncoresec_driver / framer and enabled LLSEC802154 in my project-conf file) and the NETSTACK_LLSEC.init() call is done in the main file.
But the noncoresec_driver and noncoresec_framer still seem not to be found during compilation?:

contiki-native.a(contiki-main.o): In function `main':
/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../platform/native/./contiki-main.c:219: undefined reference to `noncoresec_driver'
contiki-native.a(sicslowpan.o): In function `send_packet':
/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../core/net/ipv6/sicslowpan.c:1258: undefined reference to `noncoresec_driver'
contiki-native.a(sicslowpan.o): In function `output':
/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../core/net/ipv6/sicslowpan.c:1345: undefined reference to `noncoresec_framer'
contiki-native.a(netstack.o): In function `netstack_init':
/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../core/net/netstack.c:47: undefined reference to `noncoresec_driver'
contiki-native.a(nullmac.o): In function `packet_input':
/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../core/net/mac/nullmac.c:57: undefined reference to `noncoresec_driver'
contiki-native.a(nullrdc.o): In function `send_one_packet':
/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../core/net/mac/nullrdc.c:124: undefined reference to `noncoresec_framer'
contiki-native.a(nullrdc.o): In function `packet_input':
/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../core/net/mac/nullrdc.c:282: undefined reference to `noncoresec_framer'

I also tried compiling on Cooja with a cooja mote, it compiles fine, but I get a Java error after when I try to create a mote?(UnsatisfiedLinkError?: (?) undefined symbol?: noncoresec_driver). Same error so?
Could anyone help me  find how to solve that?

Best regards,
Stan


-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Thu, 23 Jun 2016 12:50:41 -0400
From: Greg King <gregdk-iA+eEnwkJgzhvxM+mQhndA@public.gmane.orgnet>
Subject: Re: [Contiki-developers] problem to activate llsec in udp-rpl
        example project
To: contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Message-ID: <9e939e1a-f016-3420-72b0-c1a8bce7d12a-iA+eEnwkJgzk1uMJSBkQmQ@public.gmane.org>
Content-Type: text/plain; charset=windows-1252; format=flowed

On 2016-06-22 6:18 AM, stan-4Y8LkYTxTpzLoDKTGw+V6w@public.gmane.org wrote:
>
> I?m new in Contiki; I?m trying to activate the link-layer security in
> the simple-udp-rpl example project, on the native platform. I followed
> the instructions to implement it (added noncoresec_driver / framer, and
> enabled LLSEC802154 in my project-conf file); and, the
> NETSTACK_LLSEC.init() call is done in the main file.
>
> But, the noncoresec_driver and noncoresec_framer still seem not to be
> found during compilation:
>
> contiki-native.a(contiki-main.o): In function `main':
> /home/user/contiki/examples/ipv6/simple-udp-rpl/../../../platform/native/./contiki-main.c:219:
> undefined reference to `noncoresec_driver'

The file that exports those names must be added to the native platform's
build environment.  Apply this patch to that platform's make-file:

diff --git i/platform/native/Makefile.native
w/platform/native/Makefile.native
index 504c91a..a13000d 100644
--- i/platform/native/Makefile.native
+++ w/platform/native/Makefile.native
<at> <at> -42,4 +42,5 <at> <at> CURSES_LIBS ?= -lncurses

  TARGET_LIBFILES += $(CURSES_LIBS)

-MODULES+=core/net core/net/mac core/ctk core/net/llsec core/net/ip64-addr/
+MODULES+=core/net core/net/mac core/ctk core/net/llsec core/net/ip64
+MODULES+=core/net/llsec/noncoresec





------------------------------

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape

------------------------------

_______________________________________________
Contiki-developers mailing list
Contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/contiki-developers


End of Contiki-developers Digest, Vol 121, Issue 44
***************************************************



--
VISHAL RATHOD
Research Scholar,
CSE Department,
NITK, Surathkal.
Contact :- +91 9879957770 , +91 9724595809
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Andreas Urke | 24 Jun 11:44 2016

TSCH for 868MHz

Hi,

having read some on the improvements given by TSCH, I wondered if it would at all make sense to implement it for 868MHz. There is only one channel so we would only get the benefits from the TDMA portion, not the FDMA, but maybe the improvements are still large enough to justify the work and added complexity?

If anyone know any published results on the contribution of time-diversity and frequency-diversity in TSCH I would be very interested.

Regards,
Andreas
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
stan | 22 Jun 12:18 2016
Picon

problem to activate llsec in udp-rpl example project

Hello,

I’m new in Contiki, I’m trying to activate the link layer security in the simple-udp-rpl example project, on the native platform. I followed the instructions to implement it (added noncoresec_driver / framer and enabled LLSEC802154 in my project-conf file) and the NETSTACK_LLSEC.init() call is done in the main file.

But the noncoresec_driver and noncoresec_framer still seem not to be found during compilation :

 

contiki-native.a(contiki-main.o): In function `main':

/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../platform/native/./contiki-main.c:219: undefined reference to `noncoresec_driver'

contiki-native.a(sicslowpan.o): In function `send_packet':

/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../core/net/ipv6/sicslowpan.c:1258: undefined reference to `noncoresec_driver'

contiki-native.a(sicslowpan.o): In function `output':

/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../core/net/ipv6/sicslowpan.c:1345: undefined reference to `noncoresec_framer'

contiki-native.a(netstack.o): In function `netstack_init':

/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../core/net/netstack.c:47: undefined reference to `noncoresec_driver'

contiki-native.a(nullmac.o): In function `packet_input':

/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../core/net/mac/nullmac.c:57: undefined reference to `noncoresec_driver'

contiki-native.a(nullrdc.o): In function `send_one_packet':

/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../core/net/mac/nullrdc.c:124: undefined reference to `noncoresec_framer'

contiki-native.a(nullrdc.o): In function `packet_input':

/home/user/contiki/examples/ipv6/simple-udp-rpl/../../../core/net/mac/nullrdc.c:282: undefined reference to `noncoresec_framer'

 

I also tried compiling on Cooja with a cooja mote, it compiles fine, but I get a Java error after when I try to create a mote (UnsatisfiedLinkError : (…) undefined symbol : noncoresec_driver). Same error so…

Could anyone help me  find how to solve that?

 

Best regards,

Stan

 

 

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
rajasekaran | 21 Jun 21:50 2016
Picon

Problem with Mobility plug in cooja

Dear Friends,

I am facing problem while building mobility plug in

[echo] Contiki's cooja.jar not found! Edit build.xml, and update the cooja_jar property

I dont know how to edit this build file. Can anyone tell me what are the changes I am supposed to do in this file.

Please help me

best regards,

<?xml version="1.0"?>

<project name="COOJA: Mobility" default="jar" basedir=".">

<property name="src" location="java"/>

<property name="build" location="build"/>

<property name="lib" location="lib"/>

<property name="cooja_jar" value="../../../contiki/tools/cooja/dist/cooja.jar"/>

<condition property="cooja_jar_exists">

<available file="${cooja_jar}"/>

</condition>

<target name="check_jar" unless="cooja_jar_exists">

<echo message="Contiki's cooja.jar not found! Edit build.xml, and update the cooja_jar property"/>

<fail/>

</target>

<target name="init" depends="check_jar">

<tstamp/>

</target>

<target name="compile" depends="init">

<mkdir dir="${build}"/>

<javac srcdir="${src}" destdir="${build}" debug="on">

<classpath>

<pathelement path="."/>

<pathelement location="${cooja_jar}"/>

</classpath>

</javac>

</target>

<target name="clean" depends="init">

<delete dir="${build}"/>

<delete dir="${lib}"/>

</target>

<target name="jar" depends="init, compile, copy">

<mkdir dir="${lib}"/>

<jar destfile="${lib}/mobility.jar" basedir="${build}">

<manifest>

<attribute name="Class-Path" value="."/>

</manifest>

</jar>

</target>

<target name="copy" depends="init">

<mkdir dir="${build}"/>

</target>

</project>

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Drasko DRASKOVIC | 21 Jun 12:37 2016
Picon
Gravatar

JSON Usage

Hello,
I have seen that in Contiki 3.0 we have JSON parser:
https://github.com/contiki-os/contiki/tree/master/apps/json, but it is
unclear how it can be used exactly.

Can somebody please clarify if it is only parser or it is an encoder
as well? I.e. can I use it to serialize C structures and prepare them
in the buffer that will be sent in MQTT publish or as a reply to a
HTTP request for example.

I have seen here that JSON strings are constructed by hand:
https://github.com/contiki-os/contiki/blob/master/examples/ipv6/json-ws/json-ws.c#L312,
so this leads me to the conclusion that this is parser only (i.e.
deserializer) and not encoder (serializer).

I have seen here that there is generally confusion about Contiki JSON
usage: https://sourceforge.net/p/contiki/mailman/message/31948077/, so
it would be great if somebody could demystify this tool with some
description or a small example of usage.

Best regards,
Drasko

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
Rathod Vishal J | 21 Jun 06:00 2016
Picon

Reply to Message 1



On Tue, Jun 21, 2016 at 9:28 AM, Rathod Vishal J <cs15f11-ZHtl6Raov0KkxNUMemJ2pw@public.gmane.orgn> wrote:


On Tue, Jun 21, 2016 at 12:17 AM, <contiki-developers-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> wrote:
Send Contiki-developers mailing list submissions to
        contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/contiki-developers
or, via email, send a message with subject or body 'help' to
        contiki-developers-request-5NWGOfrQmneHXe+LvDLADg@public.gmane.orgrceforge.net

You can reach the person managing the list at
        contiki-developers-owner-5NWGOfrQmnegEbju0hdhLg@public.gmane.orgorge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Contiki-developers digest..."


Today's Topics:

   1. problem to run a program (atena shiranzaei)
   2. Guide to configure Eclipse to work on Contiki     and the CC2538
      (Antonio Linan)
   3. Re: Guide to configure Eclipse to work on Contiki and the
      CC2538 (atena shiranzaei)
   4. Re: Guide to configure Eclipse to work on Contiki and the
      CC2538 (Antonio Linan)


----------------------------------------------------------------------

Hello,

First thing you have to note that, whenever you make some changes in files/folder, you must compile it.

First run sudo ant jar. You have to make sure that whatever you add it is compatible with your contiki or not.

If it successfully run that you can go with run.

Regards,
Vishal
 
Message: 1
Date: Sun, 19 Jun 2016 11:10:35 +0530
From: atena shiranzaei <atena.2299-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [Contiki-developers] problem to run a program
To: contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Message-ID:
        <CAFNAv3Mfa+XMagH6pHgJf-3Ug4yrJ7haohqReLR3TM4iykGCYg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Content-Type: text/plain; charset="utf-8"

I am using contiki/cooja to implement my research. I am new in cooja
simulator. I am trying to open a program. the procedure I have done is as
follow

I downloaded the program from
https://github.com/ecksun/Contiki-IDS/tree/attacks, after that extracted it
in contiki folder
my contiki 3.0 is installed through VMware Workstation 12 Player
I run it
then open a terminal and write
cd contiki/tools/cooja
ant run
then the cooja simulator is opened
after that file>open simulation>browse
contiki->contiki-IDs-attacks->examples->ipv6->rpl-collect->attack_clone.csc
after processing it gives Mote type creation error:Mote type creation
failed: compilation error: cannot run program "make" (in directory
"/home/user/contiki/contiki-IDs-attacks/examples/ipv6/rpl-collect"):
error=2. No such file or directory....

I don't know there is another procedure to do before run the program

please tell me how to compile it step by step

best regards
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Mon, 20 Jun 2016 11:23:29 +0200
From: Antonio Linan <alinan-jOPeaUHB4/5Wk0Htik3J/w@public.gmane.org>
Subject: [Contiki-developers] Guide to configure Eclipse to work on
        Contiki and the CC2538
To: Contiki developer mailing list
        <contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Cc: Jonas Olsson <j.olsson-l0cyMroinI0@public.gmane.org>
Message-ID:
        <CAGVdO7Wudn91gCP7iiueGffqxz=KK9+5uiXdPGWMBi1mmq1YLw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Content-Type: text/plain; charset="utf-8"

Hello,

I put together a detailed guide on how to configure Eclipse to work on
Contiki, including support for cross-referencing, compile, flash (over USB
and JTAG) and connect to the console (in the same way make login currently
does).

Although it should be straightforward to implement on Windows, this guide
assumes Ubuntu-like systems.

The link is:

https://github.com/Zolertia/Resources/wiki/Eclipse

Note that the last step (debugging over JTAG) is currently a work in
process, I'm having difficulties on getting this right.

I recall there was an intention from TI to contribute on a similar guide,
any feedback or recommendation is welcomed, especially on the debugging
part!

I will release a Virtual Machine with everything configured soon.

Cheers!

--Antonio

--
--
Antonio Li??n Colina
<at> : alinan <at> zolertia.com
------------------------------
Zolertia
Ph.: +34 931426166
http://www.zolertia.com
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Mon, 20 Jun 2016 23:50:56 +0530
From: atena shiranzaei <atena.2299-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [Contiki-developers] Guide to configure Eclipse to work
        on Contiki and the CC2538
To: Contiki developer mailing list
        <contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Message-ID:
        <CAFNAv3NTTf1WHRCci6=7qa2eGf69Gsdd=gms0r8dDVkLpSRQpw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Content-Type: text/plain; charset="utf-8"

Dear Alinan

it is not working in eclipse. it just opened the source code.

I want to run and see the output in cooja simulator.

thanks.

On Mon, Jun 20, 2016 at 2:53 PM, Antonio Linan <alinan-jOPeaUHB4/5Wk0Htik3J/w@public.gmane.org> wrote:

> Hello,
>
> I put together a detailed guide on how to configure Eclipse to work on
> Contiki, including support for cross-referencing, compile, flash (over USB
> and JTAG) and connect to the console (in the same way make login currently
> does).
>
> Although it should be straightforward to implement on Windows, this guide
> assumes Ubuntu-like systems.
>
> The link is:
>
> https://github.com/Zolertia/Resources/wiki/Eclipse
>
> Note that the last step (debugging over JTAG) is currently a work in
> process, I'm having difficulties on getting this right.
>
> I recall there was an intention from TI to contribute on a similar guide,
> any feedback or recommendation is welcomed, especially on the debugging
> part!
>
> I will release a Virtual Machine with everything configured soon.
>
> Cheers!
>
> --Antonio
>
> --
> --
> Antonio Li??n Colina
> <at> : alinan <at> zolertia.com
> ------------------------------
> Zolertia
> Ph.: +34 931426166
> http://www.zolertia.com
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports. http://sdm.link/zohomanageengine
> _______________________________________________
> Contiki-developers mailing list
> Contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/contiki-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Mon, 20 Jun 2016 20:47:13 +0200
From: Antonio Linan <alinan-jOPeaUHB4/5Wk0Htik3J/w@public.gmane.org>
Subject: Re: [Contiki-developers] Guide to configure Eclipse to work
        on Contiki and the CC2538
To: Contiki developer mailing list
        <contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Message-ID:
        <CAGVdO7UUQsGcOJNtcGFbuqrd+YV-e7syc7xQEeBv09P2bwPHXA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Content-Type: text/plain; charset="utf-8"

I have uploaded a VM with everything configured:

https://sourceforge.net/projects/zolertia/files/VM/IoT%20Workshop%20VM.7z/download

This will be the default VM for the "IoT in five days" book [1] and related
workshops

Cheers,

--Antonio

[1] https://github.com/alignan/IPv6-WSN-book

----
Changelog

06/07/2016 - Antonio Lignan <antonio.lignan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

- Installed gnome-session-flashback
- Support for multi-language keyboard input (English UK, Spanish - Spain/LA)
- arm-none-eabi-gcc (15:4.9.3+svn231177-1) 4.9.3 20150529 (prerelease)
- openjdk version "1.8.0_91"
- msp430-gcc (GCC) 4.7.2 20120920 (mspgcc dev 20120911)
- Wireshark
- meld
- radvd
- supervisor
- nodejs and npm
- srecord, intel-hex python-magic, automake, libncurses5-dev
- ubidots-1.6.6 (python)
- Contiki (upstream), IoT book and Zolertia resources repositories cloned
- Set $JAVA_HOME for cooja wizard test
- Enabled net.ipv6.conf.all.forwarding=1 in /etc/sysctrl.conf
- Disabled screen lock
- Eclipse Paho MQTT python
- JLink Linux V5.12g, DEB Installer 32-bit version
- Meld as git diff tool
- Eclipse C/C++ Kepler configured to work with Contiki
- Sublime text editor



On Mon, Jun 20, 2016 at 8:20 PM, atena shiranzaei <atena.2299-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:

> Dear Alinan
>
> it is not working in eclipse. it just opened the source code.
>
> I want to run and see the output in cooja simulator.
>
> thanks.
>
> On Mon, Jun 20, 2016 at 2:53 PM, Antonio Linan <alinan-jOPeaUHB4/5Wk0Htik3J/w@public.gmane.org>
> wrote:
>
>> Hello,
>>
>> I put together a detailed guide on how to configure Eclipse to work on
>> Contiki, including support for cross-referencing, compile, flash (over USB
>> and JTAG) and connect to the console (in the same way make login currently
>> does).
>>
>> Although it should be straightforward to implement on Windows, this guide
>> assumes Ubuntu-like systems.
>>
>> The link is:
>>
>> https://github.com/Zolertia/Resources/wiki/Eclipse
>>
>> Note that the last step (debugging over JTAG) is currently a work in
>> process, I'm having difficulties on getting this right.
>>
>> I recall there was an intention from TI to contribute on a similar guide,
>> any feedback or recommendation is welcomed, especially on the debugging
>> part!
>>
>> I will release a Virtual Machine with everything configured soon.
>>
>> Cheers!
>>
>> --Antonio
>>
>> --
>> --
>> Antonio Li??n Colina
>> <at> : alinan <at> zolertia.com
>> ------------------------------
>> Zolertia
>> Ph.: +34 931426166
>> http://www.zolertia.com
>>
>>
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>> traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols
>> are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning
>> reports. http://sdm.link/zohomanageengine
>> _______________________________________________
>> Contiki-developers mailing list
>> Contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/contiki-developers
>>
>>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports. http://sdm.link/zohomanageengine
> _______________________________________________
> Contiki-developers mailing list
> Contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/contiki-developers
>
>


--
--
Antonio Li??n Colina
<at> : alinan <at> zolertia.com
------------------------------
Zolertia
Ph.: +34 931426166
http://www.zolertia.com
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine

------------------------------

_______________________________________________
Contiki-developers mailing list
Contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/contiki-developers


End of Contiki-developers Digest, Vol 121, Issue 41
***************************************************



--
VISHAL RATHOD
Research Scholar,
CSE Department,
NITK, Surathkal.
Contact :- +91 9879957770 , +91 9724595809



--
VISHAL RATHOD
Research Scholar,
CSE Department,
NITK, Surathkal.
Contact :- +91 9879957770 , +91 9724595809
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Rathod Vishal J | 21 Jun 05:58 2016
Picon

Re: Contiki-developers Digest, Vol 121, Issue 41



On Tue, Jun 21, 2016 at 12:17 AM, <contiki-developers-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> wrote:
Send Contiki-developers mailing list submissions to
        contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/contiki-developers
or, via email, send a message with subject or body 'help' to
        contiki-developers-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

You can reach the person managing the list at
        contiki-developers-owner-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Contiki-developers digest..."


Today's Topics:

   1. problem to run a program (atena shiranzaei)
   2. Guide to configure Eclipse to work on Contiki     and the CC2538
      (Antonio Linan)
   3. Re: Guide to configure Eclipse to work on Contiki and the
      CC2538 (atena shiranzaei)
   4. Re: Guide to configure Eclipse to work on Contiki and the
      CC2538 (Antonio Linan)


----------------------------------------------------------------------

Hello,

First thing you have to note that, whenever you make some changes in files/folder, you must compile it.

First run sudo ant jar. You have to make sure that whatever you add it is compatible with your contiki or not.

If it successfully run that you can go with run.

Regards,
Vishal
 
Message: 1
Date: Sun, 19 Jun 2016 11:10:35 +0530
From: atena shiranzaei <atena.2299-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [Contiki-developers] problem to run a program
To: contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Message-ID:
        <CAFNAv3Mfa+XMagH6pHgJf-3Ug4yrJ7haohqReLR3TM4iykGCYg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Content-Type: text/plain; charset="utf-8"

I am using contiki/cooja to implement my research. I am new in cooja
simulator. I am trying to open a program. the procedure I have done is as
follow

I downloaded the program from
https://github.com/ecksun/Contiki-IDS/tree/attacks, after that extracted it
in contiki folder
my contiki 3.0 is installed through VMware Workstation 12 Player
I run it
then open a terminal and write
cd contiki/tools/cooja
ant run
then the cooja simulator is opened
after that file>open simulation>browse
contiki->contiki-IDs-attacks->examples->ipv6->rpl-collect->attack_clone.csc
after processing it gives Mote type creation error:Mote type creation
failed: compilation error: cannot run program "make" (in directory
"/home/user/contiki/contiki-IDs-attacks/examples/ipv6/rpl-collect"):
error=2. No such file or directory....

I don't know there is another procedure to do before run the program

please tell me how to compile it step by step

best regards
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Mon, 20 Jun 2016 11:23:29 +0200
From: Antonio Linan <alinan <at> zolertia.com>
Subject: [Contiki-developers] Guide to configure Eclipse to work on
        Contiki and the CC2538
To: Contiki developer mailing list
        <contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Cc: Jonas Olsson <j.olsson-l0cyMroinI0@public.gmane.org>
Message-ID:
        <CAGVdO7Wudn91gCP7iiueGffqxz=KK9+5uiXdPGWMBi1mmq1YLw <at> mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello,

I put together a detailed guide on how to configure Eclipse to work on
Contiki, including support for cross-referencing, compile, flash (over USB
and JTAG) and connect to the console (in the same way make login currently
does).

Although it should be straightforward to implement on Windows, this guide
assumes Ubuntu-like systems.

The link is:

https://github.com/Zolertia/Resources/wiki/Eclipse

Note that the last step (debugging over JTAG) is currently a work in
process, I'm having difficulties on getting this right.

I recall there was an intention from TI to contribute on a similar guide,
any feedback or recommendation is welcomed, especially on the debugging
part!

I will release a Virtual Machine with everything configured soon.

Cheers!

--Antonio

--
--
Antonio Li??n Colina
<at> : alinan-jOPeaUHB4/5Wk0Htik3J/w@public.gmane.org
------------------------------
Zolertia
Ph.: +34 931426166
http://www.zolertia.com
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Mon, 20 Jun 2016 23:50:56 +0530
From: atena shiranzaei <atena.2299-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [Contiki-developers] Guide to configure Eclipse to work
        on Contiki and the CC2538
To: Contiki developer mailing list
        <contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Message-ID:
        <CAFNAv3NTTf1WHRCci6=7qa2eGf69Gsdd=gms0r8dDVkLpSRQpw-JsoAwUIsXov6gbPvEgmw2w@public.gmane.org.com>
Content-Type: text/plain; charset="utf-8"

Dear Alinan

it is not working in eclipse. it just opened the source code.

I want to run and see the output in cooja simulator.

thanks.

On Mon, Jun 20, 2016 at 2:53 PM, Antonio Linan <alinan-jOPeaUHB4/5Wk0Htik3J/w@public.gmane.org> wrote:

> Hello,
>
> I put together a detailed guide on how to configure Eclipse to work on
> Contiki, including support for cross-referencing, compile, flash (over USB
> and JTAG) and connect to the console (in the same way make login currently
> does).
>
> Although it should be straightforward to implement on Windows, this guide
> assumes Ubuntu-like systems.
>
> The link is:
>
> https://github.com/Zolertia/Resources/wiki/Eclipse
>
> Note that the last step (debugging over JTAG) is currently a work in
> process, I'm having difficulties on getting this right.
>
> I recall there was an intention from TI to contribute on a similar guide,
> any feedback or recommendation is welcomed, especially on the debugging
> part!
>
> I will release a Virtual Machine with everything configured soon.
>
> Cheers!
>
> --Antonio
>
> --
> --
> Antonio Li??n Colina
> <at> : alinan-jOPeaUHB4/5Wk0Htik3J/w@public.gmane.org
> ------------------------------
> Zolertia
> Ph.: +34 931426166
> http://www.zolertia.com
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports. http://sdm.link/zohomanageengine
> _______________________________________________
> Contiki-developers mailing list
> Contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/contiki-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Mon, 20 Jun 2016 20:47:13 +0200
From: Antonio Linan <alinan <at> zolertia.com>
Subject: Re: [Contiki-developers] Guide to configure Eclipse to work
        on Contiki and the CC2538
To: Contiki developer mailing list
        <contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Message-ID:
        <CAGVdO7UUQsGcOJNtcGFbuqrd+YV-e7syc7xQEeBv09P2bwPHXA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Content-Type: text/plain; charset="utf-8"

I have uploaded a VM with everything configured:

https://sourceforge.net/projects/zolertia/files/VM/IoT%20Workshop%20VM.7z/download

This will be the default VM for the "IoT in five days" book [1] and related
workshops

Cheers,

--Antonio

[1] https://github.com/alignan/IPv6-WSN-book

----
Changelog

06/07/2016 - Antonio Lignan <antonio.lignan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

- Installed gnome-session-flashback
- Support for multi-language keyboard input (English UK, Spanish - Spain/LA)
- arm-none-eabi-gcc (15:4.9.3+svn231177-1) 4.9.3 20150529 (prerelease)
- openjdk version "1.8.0_91"
- msp430-gcc (GCC) 4.7.2 20120920 (mspgcc dev 20120911)
- Wireshark
- meld
- radvd
- supervisor
- nodejs and npm
- srecord, intel-hex python-magic, automake, libncurses5-dev
- ubidots-1.6.6 (python)
- Contiki (upstream), IoT book and Zolertia resources repositories cloned
- Set $JAVA_HOME for cooja wizard test
- Enabled net.ipv6.conf.all.forwarding=1 in /etc/sysctrl.conf
- Disabled screen lock
- Eclipse Paho MQTT python
- JLink Linux V5.12g, DEB Installer 32-bit version
- Meld as git diff tool
- Eclipse C/C++ Kepler configured to work with Contiki
- Sublime text editor



On Mon, Jun 20, 2016 at 8:20 PM, atena shiranzaei <atena.2299-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:

> Dear Alinan
>
> it is not working in eclipse. it just opened the source code.
>
> I want to run and see the output in cooja simulator.
>
> thanks.
>
> On Mon, Jun 20, 2016 at 2:53 PM, Antonio Linan <alinan-jOPeaUHB4/5Wk0Htik3J/w@public.gmane.org>
> wrote:
>
>> Hello,
>>
>> I put together a detailed guide on how to configure Eclipse to work on
>> Contiki, including support for cross-referencing, compile, flash (over USB
>> and JTAG) and connect to the console (in the same way make login currently
>> does).
>>
>> Although it should be straightforward to implement on Windows, this guide
>> assumes Ubuntu-like systems.
>>
>> The link is:
>>
>> https://github.com/Zolertia/Resources/wiki/Eclipse
>>
>> Note that the last step (debugging over JTAG) is currently a work in
>> process, I'm having difficulties on getting this right.
>>
>> I recall there was an intention from TI to contribute on a similar guide,
>> any feedback or recommendation is welcomed, especially on the debugging
>> part!
>>
>> I will release a Virtual Machine with everything configured soon.
>>
>> Cheers!
>>
>> --Antonio
>>
>> --
>> --
>> Antonio Li??n Colina
>> <at> : alinan-jOPeaUHB4/5Wk0Htik3J/w@public.gmane.org
>> ------------------------------
>> Zolertia
>> Ph.: +34 931426166
>> http://www.zolertia.com
>>
>>
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and
>> traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols
>> are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning
>> reports. http://sdm.link/zohomanageengine
>> _______________________________________________
>> Contiki-developers mailing list
>> Contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/contiki-developers
>>
>>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning
> reports. http://sdm.link/zohomanageengine
> _______________________________________________
> Contiki-developers mailing list
> Contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/contiki-developers
>
>


--
--
Antonio Li??n Colina
<at> : alinan-jOPeaUHB4/5Wk0Htik3J/w@public.gmane.org
------------------------------
Zolertia
Ph.: +34 931426166
http://www.zolertia.com
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine

------------------------------

_______________________________________________
Contiki-developers mailing list
Contiki-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/contiki-developers


End of Contiki-developers Digest, Vol 121, Issue 41
***************************************************



--
VISHAL RATHOD
Research Scholar,
CSE Department,
NITK, Surathkal.
Contact :- +91 9879957770 , +91 9724595809
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Antonio Linan | 20 Jun 11:23 2016
Gravatar

Guide to configure Eclipse to work on Contiki and the CC2538

Hello,

I put together a detailed guide on how to configure Eclipse to work on Contiki, including support for cross-referencing, compile, flash (over USB and JTAG) and connect to the console (in the same way make login currently does).

Although it should be straightforward to implement on Windows, this guide assumes Ubuntu-like systems. 

The link is:


Note that the last step (debugging over JTAG) is currently a work in process, I'm having difficulties on getting this right.

I recall there was an intention from TI to contribute on a similar guide, any feedback or recommendation is welcomed, especially on the debugging part!

I will release a Virtual Machine with everything configured soon.

Cheers!

--Antonio

--
--
Antonio Liñán Colina
<at> : alinan <at> zolertia.com
------------------------------
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
atena shiranzaei | 19 Jun 07:40 2016
Picon

problem to run a program


I am using contiki/cooja to implement my research. I am new in cooja simulator. I am trying to open a program. the procedure I have done is as follow

I downloaded the program from https://github.com/ecksun/Contiki-IDS/tree/attacks, after that extracted it in contiki folder
my contiki 3.0 is installed through VMware Workstation 12 Player
I run it
then open a terminal and write 
cd contiki/tools/cooja
ant run
then the cooja simulator is opened
after that file>open simulation>browse
contiki->contiki-IDs-attacks->examples->ipv6->rpl-collect->attack_clone.csc
after processing it gives Mote type creation error:Mote type creation failed: compilation error: cannot run program "make" (in directory "/home/user/contiki/contiki-IDs-attacks/examples/ipv6/rpl-collect"): error=2. No such file or directory....

I don't know there is another procedure to do before run the program

please tell me how to compile it step by step

best regards
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Picon

HTTP Socket

Hello all!


I developed an IoT platform IPv6 enabled, it is in beta version now.

The address is: ipv6.taurussystem.com ([2604:a880:800:10::ba9:c001]).


But i'm having difficulties to send data to the platform.

So ... if i made a request to (you can test it in you browser):

http://[2604:a880:800:10::ba9:c001]/AlfaWebService/webresources/GetDigitais?key=Teste1

I get the right response, i can parse it to turn on/off devices. It WORKS!

Log:

url http://[2604:a880:800:10::ba9:c001]/AlfaWebService/webresources/GetDigitais?key=Teste1 host 2604:a880:800:10::ba9:c001 port 80 path /AlfaWebService/webresources/GetDigitais?key=Teste1
Connected
16

(1001,1*1002,0*1003,0)

0
HTTP socket received 30 bytes of data


But if i made a request  to(you can test it in you browser):

http://[2604:a880:800:10::ba9:c001]/AlfaWebService/webresources/Sensor/set?key=Teste1&&sensor=2001&&value=10


I got the following log:

url http://[2604:a880:800:10::ba9:c001]:8080/AlfaWebService/webresources/Sensor/set?key=Teste1&&sensor=2001&&value=10 host 2604:a880:800:10::ba9:c001 port 8080 path /AlfaWebService/webresources/Sensor/set?key=Teste1&&sensor=2001&&value=10
Connected
HTTP socket closed, 0 bytes received


The error is related to "&", other character or the URL length?

I'm using SMARTRF Board with CC2650.


Thanks for all.


Att,
Leonardo Ribeiro Gonçalves
Tellecomunications Engineering
National Insitute of Telecommunications - INATEL

Santa Rita do Sapucaí - MG
- Brazil
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
vamsi chikati | 17 Jun 08:38 2016
Picon

RPL non storing mode

Hi,
  while running coap server on wismote in cooja with this following project configuration, ping is succeeding to the nodes but data originating from the nodes is not reaching out on to the processes on the Linux box.

#ifndef WITH_NON_STORING
    #define WITH_NON_STORING 1 /* Set this to run with non-storing mode */
#endif /* WITH_NON_STORING */

#if WITH_NON_STORING
  #undef RPL_NS_CONF_LINK_NUM
  #define RPL_NS_CONF_LINK_NUM 40 /* Number of links maintained at the root. Can be set to 0 at non-root nodes. */

  #undef UIP_CONF_MAX_ROUTES
  #define UIP_CONF_MAX_ROUTES 0 /* No need for routes */
  #undef RPL_CONF_MOP
  #define RPL_CONF_MOP RPL_MOP_NON_STORING
#endif /* RPL_CONF_WITH_NON_STORING */

#undef RPL_MRHOF_CONF_SQUARED_ETX
#define RPL_MRHOF_CONF_SQUARED_ETX 1

#undef RPL_CONF_DEFAULT_ROUTE_INFINITE_LIFETIME
#define RPL_CONF_DEFAULT_ROUTE_INFINITE_LIFETIME 1

#define RPL_CONF_DIO_INTERVAL_MIN 3
#define RPL_CONF_DIO_INTERVAL_DOUBLINGS  13
#define RPL_CONF_DIO_REDUNDANCY 254
//#define RPL_CONF_PROBING_INTERVAL (60 * CLOCK_SECOND)

#define CC2420_CONF_AUTOACK              1
#define NULLRDC_802154_AUTOACK                  1
#define NULLRDC_802154_AUTOACK_HW               1

I used same configuration for rpl-border-router too. I tried with
#define UIP_CONF_MAX_ROUTES 20
on the rpl-border-router but to no avail.

Could anybody suggest what might I be doing wrong.

WITH_NON_STORING 0, everything is working fine.

Thanks in advance,
Vamsi

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers

Gmane