Bello Kontagora | 25 Oct 21:08 2014
Picon

contiki-xm1000

Good day to everyone, please can anyone help me in this? I am working with xm1000 mote from advanticsys, so,
I successfully compiled and uploaded sky-websense to the xm1000 using ubuntu 14.04 LTS with contiki 2.7, also,
I successfully compilled and uploaded rpl-border-router to another xm1000. But when I tried to run tunslip by using the command 'make connect-router', it continously show this address non stop "*** Address:aaaa::1=>aaaa:0000:0000:0000"
*** Address:aaaa::1=>aaaa:0000:0000:0000
*** Address:aaaa::1=>aaaa:0000:0000:0000
*** Address:aaaa::1=>aaaa:0000:0000:0000
*** Address:aaaa::1=>aaaa:0000:0000:0000
*** Address:aaaa::1=>aaaa:0000:0000:0000
*** Address:aaaa::1=>aaaa:0000:0000:0000
please help me out. thank you in anticipation of your responsses.
Bello
------------------------------------------------------------------------------
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
john white | 24 Oct 21:55 2014
Picon

remaining energy consumption

Hello List
is it possible to compute nodes remaining energy during the simulation and how (esp rpl-udp example)?
any help would be appreciated
regards
------------------------------------------------------------------------------
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Graeme Bragg | 24 Oct 12:40 2014
Picon

Re: "Time of receive packet?" <Time of receive packet?>;

Hi,

No receive time is mention in 31096 format. will you explain it? what format it is?

Rtimer does not give the actual time - have a look at the Contiki docs for details of the Rtimer but to give a summary, it counts "ticks' at a rate specific to your platform.  Your platform should have a define for how many rtimer increments are equal to a second so you can work out a relatively precise time from t hat.  Rtimer is NOT synchronised between nodes.

Thanks,
Graeme

Sent from my iPad
<!-- p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph { margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; } p.MsoNormal, li.MsoNormal, div.MsoNormal { margin:0in; margin-bottom:.0001pt; } p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast { margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; line-height:115%; } -->
------------------------------------------------------------------------------
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
alilodhi002 | 24 Oct 11:16 2014
Picon

How to increase rate of sending packet??

Hello list,

I am working in udp-client.c. I want a simulation in which client node start sending packet after 50 seconds. After 50 seconds node start sending packets with 1 packet/s. I try a lot through SEND_INTERVAL. But I cant. Please help me. THANKS 

Sent from Windows Mail

------------------------------------------------------------------------------
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
alilodhi002 | 24 Oct 08:13 2014
Picon

SEND_INTERVAL?

Hello list,

I am working in udp-client.c. I want a simulation in which client node start sending packet after 50 seconds. After 50 seconds node start sending packets with 1 packet/s. I try a lot through SEND_INTERVAL. But I cant. Please help me. THANKS 

Sent from Windows Mail

------------------------------------------------------------------------------
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Graeme Bragg | 24 Oct 00:40 2014
Picon

Re: Need a help with loading 1st application to SKY mote- please help

Hi Sam,

Could someone please advice me how to load example "hello-world" to TARGET sky?

An error occoured:
could not open port: [Errno 13] Permission denied: '/dev/ttyUSB0'

The answer is in the error message... You don't have permission to use the serial port.  Add user to the "dialout" group and then log out/back in. 

Alternatively, you can do a "make hello-world.ihex" followed by a "sudo make hello-world.upload".  Don't be tempted to do the full build as Sudo on Instant Contiki though as msp430-gcc is not on the privileged path.



Also, please can I ask you to show some netiquette? E.g. don't:
> Ask something that has been asked and answered many times before, especially when it is a general Linux problem and not something directly to do with Contiki.  A simple search for the error would have told you how to solve this issue.  
> hijack other people's posts.
> send multiple copies of the same message to the list over a short time.
> send blank-subject messages (especially when they are repeats)

Thanks,
Graeme

Sent from my iPad

On 23 Oct 2014, at 20:21, samira madapatha <samira822825-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:

<!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 12pt; font-family:Calibri } -->

Hi,
 
Could someone please advice me how to load example "hello-world" to TARGET sky?
I was following the instructions and got this error.
and also when I tried to change nodeid also I am getting an error.
Please advice.

Hello-work Example:

user <at> instant-contiki:~/contiki-2.7/examples$ cd hello-world
user <at> instant-contiki:~/contiki-2.7/examples/hello-world$ make hello-world.upload TARGET=skymsp430-objcopy hello-world.sky -O ihex hello-world.ihex
make IHEXFILE=hello-world.ihex sky-reset sky-upload
make[1]: Entering directory `/home/user/contiki-2.7/examples/hello-world'
make -k -j 20 sky-reset-sequence
make[2]: Entering directory `/home/user/contiki-2.7/examples/hello-world'
../../tools/sky/msp430-bsl-linux --telosb -c /dev/ttyUSB0 -r
MSP430 Bootstrap Loader Version: 1.39-telos-7
Use -h for help
An error occoured:
could not open port: [Errno 13] Permission denied: '/dev/ttyUSB0'
make[2]: *** [sky-r._dev_ttyUSB0] Error 1
make[2]: Target `sky-reset-sequence' not remade because of errors.
make[2]: Leaving directory `/home/user/contiki-2.7/examples/hello-world'
make[1]: *** [sky-reset] Error 2
make[1]: Leaving directory `/home/user/contiki-2.7/examples/hello-world'
make: *** [hello-world.upload] Error 2
rm hello-world.ihex
 
 
Nodeid change:
 
user <at> instant-contiki:~/contiki-2.7/examples/hello-world$ make burn-nodeid.upload TARGET=sky nodeid=2
msp430-objcopy burn-nodeid.sky -O ihex burn-nodeid.ihex
make IHEXFILE=burn-nodeid.ihex sky-reset sky-upload
make[1]: Entering directory `/home/user/contiki-2.7/examples/hello-world'
make -k -j 20 sky-reset-sequence
make[2]: Entering directory `/home/user/contiki-2.7/examples/hello-world'
../../tools/sky/msp430-bsl-linux --telosb -c /dev/ttyUSB0 -r
MSP430 Bootstrap Loader Version: 1.39-telos-7
Use -h for help
An error occoured:
could not open port: [Errno 13] Permission denied: '/dev/ttyUSB0'
make[2]: *** [sky-r._dev_ttyUSB0] Error 1
make[2]: Target `sky-reset-sequence' not remade because of errors.
make[2]: Leaving directory `/home/user/contiki-2.7/examples/hello-world'
make[1]: *** [sky-reset] Error 2
make[1]: Leaving directory `/home/user/contiki-2.7/examples/hello-world'
make: *** [burn-nodeid.upload] Error 2
rm burn-nodeid.ihex

 
Best Regards,
Sam
 

 
------------------------------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Luís Marques | 23 Oct 17:26 2014
Picon

Re: Rime dependencies, clocks...

Any ideia regarding this part?
 
I'm experimenting with some things that are very sensitive to timings. Is there a clock which has both good resolution and infrequent wrapping? I'm only seeing clocks either based on 16-bit integers or with second resolution. 

Thank you,
Luís 
------------------------------------------------------------------------------
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
alilodhi002 | 23 Oct 15:22 2014
Picon

Percentage of receive and forward packet??

Hi,
I want to compute  percentage of receive and forward packet? So this code I write.

float total = forward/receive*100;
printf("total %f\n",total);

But when simulation run I received output of this code is "%f". Is anybody know about this?? Thanks in advance.  

Sent from Windows Mail

------------------------------------------------------------------------------
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
alilodhi002 | 22 Oct 15:48 2014
Picon

"Time of receive packet?" <Time of receive packet?>;

Hy,
I want to compute delay during simulation. Is this any way to get time of the received packets?? Thanks


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Graeme Bragg | 22 Oct 13:15 2014
Picon

Re: ContikiMAC on avr-Atmega128rfa1 platform

Hi,

When I add NETSTACK_MAC.off(1); before the while loop I got larger range of communication.

That leaves the radio turned on all the time and does not do the duty cycling that ContikiMac relies on to save energy.  It also means that it does not do the regular channel clear assessments so my guess is that the issue lies with them.  

The channel clear assessments are used to determine whether the radio should be left on for longer to receive a packet.  If you are getting a really short range, it implies that the Channel Clear function in your driver is returning "clear" when the channel is not.  This is most likely due to whatever channel clear method that is used having either the wrong threshold set or just returning "clear" all the time (you will need to check).

To change the threshold or implement proper CCA indication, you will need to look at the radio driver code and your radio's data sheet/user manual. As to what the threshold should be set to, you will need to work out the noise level in your area - a threshold set too low will result in noise keeping the radio on for longer than it needs to be whereas a threshold set too high will reduce range.

Other questions to ask yourself are:
> Was this radio driver designed for ContikiMac? If not. What do you need to change to make it work?
> Have You set the correct timing settings for ContikiMac in the contiki-conf.h file for the platform that you are using?


I would suggest that you read the ContikiMac paper and look at the ContikiMac code to familiarise yourself with how it works, along with your radio driver's code and data sheet, as a little knowledge will help you narrow down your problem.

Thanks,
Graeme

Sent from my iPad

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Khaled Qorany | 22 Oct 12:40 2014
Picon

ContikiMAC on avr-Atmega128rfa1 platform

Hi Developers,

I have tried run the udp-ipv6 example using ContikiMAC on avr-atmega128rfa1 platform. I suffer from short range communication almost about 2 meters without any obstacles in between. (My MAC folder attached)

When I add NETSTACK_MAC.off(1); before the while loop I got larger range of communication.

Also, I tried the fork of osd-contiki [1] that claimed that they solved this problem with the same platform, but with the same behavior.

If anyone exceeded this problem. Please help me.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers

Gmane