Prashant A | 24 Apr 20:30 2014
Picon

Coap server

Hello developers,
I would like to learn about the resources in coap er-example-server.c example. 
Is Get/put an event ? 
For example how does the toggle resource work. Which statements cause the usage of radio for the pinging of motes?

Thanks,
Prashant 
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Karl P | 24 Apr 15:03 2014
Picon

Re: connecting DHT21 / AM2301 on TelosB nodes

It's not actually i2c though, you need to bitbang it, so whatever code is stolen 
will be bitbang code already :)

On 04/23/2014 08:05 AM, Yizheng Liao wrote:
> Be aware that you may have pin conflict on Sky mote. I think it is a hardware
> design issue. You may not use the designed pins for I2C.
>
> /yizheng
>
>
> On Thu, Apr 10, 2014 at 8:12 AM, Moritz Struebe
> <Moritz.Struebe@...
> <mailto:Moritz.Struebe@...>> wrote:
>
>     Shouldn't be too difficult as you can probably "steal" code from ethersex.
>
>     Morty
>
>
>     On 2014-04-10 16:34, Antonis Tzounis wrote:
>>     Hello,
>>     I've never used Contiki before, so don't shoot me :D
>>     I am trying to connect a third-party I2C, external sensor - AM2301 (aka
>>     DHT21) on my TelosB nodes. How difficult is this using Contiki? Is there
>>     anyone who has implemented a similar thing?
>>     This sensor is a digital temperature/humidity sensor (specs:
>>     _http://meteobox.tk/files/AM2301.pdf _) which sends both temperature and
>>     humidity readings through a single-wire data cable.
>>     Any suggestions?
>>     Thank you in advance.
>>
>
>     --
>     Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter)
>     Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme)
>     Friedrich-Alexander-Universität Erlangen-Nürnberg
>     Martensstr. 1
>     91058 Erlangen
>
>     Tel   :+49 9131 85-25419  <tel:%2B49%209131%2085-25419>
>     Fax   :+49 9131 85-28732  <tel:%2B49%209131%2085-28732>
>     eMail :struebe@...  <mailto:struebe <at> informatik.uni-erlangen.de>
>     WWW   :http://www4.informatik.uni-erlangen.de/~morty
>
>
>
>     ------------------------------------------------------------------------------
>     Put Bad Developers to Shame
>     Dominate Development with Jenkins Continuous Integration
>     Continuously Automate Build, Test & Deployment
>     Start a new project now. Try Jenkins in the cloud.
>     http://p.sf.net/sfu/13600_Cloudbees
>     _______________________________________________
>     Contiki-developers mailing list
>     Contiki-developers@...
>     <mailto:Contiki-developers@...>
>     https://lists.sourceforge.net/lists/listinfo/contiki-developers
>
>
>
>
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
>
>
>
> _______________________________________________
> Contiki-developers mailing list
> Contiki-developers@...
> https://lists.sourceforge.net/lists/listinfo/contiki-developers
>

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
John Cast | 24 Apr 11:01 2014
Picon

Installing and Using Two Different msp430 gcc Versions

I am currently using msp430-gcc 4.5.3. I'd like to be able to also use version 4.6.3 and still have Cooja working properly.
I've noticed various sources such as: http://wiki.contiki-os.org/doku.php?id=msp430x andhttp://forums.debian.net/viewtopic.php?f=30&t=55314.
Should I follow any of these pages and if so which one and to what extent?
If not what is the best way to accomplish my goal?

Thanks,

John

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Gerry Nadler | 23 Apr 21:05 2014
Picon

https://lists.sourceforge.net/lists/listinfo/contiki-developers

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Indtiny S | 23 Apr 16:49 2014
Picon

DTLS support in contiki

Hi,
Is there DTLS support in contiki ?
I came to know that it has CoAP .. but I did nt get information about whether it has CoAPs i.e DTLS support .
If it is there pls do let me know how to use the same ..

Rgds
Indra

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Dominic Ast | 23 Apr 12:15 2014
Picon
Picon

Transmission Phase-Lock of ContikiMAC

Dear all
 
I really do not understand the advantage of the transmission phase-lock machanism of the contiki mac. As I see in the document of Adam Dunkels: http://soda.swedish-ict.se/5128/1/contikimac-report.pdf and here: https://github.com/contiki-os/contiki/wiki/Radio-duty-cycling the minimal transmission time for a frame t_s must be bigger then the interval between each CCA t_c + 2 * the time for a valid CCA indication t_r:
 
t_s > t_c + 2 * t_r
 
This means that the duration of a frame must - by definition - be bigger then the time between the periodic channel check of the receiver. And if this is the case the receiver will anyway notice the incoming frame after one try and the sender must anyway send the package dureing the entire poll periode and even once again. So which advantiage gives phase locking in this situation?
 
For example:
 
If I chose t_c as 20ms and t_r as 192us, my minimal package duration is 20.284ms. If I send this package at any, the receiver will recognice it after one try. Then I have to send the package again for the receiver to receive the entire package. The same statement holds if I send the first package just before the receiver wakes up. I can't the the gain in this situation.
 
I see the advantage of phase-locking for example in WiseMAC where they send a Preamble which is maximal t_c long (instead of minimal t_c + 2 * t_r!! ) and which can be cutted if the phase if the receiver's phase is known but I don't see the advantage in contikiMAC.
 
Thank you for any advice, I really want to understand how contikiMac works.
 
Best regards, Dominic
 
 
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
DEVESH PARMAR | 23 Apr 09:07 2014
Picon

Regarding Copper plugin

Hello Guys,
                   I am trying to connect with rest-server using copper plugin, but it gives error "server" not responding. I am running rest-server within cooja and able to ping it from linux machine but not abel to connect through copper.
I also tried coap-client-server simulation but not able to connect.

Thanks,
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
P Gupta | 22 Apr 16:51 2014
Picon

Malformed packet...

Hello Sir,

I am able to send packets from the XBee radio driver in Contiki, but the wireshark (laptop interfaced with RZUSB) says that it's a malformed packet. The MAC I have configured is shown in the boot up prints in minicom of ATmega2560: Am runnig ipv6/simple-udp-rpl/ example.

unicast-sender                                                                 
IPv6 addresses: bbbb::213:a200:40a1:af1e                                       
fe80::213:a200:40a1:af1e                                                       
Booting Contiki                                                                
System is online

The wireshark capture is attached with the mail. Where am I going wrong ?

Regards,

P Gupta                                                     

Attachment (wrsrkcap.pcapng): application/octet-stream, 1904 bytes
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Jose Antonio Carrasco | 22 Apr 12:48 2014
Picon

REST client example

Hi,

i have a coap server running in a gateway node. I have connectivity with devices, but there are not declared rest services on the client. I have been looking into the er-rest-example, but it is not very clear to me because, what would be the minimum to get a REST client working? I thought it would be the following:

  coap_receiver_init();

#if PLATFORM_HAS_BUTTON
  SENSORS_ACTIVATE(button_sensor);
  printf("Press a button to request %s\n", service_urls[uri_switch]);
#endif


but it does not work as supposed. Does anybody knows what is my mistake? Or what would be the simpliest code to declare a rest in a client?

Thank you and regards.
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
Mariem zayéne | 22 Apr 12:07 2014
Picon

rime/example-trickle.c

Hi all,

I simulated 5 nodes executing the trickle algorithm in the Rime stack using

 example-trickle.c existing in examples/rime, but I had no feedbacks from any node,

its last output :   Starting 'Trickle example'  and it stops displaying messages.

Is there an other application must be executed with example-trickle for
enabling it ?


Thanks in advance,

Mariem
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers
chrif assia | 22 Apr 11:13 2014
Picon

Example of a Contiki program for WSN

Hello,

I am working on developping algorithms for data gathering in a WSN for the first time. I want to test the fonctionality of my platform that contains some sensor nodes (WSN430) before the implementation of my solution. I wonder if you have an example of that type of algorithms that can help me test my platform and understand the structure of a Contiki program which allows me to discover the neighbors of one node.

Assia CHERIF
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Contiki-developers mailing list
Contiki-developers@...
https://lists.sourceforge.net/lists/listinfo/contiki-developers

Gmane