Re: [Tinyos-help] Using RAW Uart (Xavier Ram?n L?pez)

2011-03-11 Thread Antonio Liñan

Hi Xavier,

At the moment you can find the Z1 UART settings at 
tos/platform/msp430X/usci/msp430usci.h

typedef struct {
  unsigned int ucsync : 1;   // Synchronous mode enable (0=Asynchronous; 
1:Synchronous)
  unsigned int ucmode : 2;   // USCI Mode (00=UART Mode; 01=Idle-Line; 
10=Addres-Bit; 11=UART Mode, auto baud rate detection)
  unsigned int ucspb  : 1;// Stop bit select. Number of stop bits (0=One 
stop bit; 1=Two stop bits)
  unsigned int uc7bit : 1;   // Charactaer lenght, (0=8-bit data; 1=7-bit data)
  unsigned int ucmsb  : 1;// endian.  Direction of the rx and tx shift 
(0=LSB first, 1=MSB first)
  unsigned int ucpar  : 1;// Parity Select (0=odd parity; 1=Even parity)
  unsigned int ucpen  : 1;// Parity enable (0=Parity disable; 1=Parity 
enabled)
} __attribute__ ((packed)) msp430_uctl0_t ;

We are currently planning a major review of the code to bring it up-to-date 
(sorry for the inconvenience), but for now you can browse through this files to 
get what you're looking for.  You can get an stable version of the Z1 code at 
our wiki page: zolertia.sourceforge.net.  

Best regards,

Antonio,

Antonio Liñán Colina
R+D Engineer
@: ali...@advancare.com
@: ali...@zolertia.com
---
Advancare 
T: +34 93 582 02 70 
http://www.advancare.com
http://www.zolertia.com

 PC and a Z1 mote. I must read from UART0 of z1 wich is connected to USB
 port.
 I'm testing different apps and I try to program my own app, but I am not
 able to write from PC to UART.
 I think I need the UartStream and the UartByte. That's ok, now I need the
 serial parameters (baud rate, stop bit, etc) but I don't understand where
 can I found it. I think a good option could be Msp430UartConfigure
 interface but when I try to compile it, the same error is always returned:
 unknown field `ssel' specified in initializer (and others)
 I have found other apps wich implements UART read and write, but I have
 this error when I compile it.
 This apps are:
 http://code.google.com/p/hijack-main/source/browse/trunk/msp430/apps/HiJackUARTPassThrough/?r=18
 http://www.keally.org/2010/03/30/low-level-serial-control-in-tinyos/
 
 Can anyone helps me please?
 Thank you
 

  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] IEEE 802.15.4 with GTS (TKN15.4)

2011-01-14 Thread Antonio Liñan


Thanks and congratz! I hope to try it soon.

Best regards,

/AntonioL


 Dear all,
 
 We are glad to inform that our GTS implementation for the TKN15.4 has been
 released and you can find it on the TinyOS Contribution.
 
 *Documentation*:
 http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/kth/tkn154-gts/doc/pdf/GTS_implementation.pdf
 *Code*:
 http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/kth/tkn154-gts/
 
 Best regards,
 
 -- 
 Aitor Hernandez
 KTH | Automatic Control
 Research engineer
 Stockholm

  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Asking you about implement of RPL, i did not see it

2011-01-07 Thread Antonio Liñan


 I heard Mr.Stephen told that RPL is implemented in tinyos in folder
 blip/rpl.
 But I find it in cvs source of tinyos in google group and sourceforge , but
 I did not see it.
 Could you let me know where can I find it?

http://code.google.com/p/tinyos-main/source/browse/#svn%2Ftrunk%2Ftos%2Flib%2Fnet%2Frpl

Have not tested myself how it works, but I suppose this are the files.
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Pointers to minimize the network traffic (using Blip and LPL)

2010-10-26 Thread Antonio Liñan

Hello everyone,

I'm using wireshark to capture packets in the tun0 interface (the one
created using the blip ip-driver), basically I have one mote that serves
as a BS running the IPBaseStation application, and the other end sends
data packets every 30 mins, both with the same LPL configuration:

CFLAGS += -DLOW_POWER_LISTENING -DLPL_SLEEP_INTERVAL=1024
CFLAGS +=-DBLIP_L2_RETRIES=2 -DBLIP_L2_DELAY=2048

With the LPL_SLEEP_INTERVAL set to 0 when sending messages from the
Sender to the BS (always on).

I noticed that the volume of traffic generated by the routing layer
almost triples my data traffic, which may be the reason why the Sender
mote batteries runs out so quickly.

Analizing the captured packets I noticed what I think is a beacon (a
IPv6 header of type 0x3b - No next header) that is sended periodically
by the Sender mote (I think after every router advertisement message
received in the Sender mote, but I'm not sure)... Where can I modify the
network parameters so I can minimize the network actualizations and
generated traffic?  I've been looking the IPDispatch and ICMPResponder
files, but I'm not quite sure if I should mess around with those.

I would appreciate any pointers in the right direction, thanks.

Antonio,
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Online Purchasing of wireless sensor motes

2010-10-10 Thread Antonio Liñan

 If you consider TelosB motes, you might also want to look at the 
 Zolteria Z1 (I have no experience with this mote, but it looks extremely 
 nice on the web page):


You can also visit Z1 wiki page at 
http://zolertia.sourceforge.net/wiki/index.php/Main_Page, Z1 mote has backward 
compability with the TelosB / TmoteSky motes and also provides lot of 
documentation and ready-to-use examples using TinyOS.

 

Good luck deciding,

 

Antonio.
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help