[Tinyos-help] telosb serial comm + clock synchronization

2006-09-30 Thread rgunasek
Hi, I am working on interfacing an external ADC to the Telosb, the ADC( using ADS1211 from TI) has a serial data input, serial data output and a serial clock input. Thought about interfacing to the UART pins on the 10 pin external connector. Is interfacing the ADC to the external UART going t

Re: [Tinyos-help] nesC language problem?

2006-09-30 Thread Michael Schippling
You need to get deeply with the Kernigan and Ritchie 'C' Programming Manual. If you are not familaiar with C you are basically Stuff Out of Luck with TOS. In general: type* name;// declares a pointer to a variable of type. type _name;// another variable, the '_' may make it

Re: [Tinyos-help] receiving the TOS_Msg

2006-09-30 Thread Michael Schippling
Look at an existing example, e.g., Oscilloscope. Basically you want to create a method like you have: event TOS_MsgPtr ReceiveMsg.receive(TOS_MsgPtr m) and in the config file you connect it up to the message type that you have created for it: components GenericComm as Comm (...) Your

Re: [Tinyos-help] byte level communication in mica2

2006-09-30 Thread Michael Schippling
Look at the UARTM component. For the radio there is an equivalent lowlevel interface, but it's probably a Bad Idea(TM) to try to use it... MS sankar s wrote: How to communicate the mica2 motes in bytelevel without TOS message.

[Tinyos-help] nesC language problem?

2006-09-30 Thread Wu Nick
Deal, all I am not very familiar with the nesC and C language. So I got some problem with the source code. For example, in the PingPong application which under the apps file. I know about how the PingPong app works, so I can guess what the meaning for each event and command. But some parts of t

Re: [Tinyos-help] Make micaz not working.

2006-09-30 Thread Philip Levis
On Sep 24, 2006, at 4:01 AM, vijayashree acharya wrote: Hello, I have installed TinyOS 2.0 on windows xp professional. Have not installed graphicsviz as I am facing problem installing the same. Is VC++ required for it ? I typed the command 'make micaz' from [EMAIL PROTECTED] /opt/tinyos-2

Re: [Tinyos-help] SMAC where to download from ?

2006-09-30 Thread Joe Polastre
You can implement just about any MAC protocol on Tmote Sky. On 9/27/06, bhushan bhatt <[EMAIL PROTECTED]> wrote: Hi all, I want to download SMAC. Can anyone tell me where can i get the files for it ??? Also someone told me that SMAC cannot be implemented on Tmote Sky. Is this true ? because

Re: [Tinyos-help] FTSP on Tmotes

2006-09-30 Thread Joe Polastre
Boomerang keeps a shallow queue of timestamps to avoid exactly this problem. -Joe On 9/28/06, Brano Kusy <[EMAIL PROTECTED]> wrote: guys, cory is right - the problem is not related to reading TimerB. there is one more problem with our timesync (both telos/micaz) that relates to a timestamping

RE: [Tinyos-help] taking ascii value instead the literal value....

2006-09-30 Thread Bryn Smith
If you're only converting one digit, all you have to do is use xyz->data[n] - '0' This will remove the ascii offset of the numbers. On the other hand, if you're dealing with multiple digits, you might be interested in the standard C "atoi()" function. It will convert an array of characters to th

[Tinyos-help] taking ascii value instead the literal value....

2006-09-30 Thread primalfear 69
hello everybody   I am using mica2 with Tinyos1.1.0 under windows XP.   my application needs to transmit a stack of data. i am using the TOS_Msg structure in that the payload data has our stack in it. (our structure includes the many fields like function etc and then comes byte count.(numbe