Re: [Tinyos-help] multicast messages

2008-07-14 Thread andrea . maestrini
Hi David! Thanks for your help! I have one more question for you...thanks in advance! I have read a post on tinyos-help about Ack in Broadcast massages: Should software ACK mimic hardware ACK as much as possible and provide acknowledgment for broadcasts as well? and your answer: SACK should

[Tinyos-help] parameterized interfaces

2008-07-14 Thread Sigg Benjamin
I was reading the tinyos-programming-manual. At the end of Chapter 6.0 there is this little remark: Parameterized interfaces aren’t limited to a single parameter. For example, this is valid code: provides interface Timer[uint8\_t x][uint8\_t y] However, if I try this i get only a syntax-error.

Re: [Tinyos-help] Tymo and TOSSIM not compiling

2008-07-14 Thread Romain Thouvenin
On Sun, Jul 13, 2008 at 1:21 PM, Anthony Smee [EMAIL PROTECTED] wrote: Hi Romain Sorry for my delayed response, I did copy tymo into my previous tree yes, but have since located the files and removed them. Is there something else I should have done? Thanks Anthony Some interface

[Tinyos-help] CCcontrol1000

2008-07-14 Thread wang wei
Hi all im measuring the RSSI using RssiDemo(in tinyos2.0), I wanna change the transmit power by wire the CC1000Control so I add a line App.CC1000Control- CC1000ControlP; in SendingMoteAppC. and add a line event void CC1000Control.setRFPower(uint8_t power) in SendingMoteC I know there are something

Re: [Tinyos-help] Network Protocols

2008-07-14 Thread Omprakash Gnawali
On Sun, Jul 13, 2008 at 7:45 PM, Varun Jain [EMAIL PROTECTED] wrote: Hi TinyOS users, I want to deliver control data to a particular addressed node in the network from the BaseStation. I have already tested Collection which sends the data upto a tree root whereas Dissemination sends small

[Tinyos-help] Programming IRIS motes with TinyOS2.x Apps in Ubuntu Linux

2008-07-14 Thread afuba edwin
Hi Mates I recently installed TinyOS 2.x under Ubuntu, per CVS and tried to program Crossbow IRIS. I compiled the Blink Application in der tinyos-2.x/apps/Blink folder and it compiled without problems. then I tried to install it unto an iris mote. It seems everything went alright - the data

[Tinyos-help] MicaZ and SP03 synthesizer

2008-07-14 Thread Asier Arruti
Hi all, I am using the SP03 text-to-speech synthesizer and I want to control it with the MicaZ mote. The possible ways are UART and I2C communications. I want to use the UART option, but the speed must be 38400 bauds, which does not appear as a possible speed to be selected . Is it possible

[Tinyos-help] event and call

2008-07-14 Thread wang wei
hi all i have a question about the relation between the event and call eg. i wanna call CC1000Control.setRFPower(0x02); but i dont know how to write the event, so can i add this call to other event,eg. add to the Boot.booted event void Boot.booted(){ call RadioControl.start(); call

Re: [Tinyos-help] Programming IRIS motes with TinyOS2.x Apps in Ubuntu Linux

2008-07-14 Thread Stefano Kismet Lenzi
Can you run again the make install goal and post the whole output of the command? On Mon, Jul 14, 2008 at 14:19, afuba edwin [EMAIL PROTECTED] wrote: Hi Mates I recently installed TinyOS 2.x under Ubuntu, per CVS and tried to program Crossbow IRIS. I compiled the Blink Application in der

Re: [Tinyos-help] Problems with nx_union in TestSerial and sim-sf on T2

2008-07-14 Thread Stefano Kismet Lenzi
On Sat, Jul 12, 2008 at 18:36, Federico Porceddu [EMAIL PROTECTED] wrote: Hi All, i'm trying to use TestSerial on Tossim (compiling with make micaz sim-sf ) I modified the TestSerial.h in this way: ... typedef nx_struct test_serial_msg { nx_uint16_t counter; nx_union {

Re: [Tinyos-help] Programming IRIS motes with TinyOS2.x Apps in Ubuntu Linux

2008-07-14 Thread Kevin Klues
When did you checkout from CVS? A bug was introduced a few days ago that made all ATMEGA based platforms unusable. Try updating from cvs with 'cvs up -dP' and try again; the bug has been fixed. Kevin On Mon, Jul 14, 2008 at 5:19 AM, afuba edwin [EMAIL PROTECTED] wrote: Hi Mates I recently

Re: [Tinyos-help] MicaZ and SP03 synthesizer

2008-07-14 Thread Michael Schippling
According to my reading of the Examples of Baud Rate Setting, Table 82 in the version of the ATMEGA manual that I have, the UBRR value should be somewhere between 1 and 5, depending on the crystal used and a divider setting. Not 23 as you have... I don't have the will power to look up what crystal

Re: [Tinyos-help] event and call

2008-07-14 Thread Michael Schippling
looks fine to me... Search out Phil Levis's NESC manual for mucho detail on how to use the various TOS dialext improvements. It might actually be on http://docs.tinyos.net/ MS wang wei wrote: hi all i have a question about the relation between the event and call eg. i wanna call

[Tinyos-help] data rate of cc2420 on tmote

2008-07-14 Thread Kirak, Hong
Hi, I found some articles about cc2420 data rate from mailing list. Is it true that maximum reliable data rate is about 50kbps? (without any interferences) Actually I only achieved 30kbps, but I think it's because that I serialized sending. (send - sendDone - send - .) And I didn't

Re: [Tinyos-help] data rate of cc2420 on tmote

2008-07-14 Thread David Moss
The raw data rate is 250 kbps. You'll never achieve this in any practical application because of the CSMA channel sharing taking place. The biggest impedance to throughput is clear channel assessments and the CSMA backoffs. The acknowledgment wait period is another big delay. SPI bus speeds

[Tinyos-help] Need for constant Battery readings for RSSI conversion ? [Mica2, T1 or T2 question]

2008-07-14 Thread Agnelo Silva
I am preparing the code to make the conversion of the raw RSSI value available in received message (indirectly a reading from ADC INPUT 0 - RSSI MONITOR). Although, I am developing using T1 (TinyOS 1.x), I read the T2 doc http://docs.tinyos.net/index.php/Rssi_Demo and noted the same thing I

Re: [Tinyos-help] Need for constant Battery readings for RSSI conversion ? [Mica2, T1 or T2 question]

2008-07-14 Thread Michael Schippling
You may get a more informed opinion, but my belief is that the raw RSSI reading should track the battery voltage because both the source and ADC reference are relative to the battery. This would not be the case if the ADCref was regulated, but it's not. So baring any non-linearities you shouldn't

Re: [Tinyos-help] Need for constant Battery readings for RSSI conversion ? [Mica2, T1 or T2 question]

2008-07-14 Thread Michael Schippling
A little asideyou CAN measure the REAL battery voltage on the micas because they have a fixed voltage connected to the battery measurement ADC input (at least the mica2 does, I'm forgetting if the Z is the same now...). It's counter- intuitive, but when you convert the fixed ref it's apparent

Re: [Tinyos-help] Need for constant Battery readings for RSSI conversion ? [Mica2, T1 or T2 question]

2008-07-14 Thread Agnelo Silva
Michael, I understood your position. It really doesn't make sense to take the battery level reading for each RSSI related to each received packet. That's why, in my program, I will send this battery level value only if happened a level drop (battery) based on a threshold. Considering your idea, I

[Tinyos-help] DCC1000_DEF_RFPOWER

2008-07-14 Thread wang wei
hi all i searched the previous list, The value of * *DCC2420_DEF_RFPOWER corresponding to the minimum RF power is 3, and not zero. According to the CC2420 data sheet, the chip has 8 discrete power levels: 0, -1, -3, -5, -7, -10, -15, -25 dBm; the corresponding values of DCC2420_DEF_RFPOWER are

Re: [Tinyos-help] Magnetometer gain problem with IRIS and MTS310

2008-07-14 Thread Raphaël Polonowski
Hi again all, [ request mode on ] If someone could share a program which simply adjust the gain (magnetometer or microphone) by I2C, on IRIS mote and MTS310, I would be very very grateful (I'm on this problem for a week now, so I start to depress). [ request mode off ] After many tries, I

Re: [Tinyos-help] Need for constant Battery readings for RSSI conversion ? [Mica2, T1 or T2 question]

2008-07-14 Thread Michael Schippling
No you don't understand my position. You will have to check the radio chip specs to verify if the raw RSSI ouptut is independent of supply voltage or not. I suspect the not part, and thus made the assertion that you don't need to make adjustments to the readings as the battery droops. You could

Re: [Tinyos-help] TOSSIM help

2008-07-14 Thread Abhishek Anand
Hi all, Where can I find a detailed tutorial on TOSSIM for TinyOS2.x except for this: *http://docs.tinyos.net/index.php/TOSSIM*http://www.cs.berkeley.edu/~pal/pubs/nido.pdf It describes how to inject packets but not how to retreive packets in the python program.

[Tinyos-help] TestNetwork Debugging and MsgReader tool

2008-07-14 Thread Varun Jain
Hi, I was finally able to solve the MsgReader issue as I was trying to build a TestNetworkMsg.java and try to see just that structure. Earlier I could just use the Listen tool and correctly see the Serial Frame. The problem was that my SerialAMSenderC had [CL_TEST] as the Active message