[Tinyos-help] Timer 32bit problem in Micaz

2010-03-25 Thread Vikram vik76
Hello, I am using Atmega128 based MicaZ motes. I am not able to use a value more than uint32_t value for the timers on MicaZ platform. It accepts only uint16_t values which doesnt provide more that 65535 milliseconds. or 65 seconds roughly. I have a requirement for starting the timer periodically

[Tinyos-help] Micaz Motes Tx range

2010-03-24 Thread Vikram vik76
Hello, Is there any table which lists the Transmission range in Metres/feet (any other metric) for different transmission power values between 0-31. Regards Vikram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] Rebooting a mote

2010-03-23 Thread Vikram vik76
Hello, How can we reboot a mote programmatically? The mote is currently running and I want to reboot it without using the reset switch OR removing the batteries. Is it possible that I can call a command which does this? Thanks Vikram ___ Tinyos-help

Re: [Tinyos-help] Rebooting a mote

2010-03-23 Thread Vikram vik76
Does this mean that I can use NetProg.reboot() only from the base station mote as in the case of Deluge and then disseminate this command over the air? Or, I can use it locally on a remote mote directly. Thanks Vikram On Tue, Mar 23, 2010 at 3:17 PM, Deeksha Rao Sahib eced...@ece.iisc.ernet.in

[Tinyos-help] tasks with parameters! why not possible?

2010-03-19 Thread Vikram vik76
Hello, I would like to understand why we don't have provision in tinyos for declaring tasks with input parameters. eg: task void taskname(uint8_t input1, uint8_t input2) { ... } where input1 and input2 are the two input parameters. Thanks Vikram ___

Re: [Tinyos-help] Communication Between Different Platforms

2010-03-12 Thread Vikram vik76
I have tried and it works. Micaz --- Tmote Sky Regards, Vikram On Fri, Mar 12, 2010 at 4:18 PM, Faisal Aslam as...@informatik.uni-freiburg.de wrote: Hi, I do not have Tmote Sky but I have Sentilla JCreate, Micaz and TelosB motes. They all communicate with each other fine. It is because they

[Tinyos-help] Doubt regarding transmission power of transmitted packed and Ack packed

2010-03-10 Thread Vikram vik76
Hello, I set the transmission power to a low value for a given packet using setPower(message_t *p_msg, uint8_t power). I also set the acknowledgement for it using PacketAcknowledgements.requestAck(message_t *msg) interface. Now, my doubt is, whether the Ack that has been received will have the

Re: [Tinyos-help] collecting information from mote

2010-01-29 Thread Vikram vik76
Sam, TestSerial.java is the user code where you can do modifications. TestSerialMsg.java says this as its first comment: This class is automatically generated by mig. DO NOT EDIT THIS FILE. So, as this warning states, you should not change code in this file. Regards Vikram On Wed, Jan 27,

[Tinyos-help] Doubt regarding SerialAMSenderC for AM type

2010-01-29 Thread Vikram vik76
Hello, I have a doubt regarding the AMType in SerialAMSenderC(am_id_t AMId). As, I understand the AM type has to be the same at both the sender and the receiver. But in the case of serial sender, whatever may be the AM type, it will be received by my java program using MIG in the same interface

Re: [Tinyos-help] Memory doubt

2010-01-27 Thread Vikram vik76
Kiraneet, Your program has 128K bytes (Program Flash Memory) of memory..What you see * bytes in ROM uses this. What you see as bytes in RAM during the compilation, has 4K bytes (Configuration EEPROM) of memory available for use. This memory is used by the data variables and stack memory

Re: [Tinyos-help] Understanding Deluge T2

2010-01-25 Thread Vikram vik76
--disseminate-and-reprogram  -s --stop        Stop the dissemination  -ls --local-stop Stop the dissemination only on the local mote --- Mike On Jan 24, 2010, at 1:44 PM, Vikram vik76 wrote: Mike, Multiple

Re: [Tinyos-help] Deluge T2 problem for new entry in volumes-at45db.xml (MICAz motes)

2010-01-25 Thread Vikram vik76
is. Thanks Vikram On Mon, Jan 25, 2010 at 12:50 AM, Chieh-Jan (Mike) Liang clia...@cs.jhu.edu wrote: Can you give the steps (commands) to reproduce this problem? Mike On Jan 23, 2010, at 6:17 AM, Vikram vik76 wrote: Hello, I have an additional entry in the volumes-at45db.xml file for my

Re: [Tinyos-help] Deluge T2 problem for new entry in volumes-at45db.xml (MICAz motes)

2010-01-25 Thread Vikram vik76
base=65536/  volume name=DELUGE2 size=65536 base=131072/  volume name=DELUGE3 size=65536 base=196608/  volume name=DYMODATA size=131072 base=327680/ /volume_table Thanks Mike On Jan 25, 2010, at 10:22 PM, Vikram vik76 wrote: Steps to reproduce the Deluge problem for MICAz motes. 1

[Tinyos-help] Understanding Deluge T2

2010-01-24 Thread Vikram vik76
Hello, Can anyone explain me the different volumes used for Deluge in the xml file? volume_table volume name=GOLDENIMAGE size=65536 base=0 / volume name=DELUGE1 size=65536/ volume name=DELUGE2 size=65536/ volume name=DELUGE3 size=65536/ /volume_table Why do we require multiple DELUGE? and

Re: [Tinyos-help] Understanding Deluge T2

2010-01-24 Thread Vikram vik76
. Mike On Jan 24, 2010, at 6:33 AM, Vikram vik76 wrote: Hello, Can anyone explain me the different volumes used for Deluge in the xml file? volume_table  volume name=GOLDENIMAGE size=65536 base=0 /  volume name=DELUGE1 size=65536/  volume name=DELUGE2 size=65536/  volume name=DELUGE3 size

[Tinyos-help] latest CVS/GIT ?

2010-01-23 Thread Vikram vik76
Hello, How do I get the latest CVS/GIT? I am presently running tinyos2.1. Thanks Vikram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Deluge T2 problem for new entry in volumes-at45db.xml (MICAz motes)

2010-01-23 Thread Vikram vik76
Hello, I have an additional entry in the volumes-at45db.xml file for my application. volume_table volume name=GOLDENIMAGE size=65536 base=0 / volume name=DELUGE1 size=65536/ volume name=DELUGE2 size=65536/ volume name=DELUGE3 size=65536/ volume name=DYMODATA size=131072 / /volume_table

[Tinyos-help] Deluge T2 reprogramming problem

2010-01-22 Thread Vikram vik76
Hello, I have installed initially GoldenImage default program on all the motes (MICAz). Then I reprogrammed over-the-air all the motes it with a test Blink program. It worked. Subsequently, I reprogrammed the motes again with an another application. I included the volumesxxx.xml file for the

[Tinyos-help] Number of node ids

2010-01-21 Thread Vikram vik76
Hello, I would like to know upto what value can I assign the node ids? MICAz and tmote sky. Thanks Vikram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Put mote only in receiving state

2010-01-20 Thread Vikram vik76
will be synchronize - you can use timers to create slots. Arik On Wed, Jan 20, 2010 at 07:08, Vikram vik76 vi...@sify.com wrote: Hello, The motes are receiving all the time.  But they do the transmission only in certain periodic time slots say slot 'B'. I can achieve this for a mote for the data

Re: [Tinyos-help] Put mote only in receiving state

2010-01-20 Thread Vikram vik76
, Jan 20, 2010 at 10:19, Vikram vik76 vi...@sify.com wrote: I am able to create the slots.  I just want to disable transmission in alternate slots. Regards Vikram On Wed, Jan 20, 2010 at 12:38 PM, Arik Sapojnik sapoj...@gmail.com wrote: I think that if you want to use slots, you need

[Tinyos-help] Requirement of flash storage for TYMO

2010-01-20 Thread Vikram vik76
Hello, Why does the multi-hop protocol TYMO require the volume storage? volume_table volume name=DYMODATA size=131072 / /volume_table Can anybody please explain this to me? Thanks Vikram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Put mote only in receiving state

2010-01-20 Thread Vikram vik76
: What about creating a message queue and a SlotSender? All the packets that are going to be sent are put into the queue. The SlotSender checks the queue every tx slot, if the queue is not empty send the first packet in the queue. 2010/1/20 Vikram vik76 vi...@sify.com Arik, you are right.  I can

Re: [Tinyos-help] Put mote only in receiving state

2010-01-20 Thread Vikram vik76
the packages to the Radio driver every tx slot or similar. 2010/1/20 Vikram vik76 vi...@sify.com I can do this only for source motes which are originator of the message.  Only these messages can be put in the message queue. What about those multi-hop messages for which this mote happens

[Tinyos-help] Put mote only in receiving state

2010-01-19 Thread Vikram vik76
Hello, I want to put the motes only on receiving state periodically by disabling the transmissions. How do I achieve this. Thanks Vikram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Put mote only in receiving state

2010-01-19 Thread Vikram vik76
, too I want to restrict the transmissions only in slot 'B'. Thanks Vikram On Tue, Jan 19, 2010 at 8:28 PM, Arik Sapojnik sapoj...@gmail.com wrote: Hi, You gotta be more specific. The motes are receiving all the time they don't transmit. Arik On Tue, Jan 19, 2010 at 11:31, Vikram vik76 vi

[Tinyos-help] Set Transmit Power TinyOS2.x for acknowledgements

2010-01-18 Thread Vikram vik76
Hello, In tinyos-2.x we can set the global radio power of CC2420 by defining the CC2420_DEF_RFPOWER to a different value or we can change it dynamically on a per-packet basis using the setPower command from the CC2420Packet interface. How do I change the radio power for Packet Acknowledgments

[Tinyos-help] Deluge T2 problem for MICAz motes

2010-01-12 Thread Vikram vik76
Hello, I am trying to use Deluge T2 for MICAz motes. I use the command as per the Deluge T2 tutorial at http://docs.tinyos.net/index.php/Deluge_T2 ./burn mib510,/dev/ttyS0 serial@/dev/ttyS0:57600 micaz I get the following error during the Upload image process: ===

[Tinyos-help] MICAz radio: CC2420 or MPR2400?

2009-12-30 Thread Vikram vik76
Hello, I would like to know what is the radio that is used by the MICAz motes? Is it CC2420 or MPR2400 ? and what are the differences between them? I want to set the transmission power to a very low value. I used CC2420_DEF_RFPOWER for values 1 and 2. I was surprised to see that for the value

Re: [Tinyos-help] Sending multiple messages in one shot

2009-12-29 Thread Vikram vik76
://cone.informatik.uni-freiburg.de/people/aslam/ Vikram vik76 wrote: Hello, How do I send multiple messages ( say two messages) one after the other? The send statements in my code are one after the other. Is there any queuing in tinyos which will take care of this automatically? Because, when

[Tinyos-help] Sending multiple messages in one shot

2009-12-28 Thread Vikram vik76
Hello, How do I send multiple messages ( say two messages) one after the other? The send statements in my code are one after the other. Is there any queuing in tinyos which will take care of this automatically? Because, when the second message is sent, the first message may still be using the

Re: [Tinyos-help] Disable / Enable Transmit module periodically

2009-12-17 Thread Vikram vik76
implemented (being able to temporarily disable transmissions and re-enable them for any module interfacing with the radio). If you wanted this functionality, you would need to implement it yourself. -Paul Vikram vik76 wrote: Hello, How do I Disable / Enable Transmit module periodically

[Tinyos-help] Disable / Enable Transmit module periodically

2009-12-16 Thread Vikram vik76
Hello, How do I Disable / Enable Transmit module periodically for Telosb / MicaZ motes? Thanks and regards Vikram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Multi Threading in TinyOS 2.x

2009-12-13 Thread Vikram vik76
Hello, I would like to know whether we can develop multi-threaded programs using nesC and run them on motes with tinyos 2.x. Thanks Vikram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] MAC acknowledgments

2009-12-07 Thread Vikram vik76
Hello, I would like to understand better the working of acknowledgments in tinyos. First, Is MAC level acknowledgment implemented by default? for Unicast or Broadcast? I also used the PacketAcknowledgements interface. When I use call PacketAcknowledgements.requestAck(pkt) does it explicitly

[Tinyos-help] Maximum payload size - TOSH_DATA_LENGTH

2009-12-02 Thread Vikram vik76
Hello, I would like to know what is the maximum payload size that we can set for micaz motes using TOSH_DATA_LENGTH. Also, what are the consequences of setting it to a high value. I understand that by default it is set to 28 bytes. Thanks Vikram ___

[Tinyos-help] Errors while using CC2420Config interface

2009-11-28 Thread Vikram vik76
Hello everybody, I want to use the CC2420Config interface for setting the channel using command void setChannel( uint8_t channel ); I also call the sync() and have implemented syncDone(). In my module I included the code uses interface CC2420Config; For wiring I use this code

Re: [Tinyos-help] Errors while using CC2420Config interface

2009-11-28 Thread Vikram vik76
I am using micaz motes. Regards, Vikram On Sat, Nov 28, 2009 at 3:35 PM, Razvan Musaloiu-E. razv...@cs.jhu.eduwrote: Hi! On Sat, 28 Nov 2009, Vikram vik76 wrote: Hello everybody, I want to use the CC2420Config interface for setting the channel using command void setChannel( uint8_t

Re: [Tinyos-help] Errors while using CC2420Config interface

2009-11-28 Thread Vikram vik76
, Nov 28, 2009 at 3:35 PM, Razvan Musaloiu-E. razv...@cs.jhu.eduwrote: Hi! On Sat, 28 Nov 2009, Vikram vik76 wrote: Hello everybody, I want to use the CC2420Config interface for setting the channel using command void setChannel( uint8_t channel ); I also call the sync() and have

[Tinyos-help] multiple channels

2009-11-27 Thread Vikram vik76
Hello Everybody, I have four motes A, B, C, D; each with single radio. All four are deployed in radio range of each other, which means its a fully connected network. I would like to know, whether it is possible that one pair of nodes say A and C talk on one channel, and another pair of nodes say

Re: [Tinyos-help] From telosb to micaz

2009-11-25 Thread Vikram vik76
Telosb motes are USB devices, which are plug and play and they register with your OS when you plug them in. But micaz motes are connected to the PC using a serial interface via the serial-programming board which is not an auto pluggable interface. Vikram 2009/11/24 Zé Pedro Espogeira

Re: [Tinyos-help] CollectionC protocol for mobile WSN?

2009-11-16 Thread Vikram vik76
AM, Vikram vik76 wrote: Hello, Does the CollectionC protocol work for the WSN where the topology of the network changes ? the nodes are mobile but the connectivity is always there. Thanks Vikram ___ Tinyos-help mailing list Tinyos-help

[Tinyos-help] CollectionC protocol for mobile WSN?

2009-11-14 Thread Vikram vik76
Hello, Does the CollectionC protocol work for the WSN where the topology of the network changes ? the nodes are mobile but the connectivity is always there. Thanks Vikram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] Change node id dynamically during run-time

2009-11-13 Thread Vikram vik76
Hello, Can we change the node ID ( TOSH_NODE_ID ) dynamically during runtime? As far as I understand, we specify the node id while programming the mote. eg: make micaz install.5 Apart from this, is there a way to set the node ID programmatically? Thanks Vikram

Re: [Tinyos-help] Data memory for micaz motes

2009-11-13 Thread Vikram vik76
at 7:58 PM, Michael Schippling sc...@santafe.eduwrote: You aren't. Vikram vik76 wrote: On reading Table 1-2, I found SRAM value for micaz to be 4kB. I wrote a code wherein I declare two arrays of 3 bytes each, and then assign values to the elements to these two arrays. The compilation

[Tinyos-help] Data memory for micaz motes

2009-11-12 Thread Vikram vik76
Hello, I would like to know how much memory is available in micaz motes for the following. 1. Data 2. Program Thanks Vikram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Data memory for micaz motes

2009-11-12 Thread Vikram vik76
/support/support_pdf_files/mpr-mib_series_users_manual.pdf -Paul Vikram vik76 wrote: Hello, I would like to know how much memory is available in micaz motes for the following. 1. Data 2. Program Thanks Vikram

Re: [Tinyos-help] Data memory for micaz motes

2009-11-12 Thread Vikram vik76
variables, etc. Measurement(Serial) Flash is used to store whatever you want, measurement readings, logs, etc. EEPROM is used to store configuration data that you burn onto the device. This might be node ID's, private/public keys for encryption, etc. -Paul Vikram vik76 wrote: On examining

[Tinyos-help] Array of keys in dissemination - DIP

2009-11-11 Thread Vikram vik76
hello, Can I use an array of keys in the DIP protocol? Also please let me know the configuration for this. Thanks Vikram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] PC to Mote using TOSSIM

2009-10-30 Thread Vikram vik76
Hello, Can be run and test applications involving PC to Mote communication using TOSSIM? Like debugging TestSerial example program using TOSSIM. Thanks Vikram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] Nodes with different RF power

2009-10-28 Thread Vikram vik76
and decrease your availiable bandwidth, if it is implementable in an efficient way at all... Hope this will help you a bit... Regards, Henning Original-Nachricht Datum: Wed, 28 Oct 2009 10:52:48 +0530 Von: Vikram vik76 vi...@sify.com An: tinyos-help tinyos-help

[Tinyos-help] Nodes with different RF power

2009-10-27 Thread Vikram vik76
Hello everybody, I want to work for a scenario where in the WSN network (comprising of micaz motes), one of the node say node 'A' (base-station connected to PC) needs to do a broadcast to all the other nodes. The remaining nodes communicate via multi-hop communication. To achieve this, I want

[Tinyos-help] Random number in tmote sky

2009-10-24 Thread Vikram vik76
Hello, Does the tmote sky motes work well with the random number generation? I used the rand() function which gives desired result in TOSSIM but does not behave well with tmote sky motes. Thanks Vikram ___ Tinyos-help mailing list

[Tinyos-help] Set Receiver / Carrier Threshold for CC2420 in tinyos

2009-10-23 Thread Vikram vik76
Hello, I want to set the receiver and carrier threshold values in tinyos for micaz motes CC2420 radio. Please suggest. Thanks Vikram ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu