Asterios Samarinas | 25 May 2013 19:35
Picon

ATmega1284p with AT86RF231 radio

Hi all,

I have bought some RAVENs and I am thinking to replace the AT86RF230 radio 
with the  AT86RF231 in order to use its AES module. I wonder if there is 
Contiki/cooja support for this combination or if I will have to change the 
platform files. 

Thank you
Asterios

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
Hubert Warchał | 25 May 2013 14:42
Picon

cc2530 modules

Hi,

I bought
a Chinese company wsn modules.
http://www.aliexpress.com/store/product/CC2530-Zigbee-Module/604119_579637698.html

I have 5 pieces. I want to test them. I thought about ZigBee but probably too difficult, I'm not a programmer. A friend told me about Contiki.
We made a compilation. It is in the file. But how to flash to the controller ?

==================
user <at> instant-contiki:~/
contiki/examples/hello-world$ make TARGET=cc2530dk hello-world
cp hello-world.hex hello-world.cc2530dk

Report
===============
Code footprint:
Area                                Addr        Size          Decimal
----------------------------------  --------    --------      --------
HOME,CSEG,CONST,XINIT,GS*           00000000    0000A629 =       42537. bytes (REL,CON,CODE)
Other memory:
   Name             Start    End      Size     Max    
   ---------------- -------- -------- -------- --------
   PAGED EXT. RAM                         0      256  
   EXTERNAL RAM     0x0000   0x0beb    3052     7936  
   ROM/EPROM/FLASH  0x0000   0xa628   42537    65536  
user <at> instant-contiki:~/contiki/examples/hello-world$

upload:

user <at> instant-contiki:~/contiki/examples/hello-world$ make hello-world.upload
using saved target 'cc2530dk'
P hello-world.hex
make: P: Command not found
make: [hello-world.upload] Error 127 (ignored)
===========================
"P:" is placeholder ?

Can you
help me with this ?


B.R.
Hubert
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Daniel Fischer | 25 May 2013 13:17
Picon

stack usage measurement/estimation

How can I measure or reliably estimate the stack usage of my system, i.e. how many bytes of stack my system is using? Is there a rule of thumb how many bytes shall be reserved for the stack? Thanks for help.

-- Daniel Fischer, B.Sc. Division Electrical Energy Systems EES Fraunhofer-Institut für Solare Energiesysteme ISE Heidenhofstrasse 2, 79110 Freiburg, Germany Phone: +49 (0) 7 61/ 45 88-58 95 Fax: +49 (0) 7 61/ 45 88-90 00 daniel.fischer-WYaizrX4fbvSyEMIgutvibNAH6kLmebB@public.gmane.org http://www.ise.fraunhofer.de
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Manar Jaradat | 25 May 2013 13:05
Picon

How to make RPL protocol use OF0

hello, I want to compare the performance of RPL protocol when using both ETX and OF0 objective functions. by default ETX is used, in order to use OF0 i set
 #define RPL_OF rpl_of0 instead of #define RPL_OF rpl_of_etx  in  "rpl-conf.h" file
and the makefile in RPL folder. is this true??? cause the simulation shows that using OF0 outperform ETX in terms of latency and PDR and also it send less number of DIO messages.

I will appreciate any help
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Alessandro Montanari | 23 May 2013 16:48
Picon

UDP example

Hello everybody,
I'm using an UDP connection to send data between a mote and standard pc.
The mote basically does the following:

#define UDP_SERVER_PORT 1055
#define UDP_CLIENT_PORT 8765
uip_ip6addr(&server_ipaddr, 0xaaaa, 0, 0, 0, 0, 0, 0, 0x1);
client_conn = udp_new(&server_ipaddr, UIP_HTONS(UDP_SERVER_PORT), NULL);
udp_bind(client_conn, UIP_HTONS(UDP_CLIENT_PORT));

On the pc I have a native border router running and I'm using python for the communication.

It turns out that, on the pc with python, if I bound a socket to the address aaaa::1 and port 1055 I can send and receive messages to/from the mote without problems.
Now the point is that I want to use two different sockets in two different threads to communicate with the mote, and of course I cannot bind them to same address and port.
How can I do that?

I tried to create the connection on the mote specifing only the address, like:

client_conn = udp_new(&server_ipaddr, NULL, NULL);

In this case I can send data from python but I'm not able to receive the answer from the mote.

Thanks

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Mohammad Abdellatif | 23 May 2013 15:18
Picon

cooja script editor "error"

hey all
i am seeing this "error" or warning more or less whenever i run a simulation with a big number of nodes with the script editor. the strange thing is that it doesnt happen in all the runs.

WDT trigger - will set interrupt flag (no reset)
Stack Trace: number of calls: 4 PC: $bf06
  cc2420_read (local in ../../../core/dev/cc2420.c) called from PC: $c048 (elapsed: 238153592)
  process_thread_cc2420_process (local in ../../../core/dev/cc2420.c) called from PC: $6766 (elapsed: 238154384)
  call_process (local in ../../../core/sys/process.c) called from PC: $6868 (elapsed: 238154420)
  process_run (../../../core/sys/process.c) called from PC: $5eae (elapsed: 238154486)

I am not sure what it means. and if it has an effect on the simulation output or not.
has anyone seen this before?
thanks,
Mohammad Abdellatif

Phd student at Faculty of Engineering University of Porto (FEUP)
Researcher at Inesc Porto, UTM, WiN 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Daniel Fischer | 23 May 2013 12:23
Picon

Questions concerning ContikiMAC and ctimer

Hey,

I have a question regarding ContikiMAC. If I understand it correctly, 
ContikiMAC uses real-time timers to schedule the wake-up, i.e. turning 
on the transceiver, but the actual reception and reading of a new 
incoming frame from the transceiver as well as transmission of frames is 
still done in ordinary Contiki processes, is this right? And if a node 
using ContikiMAC wants to transmit a frame, it first looks if it knows 
the phase of the receiving node and if it does, the packet is queued and 
a ctimer is set. Where is the packet queued and how many packets can be 
queued? Is a ctimer able to preempt other processes or does it work like 
an etimer regarding preemption? Thanks.

--

-- 
Daniel Fischer, B.Sc.
Division Electrical Energy Systems EES
Fraunhofer-Institut für Solare Energiesysteme ISE
Heidenhofstrasse 2, 79110 Freiburg, Germany
Phone: +49 (0) 7 61/ 45 88-58 95 Fax: +49 (0) 7 61/ 45 88-90 00
daniel.fischer@...
http://www.ise.fraunhofer.de

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
Yizheng Liao | 23 May 2013 07:09
Picon

Usage of Printf in Contiki

Hi, everyone:

I am trying to perform some tests on contiki OS. I used one Sky mote as a AP and four Sky motes as sensors. Each sensor sent data to the AP. On the AP, I tried to print all the received data by calling printf function. I found that after printing for a few minutes, the AP got stuck. When I reseted the AP, the system performed as normal and expected. When I reduced the number of sensors to three, it seemed to work for a hour. I did not allocate any memory during TX/RX so I do not think it is a problem of memory overflow. 

If anyone can provide some suggestions, I would really appreciate that!

Thanks everyone!

Yizheng
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
badis djamaa | 22 May 2013 17:02
Picon

Multihop forwarding of UDP packets

Hi developers...
i have a problem with multi-hop forwarding of udp messages...
I am running the  simple-udp-rpl / broadcast-example.c example...
I made the following changes: when i receive a broadcasted udp message I will broadcast it again to my neighbors but this does not work (the message will never get broadcasted again ?!)
is that has something to do with the udp connection? (note : broadcast-example.c uses a udp-broadcast connection with the the same source/remote port).
Have I missed something...?
thanks in advance
/badis



--
Badis Djamaa
PhD student
Dept of Informatics & Systems Engineering, Cranfield University
Tel: (+44)7448354143
Email: b.djamaa <at> cranfield.ac.ukbadis.djamaa-EkmVulN54Sk@public.gmane.org
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Asier Llano Palacios | 22 May 2013 15:52
Picon

Contiki net as a library

Hi,

I'm new to Contiki and it looks like a promissing project.

I need a solution for IPv6, 6lowpan and RPL, but I cannot
include anything else because I already have the rest of the system
already working for my application (that has a lot of things apart
from networking). I don't need another task system, hardware support,
timers, ...

I consider that using Contiki networking part in our system can be the
way to go, but I have the following question:

¿is there any way of using just the core/net part, providing the
rest of the infrastructure (timers, ...)? I've started but it looks
like it is looking for a lot of contiki-*.h. Maybe the way to go is
reimplement anything that is used by core/net from outside with the
same contiki API based on our system?

¿Is not there a more library oriented solution? I've seen lwip that
looks intersting but doesn't provide 6lowpan or RPL. ¿Maybe integrating
lwIP with 6lowpan and RPL from Contiki can be a good idea, to have
just a networking library?

Thank you very much in advance,
Asier

----------------------------------------- PLEASE NOTE -------------------------------------------
This message, along with any attachments, may be confidential or legally privileged.
It is intended only for the named person(s), who is/are the only authorized recipients.
If this message has reached you in error, kindly destroy it without review and notify the sender immediately.
Thank you for your help.
ZIV uses virus scanning software but excludes any liability for viruses contained in any attachment.

------------------------------------ ROGAMOS LEA ESTE TEXTO -------------------------------
Este mensaje y sus anexos pueden contener información confidencial y/o con derecho legal.
Está dirigido únicamente a la/s persona/s o entidad/es reseñadas como único destinatario autorizado.
Si este mensaje le hubiera llegado por error, por favor elimínelo sin revisarlo ni reenviarlo y
notifíquelo inmediatamente al remitente. Gracias por su colaboración.
ZIV utiliza software antivirus, pero no se hace responsable de los virus contenidos en los ficheros anexos.

Antes de imprimir este correo electrónico piense si es necesario hacerlo. El medio ambiente también es
cosa nuestra.
Please consider your environmental responsibility before printing this e-mail.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Contiki-developers mailing list
Contiki-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/contiki-developers
hfaftab Hasan | 22 May 2013 15:25

calculating SNR for a cc2420 chip

Hi all,

can anyone point me out how i can calculate signal-to-noise ratio for the cc2420 chip in contiki.

Best,
h.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers

Gmane