Ron Segal | 28 Feb 00:47 2015

Re: cc2630

Might also be worth mentioning the TI sub-GHz CC1310, which looks to be similar to the CC2630 apart from the radio (currently checking with TI if the radio is the only difference, also whether the radio supports wake on radio).
There appears to be a general growing interest in sub-GHz IoT for long range applications, for which the CC1310 with Contiki could provide a very attractive solution.
Perhaps a CC1310 Contiki port could borrow from (unofficial) sub-GHz CC1120 Contiki drivers that are around. 

Best wishes, Ron

On 28/02/2015 11:32 a.m., contiki-developers-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote:
Re: [Contiki-developers] cc2630


--
suretronic_labs_sig.h
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
David Lamkin | 27 Feb 19:16 2015

uip.c/uip6.c packet length check issue

In core/net/ipv4/uip.c (around line 849) I believe that the check below 
is incorrect

----------------------------------------------------------------
   /* Check the size of the packet. If the size reported to us in
      uip_len is smaller the size reported in the IP header, we assume
      that the packet has been corrupted in transit. If the size of
      uip_len is larger than the size reported in the IP packet header,
      the packet has been padded and we set uip_len to the correct
      value. */

   if((BUF->len[0] << 8) + BUF->len[1] <= uip_len) {
     uip_len = (BUF->len[0] << 8) + BUF->len[1];
#if NETSTACK_CONF_WITH_IPV6
     uip_len += 40; /* The length reported in the IPv6 header is the
		      length of the payload that follows the
		      header. However, uIP uses the uip_len variable
		      for holding the size of the entire packet,
		      including the IP header. For IPv4 this is not a
		      problem as the length field in the IPv4 header
		      contains the length of the entire packet. But
		      for IPv6 we need to add the size of the IPv6
		      header (40 bytes). */
#endif /* NETSTACK_CONF_WITH_IPV6 */
   } else {
     UIP_LOG("ip: packet shorter than reported in IP header.");
     goto drop;
   }
-------------------------------------------------------------

At this point the buffer holds a full ethernet frame: we are only 
interested in the IP frame within it, so I believe that uip_len needs to 
be adjusted like this before the check:

    uip_len -= sizeof(struct uip_eth_hdr);

a similar issue occurs in uip6.c

regards, David Lamkin

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
fabio kzovisk | 26 Feb 23:06 2015
Picon

change COOJA RPL metric

Hi guys,

How can I change the default mrfof to rpl-of0 in COOJA simulations?

thanks,


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Alexander Roscoe | 26 Feb 15:53 2015
Picon

cc2630

I recently saw some cpu files of the cc2630 added and Tis announcement of the new chip.  I was wondering what the performance is like on the new chip?

--
Alexander Roscoe
484-716-9048
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Paul Rouschal | 26 Feb 13:21 2015

Rime stunicast Retransmission Time Hardcoded

Hi,

I just stumbled over a peculiarity in the stunicast module. It was 
mentioned already on this list, but received no answer:
In the stunicast module, the retransmission time is hardcoded as one 
second after the first retransmission.

I am talking about line 118 in stunicast.c.

This does not match the documentation, and also the expectation of a 
user who gives a retransmit time to stunicast_send_stubborn.

AFAIR this could be improved by replacing the line with 
"ctimer_reset(&c->t);"
ctimer reset will again set the timer to the previously set interval.

Best Regards,
Paul

diff --git a/core/net/rime/stunicast.c b/core/net/rime/stunicast.c
index 75b406e..4b96e77 100644
--- a/core/net/rime/stunicast.c
+++ b/core/net/rime/stunicast.c
 <at>  <at>  -115,7 +115,7  <at>  <at>  send(void *ptr)
          if(c->buf) {
         queuebuf_to_packetbuf(c->buf);
         unicast_send(&c->c, &c->receiver);
-       stunicast_set_timer(c, CLOCK_SECOND);
+       ctimer_reset(&c->t);
    }
    /*  if(c->u->sent != NULL) {
      c->u->sent(c);

-- 
*Paul Rouschal*
Software Developer

*smaXtec animal care sales GmbH*
Wastiangasse 4 | A-8010 Graz | AUSTRIA

phone +43 316 46 15 88 - 23
paul.rouschal@... <mailto:paul.rouschal@...>
www.smaXtec-animalcare.com <http://www.smaXtec-animalcare.com>
Sitz und Firmenbuchgericht Graz | FN 326827 d

smaXtec - Smart Monitoring and Feedback
Visit our website: smaXtec animal care <http://www.smaXtec-animalcare.com>
Become a Facebook <https://www.facebook.com/smaXtec> fan and Twitter 
<https://twitter.com/smaXtec> follower.
Watch us on YouTube <http://www.youtube.com/user/smaXtecAnimalCare>.

This email and any attachment are confidential. If you are not the 
intended recipient, you must not copy, disclose or use its contents. If 
you have received it in error, please inform us immediately by return 
email and delete the document. The sender does not accept liability for 
any errors or omissions as a result of that transmission.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Medjek Djedjig | 26 Feb 12:11 2015
Picon

Including jni.h in udp-sender.c

Hi all,

I'm Faiza a Phd student. it was not long ago that I started working with contiki (cooja). In the udp-sender.c file, I would invoke Java methods. For this, I added #include <jni.h> but I got the following error:

    fatal error: jni.h: No such file or directory

I changed <jni.h> with the full path "/usr/lib/jvm/java-7-openjdk-i386/include/jni.h". I got the following error:

    udp-sende.co : In function 'create_vm'
    udp-sender.c (.text.create_vm+0x26) : undefined reference to 'JNI_CreateJavaVM'
    collect2 : error: Id returned 1 exit status

I copied jni.h into /usr/local/msg430/msg430/include and made #include <jni.h>. still the same error. To specify the path of the library libjvm.so, I added the following lines in the  Makefile, and still the same error:

LDFLAGS= -L/usr/local/msp430/msp430/include/ -I/usr/local/msp430/msp430/include/ -L/usr/lib/jvm/java-7-openjdk-i386/jre/lib/i386/server/

TARGET_LIBFILES += -Ijvm

I also added the library path in LINK_COMMAND_1 and LINK_COMMAND_2 in Settings/External tools path ...
Unfortunately it still does not work and the error still occurs. I begin to despair and I must make it work.


Please can any one help me to solve this issue.

Thanks and Best Regards,

Faiza Medjek



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Yasra Chandio | 26 Feb 08:41 2015
Picon

COOJA component architecture for energy model plugin

Dear all,

I need to find few things in cooja , to plugin the energy model,other than power-trace tool.Please hep me with: 

1) component diagram or detailed architecture report of cooja  .
2) identify the class/package where mote properties and energy attributes can be  access.

Any help is appreciated .





------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
İsmail Can Erişkin | 26 Feb 08:47 2015
Picon

broadcast.c

hi all,

in broadcast.c , in the callback function recv_from_abc, inside the 
command if(c->u->recv), when a packet is received, is the value of the 
function recv non-zero.

Also in the same file, when a packet is sent, in the callback function 
sent_by_abc, why is the receiver address is assigned to 
PACKETBUF_ADDR_SENDER not PACKETBUF_ADDR_RECEIVER

Regards,

--

-- 
İsmail Can Erişkin
MS in electronics engineering
Işık University
LMF-421
Tel: 02167121460 Dahili: 7019

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Contiki-developers mailing list
Contiki-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Devesh Parmar | 25 Feb 19:19 2015
Picon

Get started with OTA in cc2538

Hello Guys,
                  I am running er-example-server on a cc2538 mote and a border-router , now if i want to update my er-example-server code Over the air then what all steps should i follow.
Thanks
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
pavan pongle | 25 Feb 16:11 2015
Picon

About RPL DODAG formation

Hi all
I am very new to RPL and COOJA

I want to simulate RPL DODAG same in this video http://youtu.be/RMEgKKSeG4w
 It seems that RPL collect code is used, I tried but not able to get same formation of tree with mote relation (parent selection arrows).

Any other way (code) to do the same.

I scrawl the net for good tutorial of programming in Contiki, but most links are not available or tutorial given for only how to run existing code. Please can you provide some useful stuff for beginners
 


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
karim fathallah | 25 Feb 10:43 2015
Picon

rpl root function

hello
what séquence of functions is called to set a node as a dodag root?
what function is called by the root node  to send the first dio message?

thanks a lot

--
Professeur Tronc Commun
Instit
ut Préparatoire Aux Études D’ingénieurs De Bizerte
Université De Carthage - Tunisie
Membre Fondateur à UBUNTU-TN
Membre De l'Unité De Recherche OASIS

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers

Gmane