[Tinyos-help] regarding uartcommunication with my hardware....

2006-11-23 Thread primalfear 69
hello...everybody, I have a hardware developed with the help of PIC microcontroller. I have interfaced it with an LCD. it communicates with the mote via uart. i have used UART0 of the MICA2. i have checked the connections ie transmit and receive and both are fine have given

[Tinyos-help] DATA_LENGTH is eating my brain....................

2006-10-26 Thread primalfear 69
Hello everybody by default TOSH_DATA_LENGTH is 29.. i want to increase by some more say 50. am not able to get where i have to change i have made the following changes. FILE NAME PATH 1) AM.h tinyos\cygwin\opt\tinyos-1.x\tos\types after changing the length to say

[Tinyos-help] not getting the entire packet of data

2006-10-24 Thread primalfear 69
helloeverybody, i changed the TOSH_DATA_LENGTH in the Am.h file from 29 to 55 (first i changed to 39 instead of 55, then i am not even able to receive the packets via the radio..but with 55packets r being received and transmitted.why is it so ?) Now the other

[Tinyos-help] can i get where excatly i have to change the baud rate from its default rate

2006-10-18 Thread primalfear 69
hello everybody... i am working on tinyos 1.x with mica2 using MIB510 programmer i was programming and using my motes(mica2) to transmit to uart. it is being done at the default rate. with double baud speed. At presentthe baud rate to be 57600. now i want to reduce it to 19200. i

[Tinyos-help] how to avoid the junk data .............

2006-10-14 Thread primalfear 69
hello everybody, i am tring to send some data packets via the uart through the mica mote to few other motes using the routing algorithm and back to the uarteverything is working fine. .but the problem is by default the TOS_DATA_LENGTH is 29, so when i am tring to send a packet of

[Tinyos-help] want to use multiple timer modules........... how....:)

2006-10-12 Thread primalfear 69
hello everybody.. my application requires two seperate timer modules to be used. the basic idea is only one should be alive at a given time interval... and corresponding event has to be performed. how can i do that in nesC... as of now its all Timer.start and

[Tinyos-help] is TOSBASE code only for two motes....................??

2006-10-03 Thread primalfear 69
helloeverybody, when i am using only 2 motes with the TOSBASE code, it is working fine between these two motes upto the queue size.. i tested the same with 4 motes...the first mote gets the data via the uart using the get event and sends to the mote2 via the radio...the

[Tinyos-help] regarding the queue size......

2006-10-02 Thread primalfear 69
hello guys i have got the solution for my previous question posted... (it was regarding not able to send multiple packets via UART to radio). the reason is with the Queue size. when i increase the queue size i can send message as many as the literalvalue of queuesize. (its basically the array

[Tinyos-help] able to get the first packet but not the rest..........

2006-10-01 Thread primalfear 69
hello everyone, again in need of u guys help:) i am using tinyos 1.1.0 mica2 under windows. i use MIB510 programmer. my program does the following... MOTE1 gets data from uart and transmits it to the MOTE 2 via radio. mote2 receives the data via radio and does some

[Tinyos-help] if i install mote with a mote ID.......... does it holds any place in the Tos Msg structure??

2006-09-29 Thread primalfear 69
hello everybody i am using mote2 with MIB510 programmer, using tinyos1.1.0 under windows XP. i installed my application along with moteID. could anyone tell me where does (the mote ID which i gave gets stored does it have any place in the TOS_Msg structure) the id gets loaded.under which

[Tinyos-help] is there any specific command in order to install mote with user defined mote ID

2006-09-28 Thread primalfear 69
hello is there any specific code in order to assign mote ID(user defined) while intalling the mote via MIB510? Regards Primalfear ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] extracting the data

2006-09-27 Thread primalfear 69
hello everyone, through the radio, the uart is receiving a TOS_Msg packet in which the data payload includes the structure which i defined(say function, addr ,data[25] etc are the members of the structure... these func, addr and data are defined by me ..the packet

[Tinyos-help] implicit declaration of function

2006-09-25 Thread primalfear 69
hello everybody, in my program idefined my own function as TOS_MsgPtr packet(TOS_MsgPtr msg); after receiving a complete data packet from the radio,i called for the above function as packet(data) (where data is the received TOS_MsgPtr),.when i tried to compile this file i am get error as

[Tinyos-help] how to get the tinyviz from cygwin

2006-09-08 Thread primalfear 69
hello all i am using tinyos-1.x, in windows XP. i have built the tinyviz and now i have the gui with me. now comes few questions..:) 1)what are the commands to call tinyviz from cygwin. i went through the tutorials lesson5 and am not able to exactly understand

[Tinyos-help] how to use the nesC compiler

2006-09-07 Thread primalfear 69
hello everybody what is this nesC compiler given under the link. is it not same like c compiler (turbo. etc.) http://prdownloads.sourceforge.net/nescc/nesc-1.2.7a.tar.gz?download when i download it am not getting any application/exe file under which i can compile my nesC programs. could

[Tinyos-help] why do i get this warning... no new line at end of file

2006-09-06 Thread primalfear 69
hello everybody In many of my programs when i compile there is warning stating xyz.nc:9:2: warning: no new line at end of file Regards Primeballerina ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] what is SQUELCH...... in cc1000??

2006-08-28 Thread primalfear 69
hello everybody.. why and for what is Squelch term or variable is used in CC1000? i have a similar doubt in case of macdelay. (i guess mac delay is used in order to transmit another data when it has already sent one). if am wrong please correct me. and could anyone get me some

[Tinyos-help] interface between

2006-08-28 Thread primalfear 69
hello everybody In MICA2, the interface between CC1000 and the atmelis through SPI. Its having just two pins i.e) DIO and Dclk. Its said that DIO is bidirectional.Its obvious that the controlleris master(thats what i feel:D ). Say whenthe CC1k is in transmit mode the it

[Tinyos-help] Query about the hardware interrupt ......... in CC1000

2006-08-24 Thread primalfear 69
hello guys i have few things to be cleared. 1) i am in to mica2 under windows XP was trying to communicate two motes via radio. As of now am using timer module as the interrupt. and am succeeding in making them communicate.But then i could feel its

[Tinyos-help] how to debug a nesC code.................??

2006-08-11 Thread primalfear 69
hi everybody, i have developed a simple program in nesC...getting buildfine :D i want to debug it step by step. could anybody suggest me on that.. could anyone tell me more on dbg .. getsome good links regarding nesC:D... tried a lot in net. but nothing

[Tinyos-help] how to program the MICA2.................??

2006-08-09 Thread primalfear 69
hello everybody if i want to burn sample programs given in tinyos (like BLINK etc)... i have builded it using make command. i have got it for all the platforms. i have one srec file and an exe file... couldanyone now get me how to burn the code into MICA2. is there any IDE

[Tinyos-help] hai , can anybody get me a solution..............:)

2006-08-08 Thread primalfear 69
hai, my basic aim is to write a c\c++ program and burn it into the target mote(mica2) using the tinyos platform 1.for this i have written a program in c++ and compiledit using the make command..i got the exe file and .o file.but i am not getting the hex file.so what should i do to get

[Tinyos-help] output file when we compile a cpp code in tinyos

2006-08-02 Thread primalfear 69
hello everybody.. Am new to tinyos. When i compile a nesc file by make mica2 or make pc am getting an exe file as output and an *.srec file.. (which is in hex... hope this is the file to be dumped in controller) My problem is am just getting an exe file when i compile for a Cpp