Re: [Tinyos-help] MCU and cc2420 power consumption

2007-04-06 Thread Philip Levis
On Apr 6, 2007, at 11:17 AM, Steve McKown wrote: I don't use Atmel parts, but I'd assume you could find this information in their respective data sheets... The data sheet is a place to start. But that tends to only consider the MCU, and not all the other peripherals. For example, the

Re: [Tinyos-help] MCU and cc2420 power consumption

2007-04-06 Thread Philip Levis
On Apr 6, 2007, at 12:27 PM, Kurt Peters wrote: If you seek to estimate the power consumption, you can read through the data sheet for the 128L from Atmel if you're using that group of motes. The schematics for other sensor boards are available online, and you find the parts used

Re: [Tinyos-help] Problem with I2C on MicaZ under T2

2007-04-06 Thread Philip Levis
On Apr 5, 2007, at 3:16 AM, Xiaofan Jiang wrote: Hi all, I'm trying to communicate with a I2C device using MicaZ (MicaZ is the master) but have encountered some strange problems as described below. Does anyone have any ideas? I wrote a very simple program that basically write a byte to

Re: [Tinyos-help] Need Advice on working with TinyOS-2.x

2007-04-06 Thread Philip Levis
On Apr 6, 2007, at 8:02 PM, Ali Mir wrote: Hello Friends, I need some advice on how to approach learning TinyOS-2.x. I am working on this since the past 2 months. I have read the tutorials and wrote some programs like measuring the battery voltage etc and tested them on Mica2 motes.

Re: [Tinyos-help] Problem with I2C on MicaZ under T2

2007-04-05 Thread Philip Levis
On Apr 5, 2007, at 3:16 AM, Xiaofan Jiang wrote: Hi all, I'm trying to communicate with a I2C device using MicaZ (MicaZ is the master) but have encountered some strange problems as described below. Does anyone have any ideas? I wrote a very simple program that basically write a byte to

[Tinyos-help] Call for Participation: TinyOS Technology Exchange

2007-04-04 Thread Philip Levis
The Fourth International TinyOS Technology Exchange (TTX4) will be held at MIT on Saturday, April 28th. http://tinyos.stanford.edu/ttx/2007/ The TTX is a yearly venue where developers, users, and companies involved in low-power wireless sensing get together to talk about recent

Re: [Tinyos-help] Problem with uncombined call

2007-04-03 Thread Philip Levis
On Apr 3, 2007, at 1:49 AM, Roberto Gerardi wrote: Hi to all, I'm new to Agilla and I've got a warning compiling, it says nesc1: warning: calls to ReceiveMsg.receive in AMStandard are uncombined. Anyone could tell me how to solve this problem? I've used GenericComm to create a new

Re: [Tinyos-help] sendDone() called before receive

2007-04-03 Thread Philip Levis
On Apr 3, 2007, at 12:51 AM, Faisal Karim wrote: Hi Philip Preciesly im looking for time between send() and receive() So why not just measure that? Why look at sendDone()? Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] LQI Correlation Function

2007-04-02 Thread Philip Levis
On Apr 2, 2007, at 10:47 AM, Francis Simoneau wrote: I am looking for any papers on the Internet that describe the derivation of the MultiHopLQIM.nc correlation function. uint16_t correlation(uint8_t v) { uint16_t c = (80 - (v - 40)); c = (((c * c) 3) * c) 3; return c; }

Re: [Tinyos-help] Deluge with TinyOS 2.x?

2007-04-02 Thread Philip Levis
On Apr 2, 2007, at 11:10 AM, Victor Shia wrote: I was wondering if deluge works with tinyos-2.x if it does, where can I get it? I can't find any documentation on it. Prabal Dutta at Berkeley and Andreas Terzis's group at JHU are currently working on it. There will be a beta release with

Re: [Tinyos-help] sendDone() called before receive

2007-04-02 Thread Philip Levis
On Apr 2, 2007, at 11:40 AM, Faisal Karim wrote: Hi Bibudh n all Im using at the moment TOSSIM for delay calculations and not using real motes. Therefore for delay calculation, truly i didnt think of time synchronization coz i was considering the global times ie tos_state.tos_time so i

Re: [Tinyos-help] sendDone() called before receive

2007-04-02 Thread Philip Levis
On Apr 2, 2007, at 12:49 PM, Faisal Karim wrote: Hi Philip Im trying to measure the time that a packet required to be received by the destination. So roughly saying packet propagation time. You need to be more precise. You mean, time between send() and receive ()? Or do you mean time

Re: [Tinyos-help] sendDone() called before receive

2007-04-01 Thread Philip Levis
On Apr 1, 2007, at 7:02 PM, Thang Le wrote: From my understanding, in TinyOS 1.1.15, SendDone is invoked when the package is successfully queued at the sender. Even without any receiver, SendDone is still called. sendDone is signaled when the packet is transmitted. The error code

Re: [Tinyos-help] A table of timers

2007-03-30 Thread Philip Levis
On Mar 30, 2007, at 6:32 AM, Romain Thouvenin wrote: Hello, To implement a routing table, I need a number of timers for each entry. I may have missed something obvious, but I am not sure about how to do that. At first, I tried to wire all the parameterized interfaces of HilTimerMilliC, with

Re: [Tinyos-help] Problems with readToneDetector

2007-03-29 Thread Philip Levis
On Mar 29, 2007, at 1:20 AM, Jorge Grande wrote: Hello everybody, I'm using TinyOS 2.0 and I'm trying to write an application for two micaz motes using the microphone. One of the two motes (mote 1) will beep each 1000 ms and the other one (mote 2), once it has detected the tone, will

Re: [Tinyos-help] UscGainInterferenceModelC implementation

2007-03-29 Thread Philip Levis
On Mar 29, 2007, at 2:03 AM, Salvo Fiduccia wrote: But the heardSignal() operates on the outstandingReceptionHead list, and I don't understand what are the lines that remove the packet from this list. Thanks for your attention. Here's the code snippet: void

Re: [Tinyos-help] AT45DB Simulation?

2007-03-29 Thread Philip Levis
On Mar 29, 2007, at 2:33 PM, David Gay wrote: On 3/29/07, Wali Kazi [EMAIL PROTECTED] wrote: Any chance for the week to come in the near future or if you can pass on some tips on how to do it :) Near future: no (really no time available until mid-May...). Tips: it shouldn't be too

Re: [Tinyos-help] UscGainInterferenceModelC implementation

2007-03-29 Thread Philip Levis
On Mar 29, 2007, at 3:59 PM, Salvo Fiduccia wrote: Ok, I have understood the code that removes the packet from the list and the following test, but I have originally mentioned the test inside the first while (see the arrow): void sim_gain_receive_handle(sim_event_t* evt) {

Re: [Tinyos-help] TinyOS dependencies

2007-03-28 Thread Philip Levis
On Wed, 2007-03-28 at 03:02, Romain Thouvenin wrote: Hi, Due to troubles with my computer, I recently had to build a new operating system (ubuntu linux), and reinstall tinyos. But apparently, I miss some development packages, since when I try to compile a TOS application, I get errors

Re: [Tinyos-help] UscGainInterferenceModelC implementation

2007-03-28 Thread Philip Levis
On Wed, 2007-03-21 at 13:51, Salvo Fiduccia wrote: Hi all, relating to the sim_gain_receive_handle function (UscGainInterferenceModelC.nc file), I don't understand when the code that checks if has been received a packet stronger than the others, i.e. if ((list-power -

Re: [Tinyos-help] TOSSIM simulation

2007-03-28 Thread Philip Levis
On Wed, 2007-03-28 at 12:22, Anu Singh wrote: Hi, I am using TOSSIM for simulating a nesC/tinyOS program. I am getting very different results (of some distributed computation) on every run. Does anyone know what could be the reason for large variation of some distributed computation

Re: [Tinyos-help] errors in running blink

2007-03-27 Thread Philip Levis
On Mar 27, 2007, at 6:57 AM, Wassim Masri wrote: Hi everybody, I am using tinyos 2 over cygwin, and I am facing errors when trying to run Blink in TOSSIM. The application compiled without errors with make micaz sim (there have been only some warnings about shadowed declaration, and

Re: [Tinyos-help] need a help

2007-03-27 Thread Philip Levis
On Mar 27, 2007, at 3:59 AM, Chakib BEKARA wrote: Hi all! When trying to compile the BlinkC application for simulation (i.e. make micaz sim) i got the following error: make *** [sim.exe]: error1, and an error window appears containg the following message: The enter point of basename

[Tinyos-help] Re: multiple sends in TinyOS2.0

2007-03-27 Thread Philip Levis
On Mar 27, 2007, at 11:07 AM, Bhuvaneswari Ramkumar wrote: Hello all , can someone tell me how we can work on sending multiple msgs in TinyOS2.0 ? I tried both the SerialAmSenderC and the AMSenderAMC component for this both of them transmit just one msg and the next ones fail what I need

[Tinyos-help] Re: multiple sends in TinyOS2.0

2007-03-27 Thread Philip Levis
On Mar 27, 2007, at 12:15 PM, Bhuvaneswari Ramkumar wrote: I do want it in a queue but i guess I cant use the ForwardEngine component what this one seems to be doing is take pre-determined packets from a queue and send them in FIFO order You probably don't want to use this exact component;

[Tinyos-help] Re: multiple sends in TinyOS2.0

2007-03-27 Thread Philip Levis
On Mar 27, 2007, at 1:55 PM, Bhuvaneswari Ramkumar wrote: but AM does not necessarily send packets in the order at which you submit them : does this apply even when I give the next send in the send-done event of the first call ? No. Send.sendDone means the packet was sent. So it has

Re: [Tinyos-help] RSSI(dbm)

2007-03-26 Thread Philip Levis
On Mar 25, 2007, at 7:29 PM, Senol Zafer ERDOGAN wrote: Hi all, i am confused about RSSI dbm value. In mail lists, i saw some formulas but i dont know which one is true? Please anyone helps me that which one is true? i use CC2420 chip. 1- rssi(dbm) = -51.3 * V rssi - 45.5 2- RSSI (dBm)

Re: [Tinyos-help] sending msgs in TinyOS2.0

2007-03-26 Thread Philip Levis
On Mar 26, 2007, at 2:46 AM, Bhuvaneswari Ramkumar wrote: Hello All , I was trying to do a send operation in TinyOS2.0 I read up the mote-pc communication part given in the documentation and tried using the simple TestSerial component but nothing gets sent though there is no error message

Re: [Tinyos-help] sending msgs in TinyOS2.0

2007-03-26 Thread Philip Levis
On Mar 26, 2007, at 3:05 PM, Bhuvaneswari Ramkumar wrote: sorry abt the ambiguity in my previous mail ok , so here is the error message verbatim : App.nc:12: generic component `AMSenderC' requires instantiation arguments App.nc:15: no match App.nc:17: endpoint is not a parameterised

Re: [Tinyos-help] RADIO DOESNT WORK ON MICA@ TINYOS-2.X

2007-03-24 Thread Philip Levis
On Mar 24, 2007, at 5:22 AM, Ali Mir wrote: Hello friends, I am working on mica2 motes on tinyos-2.x platform. I think I have a problem with the Radio as I am unable to receive any packets from the motes. I tried testing the mote Radio with BlinkToRadio application from the apps

Re: [Tinyos-help] Fwd: question on forwarding engine in tinyos-2.x

2007-03-23 Thread Philip Levis
On Mar 22, 2007, at 10:35 PM, Avinash Sridharan wrote: Hi Phil, But even if we apply rate controllers at the sources (say for each of the clients) the inherent unfairness in the queuing dynamics would over ride the effects of the rate controllers to provide fairness. If you apply rate

Re: [Tinyos-help] Fwd: question on forwarding engine in tinyos-2.x

2007-03-23 Thread Philip Levis
On Mar 23, 2007, at 9:11 AM, Avinash Sridharan wrote: Hi Phil, I agree that if you apply rate control to the client it would limit the packet generation, but the reason I say the queueing dynamics would override these affects is that rate control algorithm assume all packets have the

Re: [Tinyos-help] Fwd: question on forwarding engine in tinyos-2.x

2007-03-23 Thread Philip Levis
On Mar 23, 2007, at 9:43 AM, Avinash Sridharan wrote: Hi Phil, By service rates of a packet I mean the service rate that the queue is giving to each packet. Since the buffer space for the clients and the forwarders are different the probability that you serve a client packet should be

Re: [Tinyos-help] TestSerial

2007-03-22 Thread Philip Levis
On Mar 22, 2007, at 6:23 AM, Ahmed Said wrote: Hi, I am using TinyOS 2 on a cygein enviroment and i am working now on lesson 4 in the tutorials, the problem is that the TestSerial folder in the apps directory is empty, anyone knows a reason for that..?? Try apps/tests/TestSerial? Phil

Re: [Tinyos-help] Understanding the nesC language

2007-03-22 Thread Philip Levis
On Mar 22, 2007, at 5:01 AM, Dipti wrote: Hi, this is Dipti Jaiswal. I am currently working on wireless sensor networks and would like to know the details of programming in nesC. I have gone through the tinyOs tutorial and the TinyOs Programming documentation by Philip Levis, but the same

Re: [Tinyos-help] Fwd: question on forwarding engine in tinyos-2.x

2007-03-22 Thread Philip Levis
On Mar 22, 2007, at 11:41 AM, Avinash Sridharan wrote: I apologize for the incomplete mail . (hit the sent button by mistake) Here is my question: I am using the forwarding engine from the collection tree frame work. I had a question on the queue sizes of the client queues and the

Re: [Tinyos-help] Fwd: question on forwarding engine in tinyos-2.x

2007-03-22 Thread Philip Levis
On Mar 22, 2007, at 12:00 PM, Avinash Sridharan wrote: So this means for a client the send queue size is one and for the forwarded packets the send QUEUE size is FORWARD_COUNT ? Did I get this right ? since whenever a client forwards a packet unless the previous packet has been sent out it

Re: [Tinyos-help] Fwd: question on forwarding engine in tinyos-2.x

2007-03-22 Thread Philip Levis
On Mar 22, 2007, at 7:17 PM, Avinash Sridharan wrote: Hi Phil, A few more questions more on the bandwidth allocation between the client and forwarder in the forwarding engine. The forwarder effectively has a depth of FORWARD_COUNT (set to 5) in the FIFO queue and the client has a depth

Re: [Tinyos-help] UscGainInterferenceModelC implementation

2007-03-21 Thread Philip Levis
On Mar 21, 2007, at 2:51 PM, Salvo Fiduccia wrote: Hi all, relating to the sim_gain_receive_handle function (UscGainInterferenceModelC.nc file), I don't understand when the code that checks if has been received a packet stronger than the others, i.e. if ((list-power -

Re: [Tinyos-help] changes in TinyOS packet

2007-03-21 Thread Philip Levis
On Mar 21, 2007, at 5:15 PM, Abhishek Jain wrote: I want to make the following changes in the TinyOS packet. 1) Use some bits of the DstAddr field for a small counter. 2) Remove the Grp ID field 3) Remove the CRC field 4) Add a new field for SrcAddr. 5) Add a new field for MAC Could someone

Re: [Tinyos-help] Sense Application for

2007-03-19 Thread Philip Levis
platforms/telosa/chips/s1087 platforms/telosa/chips/s10871 Phil On Mar 19, 2007, at 4:53 AM, Shiplu Rashid wrote: Hi, Has anybody written the component to sense the Light sensor of Tmote Sky? If yes then can he/she send it to me as an attachment? Because, I didn't install the contrib for

Re: [Tinyos-help] setting TOSSIM variables from Python

2007-03-18 Thread Philip Levis
On Mar 18, 2007, at 1:15 PM, fatima cabot wrote: Hi. Is there a way of setting variables of nesc modules from Python? I mean, as there is a 'getData', is it possible to do a 'set'?is there any different way of getting this? No. Otherwise you start ending up with application logic in

Re: [Tinyos-help] make micaz sim compiled with warnings

2007-03-18 Thread Philip Levis
Don't worry about those warnings. I hope to clean up the code for 2.0.1 so they go away. It basically just involves renaming some variables. Phil On Mar 18, 2007, at 2:40 PM, Faisal Karim wrote: Hi all Appendix A of tutorial 11 is very usefull and after giving some time to it I

Re: [Tinyos-help] why i cannot compile TOSSIM in T2?

2007-03-18 Thread Philip Levis
The warnings are just warnings. What matters is the linking error. Please read Appendix A carefully: it states the solution to this problem in the section You have Python support installed, but the make system can't find it Phil On Mar 18, 2007, at 5:18 PM, Meiying Su wrote: Hi everyone,

Re: [Tinyos-help] Listen tool in TinyOS 2.0

2007-03-17 Thread Philip Levis
tinyos-2.x/support/sdk/java Phil On Mar 17, 2007, at 4:41 PM, Bhuvaneswari Ramkumar wrote: Hi All I'm right now working on TinyOS 2.0 I need to know if there is a Listen tool in 2.0 like the one we had for 1.x series or can we use the same Listen tool here also , because the tool doesnt

Re: [Tinyos-help] TinyOS2.0 scheduler commands

2007-03-15 Thread Philip Levis
On Mar 15, 2007, at 5:00 AM, Liron Elmaleh wrote: Hi, I would like to know if there are function calls to the scheduler in TinyOS2. For example - I would like to call some sort of yield() function in the middle of a task, so I could release the CPU and come back later (when the task is

Re: [Tinyos-help] dbg, stdout

2007-03-15 Thread Philip Levis
On Mar 15, 2007, at 9:41 AM, fatima cabot wrote: Hi. I'm programming a python GUI for tossim 2 Inside my nesc module, i have written dbg statements with sys.stdout In my inteface, I have a textbox to which I have redirected sys.stdout. It works for prints inside python, but not for nesc's

Re: [Tinyos-help] BcastM

2007-03-15 Thread Philip Levis
On Mar 15, 2007, at 2:04 PM, Benjamin Madore wrote: In BcastM.nc in /lib/Brodcast: 143 signal Receive.receive[id](pMsg,pBCMsg-data[0],Len); 144 } 145 return pMsg; 146 } Shouldn't it be something like: XXX TOS_MsgPtr ret; 143 ret = signal

Re: [Tinyos-help] Inspecting variable with DBG

2007-03-14 Thread Philip Levis
On Mar 14, 2007, at 9:29 AM, Eva Maria Garcia wrote: Hi all, I’d like to inspect the content of a variable with DBG. The type of this variable is int16_t. In the TOSSIM tutorial I found the next example: dbg(RadioCountToLedsC, Received packet of length %hhu.\n, len); where the

Re: [Tinyos-help] info or advice on TOSSIM

2007-03-14 Thread Philip Levis
On Mar 13, 2007, at 10:24 AM, Βάσω Καρυώτη wrote: Hello! I was wondering if there are any suggestions for a good step-by- step guide on TOSSIM and what to do after the installation. Every attempt for execution fails and i get incomprehensive (to me) errors. I have tried 2 or 3 different

Re: [Tinyos-help] Battery Voltage measurement and RSSI

2007-03-14 Thread Philip Levis
On Mar 13, 2007, at 3:21 PM, Murtuza wrote: Hello Friends, I have some simple questions to ask. I am working on mica2 motes on tinyos-2.x platform. my questions are 1. I want to measure the battery voltage on a mica2 mote. If I am not wrong in order to do so I must set the BAT_MON pin

Re: [Tinyos-help] tinyos2 cc2420lpl locked-up node

2007-03-14 Thread Philip Levis
On Mar 14, 2007, at 7:16 PM, Jonathan Hui wrote: Hi Roman, Thanks for discovering and looking into this problem. From the description you gave us, it does look like the radio is already disabled. My guess is that the radio stack is incorrectly trying to use the SPI bus or something else is

Re: [Tinyos-help] leds documentation difference

2007-03-13 Thread Philip Levis
On Mar 13, 2007, at 3:43 AM, fatima cabot wrote: Hi, I'm having problems undertanding programming in nesC (I'm reading Tinyos Programming by Philip Levis June 28, 2006). I have T2 installed over Ubuntu, and I am looking at Leds componente implementation. I have found one difference

Re: [Tinyos-help] TinyOS 2.x: Generic configurations/modules

2007-03-13 Thread Philip Levis
On Mar 13, 2007, at 8:34 AM, Filipe Alves wrote: Hi, everybody, I have some questions about using generic modules/configurations. The situation is this: I'm creating an module like the QueuedSend in tinyos-1.x, for tinyos-2.x, however as the sending base is AMSenderC, and there is the

Re: [Tinyos-help] TinyOS 2.x: Generic configurations/modules

2007-03-13 Thread Philip Levis
On Mar 13, 2007, at 10:22 AM, Filipe Alves wrote: Hi Phil, Thanks for the input ! I will probably ( like 99.99% ) follow that approach, but given that QueuedAMSenderM, is equal for every body, and it doesn't depend on any parameters should it be non generic, i.e., a normal module, maybe

Re: [Tinyos-help] dbg output

2007-03-12 Thread Philip Levis
On Mar 12, 2007, at 2:21 AM, fatima cabot wrote: Hi. I'm designing an interface for TOSSIM under T2, and I want to perform an execution log. So I was wandering wheter dbg messages are sent to the standard output (which I would redirect to my log) or which other way do I have to use to

Re: [Tinyos-help] TOSSIM ImportError in TinyoS 2.0

2007-03-12 Thread Philip Levis
On Mar 10, 2007, at 2:19 PM, shilpa bhatt wrote: Thanks for replying Phil If you could send the complete compile output of 'make micaz sim' that would help. make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling

Re: [Tinyos-help] TOS_LOCAL_ADDRESS in Tinyos-2.x?

2007-03-11 Thread Philip Levis
On Mar 11, 2007, at 7:47 PM, Jiakang Lu wrote: Hi all, I met a compatibility problem with Tinyos-2.x in some experiment. The key point that I need to use the previous TOS_LOCAL_ADDRESS, instead of TOS_NODE_ID, to identify the node. I tried to rename all the TOS_LOCAL_ADDRESS to

Re: [Tinyos-help] TOS_LOCAL_ADDRESS in Tinyos-2.x?

2007-03-11 Thread Philip Levis
On Mar 11, 2007, at 9:37 PM, Jiakang Lu wrote: Philip Levis wrote: On Mar 11, 2007, at 7:47 PM, Jiakang Lu wrote: Hi all, I met a compatibility problem with Tinyos-2.x in some experiment. The key point that I need to use the previous TOS_LOCAL_ADDRESS, instead of TOS_NODE_ID

Re: [Tinyos-help] TOSSIM ImportError in TinyoS 2.0

2007-03-10 Thread Philip Levis
On Mar 10, 2007, at 10:53 AM, shilpa bhatt wrote: Hello all, I am getting an Import Error when trying rum sumilation in TOSSIM. When I do a make micaz sim it successfully builts micaz TOSSIM library. Though there are two warnings: /opt/tinyos-2.x/tos/lib/tossim/sim_packet.c:109: warning:

Re: [Tinyos-help] Warning: Unknown debug option: TEMP

2007-03-09 Thread Philip Levis
On Mar 9, 2007, at 9:57 AM, Bibudh Lahiri wrote: Hi, I'm getting the following error message in TOSSIM: Warning: Unknown debug option: TEMP I've tried the following: unset DBG export DBG = TEMP make pc build/pc/main.exe 13 I've also tried with the other debug modes

Re: [Tinyos-help] Re: patch for ./beta/TOSSIM-CC2420/HPLCC2420M.nc

2007-03-09 Thread Philip Levis
On Mar 9, 2007, at 4:04 PM, Tony Mancill wrote: Attached is another patch containing fixes for both the build issue and the segfault issue I was having in TOSSIM-CC2420/HPLCC2420M.nc. The segfault was because the transmittingFrame was NULL in handleFrameSentEvent(). Perhaps the patch could

Re: [Tinyos-help] basic questions

2007-03-08 Thread Philip Levis
On Mar 8, 2007, at 11:14 AM, Benjamin Madore wrote: I was darn sure MultiHopLQI for 1.15 worked on the Mica2 (CC1000), as well as the Crossbow variant of many more letters. Was it the Xbow/TOS 1.x you were thinking of when you said it was a modified version? Nope, unless I'm missing

[Tinyos-help] Fourth International TinyOS Technology Exchange

2007-03-08 Thread Philip Levis
The Fourth International TinyOS Technology Exchange (TTX4) will be held at M.I.T. on Saturday April 28th. The format this year will include reports from active working groups and new working group formation, as well as a Contribs session where members of the community can give very short

Re: [Tinyos-help] LQI

2007-03-07 Thread Philip Levis
On Mar 7, 2007, at 5:02 AM, Senol Zafer ERDOGAN wrote: Hi all, I am working on TinyOS just a couple of week and there is one point that i still not understand. How is the LQI data calculated by the mote? i guess when the packet is sent, mote doesnt add the LQI data to the packet.

Re: [Tinyos-help] event timing

2007-03-07 Thread Philip Levis
On Mar 7, 2007, at 1:46 PM, fatima cabot wrote: Hi again. I would like to perform real time simulation. Would it be possible for a python application (interacting with TOSSIM) to know the time stamp when next event is going to occur? What I want to say is that TOSSIM must have an event

Re: [Tinyos-help] Sensor readings conflicts

2007-03-06 Thread Philip Levis
On Mar 6, 2007, at 9:40 AM, Tiago Camilo wrote: Hey list, I am writing a tinyOS program where I usually check some sensors readings. I am using boomerang with a tmote from moteiv. I have two timers, each one responsible to call a sensor reading: -call ADCTemperature.getData() and call

Re: [Tinyos-help] Relation between setPower and RSSI and/or LQI values

2007-03-05 Thread Philip Levis
On Mar 5, 2007, at 4:20 AM, scem geyik wrote: Hi all, I would like to adjust the power of the message that is sent out by a node to another node according to the values returned by CC2420Packet.getRssi or CC2420Packet.getLqi so that less energy will be consumed. Let me give an example, if

Re: [Tinyos-help] basic questions

2007-03-05 Thread Philip Levis
On Mar 5, 2007, at 10:39 AM, Philipp Engel wrote: Hello, i am a computer science student and just starting to work with wireless ad-hoc networks. I want to work with some real hardware and create a little demo service. The point is that I want to focus on this application, and not have

Re: [Tinyos-help] New Ubuntu installation and make errors

2007-03-05 Thread Philip Levis
On Mon, 2007-03-05 at 11:53, Atilla wrote: Hello, I am quite new to TinyOS 2.0 and although I've used 1.0 back in the past I am confused to some of the installation details. I used the new Ubuntu package repository to install TinyOS and with the help of (

Re: [Tinyos-help] Cannot install both tinyos-avr and tinyos-msp430 from Ubuntu repository

2007-03-05 Thread Philip Levis
On Mon, 2007-03-05 at 12:21, Tony Mancill wrote: In this specific case, because it's just a readme, it won't hurt to force the override with: sudo dpkg --install --force-overwrite \ /var/cache/apt/archives/tinyos-msp430_2.0-1_i386.deb The other questions will need to be answered by

Re: [Tinyos-help] toswrap make micaz sim error

2007-03-04 Thread Philip Levis
On Mar 1, 2007, at 4:07 AM, fatima cabot wrote: Hi. I've followed every step in tutorial (but the little adjustments to make it work) and i keep on getting this error when doing make micaz sim inside any application directory /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2483:4: error:

Re: [Tinyos-help] Scheduler

2007-03-02 Thread Philip Levis
On Mar 2, 2007, at 6:25 AM, Min Guo wrote: Anyone knows how the scheduler schedule multiple function calls? E.g. in the RealMainP component, while Boot.booted() is signaled, the Boot.booted() events in the connected components will be executed, but how? - Since there is only one thread,

Re: [Tinyos-help] Tossim -- Topology generation

2007-03-02 Thread Philip Levis
On Mar 2, 2007, at 8:31 AM, Octav Chipara wrote: Hi, Does anyone have a topology generation for tossim in T2 handy? tinyos-2.x/support/sdk/java/net/tinyos/sim Phil ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Concurrent Radio and Mote-PC communication in Tmote

2007-03-02 Thread Philip Levis
On Mar 1, 2007, at 7:04 PM, Ankur Kamthe wrote: Hi, I am trying to write an application wherein the Tmote receives data over the radio and forwards it to the PC via the UART. I was not getting the data to flow correctly into the PC, so I was concerned about the following things: 1. Is 57600

Re: [Tinyos-help] Questions about using I2C on MicaZ / MTS300 (TinyOS 2)

2007-03-01 Thread Philip Levis
On Jan 3, 2007, at 12:50 PM, Thomas Wagner wrote: Hi again, Would you mind if I ask you another question? We have to write our program (wich communicates with the Mote Network) in VB.net, so we are about to code some kind of message listener in .net. Now we're hanging in decoding /

Re: [Tinyos-help] Get RSSI value from the packet in T2?

2007-03-01 Thread Philip Levis
On Mar 1, 2007, at 10:41 AM, Jiakang Lu wrote: Hi all, Suppose we receive a packet from radio. How can we get the value of RSSI in that packet? Other than pointing directly to the metadata location, do we have any interface to get this value? If it's a CC2420 platform, CC2420Packet is

Re: [Tinyos-help] Get RSSI value from the packet in T2?

2007-03-01 Thread Philip Levis
On Mar 1, 2007, at 11:12 AM, Jiakang Lu wrote: Philip Levis wrote: On Mar 1, 2007, at 10:41 AM, Jiakang Lu wrote: Hi all, Suppose we receive a packet from radio. How can we get the value of RSSI in that packet? Other than pointing directly to the metadata location, do we have any

Re: [Tinyos-help] tossim segfaults on a tutorial app in a Linux machine

2007-02-28 Thread Philip Levis
On Feb 28, 2007, at 7:39 AM, Filipe Alves wrote: Same problem here, and the answer to the questions are: 1) The CVS tree, is like a week old. ( More on this later ). 2) The debugging revealed a segmentation fault to NULL pointer, caused by a undefined function symbol. This is all the

Re: [Tinyos-help] Re: tossim segfaults on a tutorial app in a Linux machine

2007-02-28 Thread Philip Levis
On Feb 27, 2007, at 9:27 PM, Philip Levis wrote: On Feb 27, 2007, at 10:49 AM, pavan kumar wrote: I am having a similar kind of error as posted in the link http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006- December/021625.html Python 2.4.2 (#1, Feb 12 2006, 03:59:46) [GCC

Re: [Tinyos-help] Implementing a routing protocol

2007-02-27 Thread Philip Levis
On Feb 25, 2007, at 4:54 AM, Romain Thouvenin wrote: Hello, I am going to implement an ad-hoc routing protocol (DYMO) on TinyOS. I have already played a bit with TinyOS 2, nesC and TOSSIM, but now I am wondering how I will integrate my implementation in TinyOS. I have read TinyOS 1 2

Re: [Tinyos-help] TinyOS 2.0 Zigbee stack documentation

2007-02-27 Thread Philip Levis
On Feb 26, 2007, at 12:36 AM, Elias Weingärtner wrote: Zigbee is not supported by TinyOS 2.0 (or any version of TinyOS) Thank you. I think I confused 802.15.4 with Zigbee and CC2420 a bit, and after doing some reading I guess I have to concretize my question a bit: Speaking of motes like

Re: [Tinyos-help] tossim problem with tinyos2.0

2007-02-27 Thread Philip Levis
On Feb 25, 2007, at 7:00 PM, lili wrote: hello, everyone: I have encountered a problem when I use tossim of Tinyos2.0. At first, I use interface Timer to get time, and wire it to component TimerMilliC, tossim works ok. Then when I use interface Alarm instead to record time and wire it to

Re: [Tinyos-help] Implementing a routing protocol

2007-02-27 Thread Philip Levis
On Feb 27, 2007, at 9:43 AM, Romain Thouvenin wrote: It's not exactly what I am looking for. Collection and Dissemination are about routing pieces of data (transport layer) in a tree, but what I am going to implement (DYMO) is a generic routing protocol for any MANET, only concerned with

Re: [Tinyos-help] installation problems

2007-02-27 Thread Philip Levis
On Feb 26, 2007, at 4:42 AM, fatima cabot wrote: Hi. I've followed every instruction in the tutorial according to Tinyos2 Linux (Ubuntu) installation. I have had some problems with rpm packets (transforming into deb). But eventually, i have managed to installed every rpm without erros.

Re: [Tinyos-help] I2C, T2 and micaz

2007-02-27 Thread Philip Levis
On Feb 26, 2007, at 6:39 AM, Jordi Casals wrote: Hi, I use T2 and a micaz platform and now I am trying to connect an I2C display to my micaz. I don't have the display yet, but I want to have my application ready as soon as possible. I would like to know if the writeDone event is signaled

[Tinyos-help] Re: tossim segfaults on a tutorial app in a Linux machine

2007-02-27 Thread Philip Levis
On Feb 27, 2007, at 10:49 AM, pavan kumar wrote: I am having a similar kind of error as posted in the link http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006- December/021625.html Python 2.4.2 (#1, Feb 12 2006, 03:59:46) [GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2 Type

Re: [Tinyos-help] LoggerWrite/LoggerRead detail

2007-02-27 Thread Philip Levis
On Feb 27, 2007, at 9:33 PM, Gary Pan wrote: Hi all, I am studying on LoggerWirte/LoggerRead interface right now. The tutorial talks a little bit about it. But I wonder that if anyone can explain more detail how to utilize other commands other than codeappend/code. Can anyone just use

Re: [Tinyos-help] SPI Interface Micaz and additional Hardware Component

2007-02-23 Thread Philip Levis
On Feb 23, 2007, at 5:08 AM, Sebastian Sauer wrote: Hello, I would like to connect an additional hardware component (analog to digital converter with SPI interface) with the micaz board by using the 51 pin connector. Later on I would like to create an hardware abstraction in tinyos and use

Re: RV: [Tinyos-help] Problem TOSSIM 2.0 on Cygwin (Python?)

2007-02-23 Thread Philip Levis
On Feb 23, 2007, at 3:55 AM, Eva Maria Garcia wrote: I've done what you tell me. I've tried the following options: PLATFORM_LIB_FLAGS = -L/$(PYDIR)/config -lstdc++ -lpython$ (PYTHON_VERSION) -L/bin PLATFORM_LIB_FLAGS = -L/$(PYDIR)/config /bin -lstdc++ -lpython$(PYTHON_VERSION)

Re: [Tinyos-help] Msg.send always fails

2007-02-23 Thread Philip Levis
On Feb 23, 2007, at 1:44 PM, Panos Kampanakis wrote: Hi, I have the following code in TinyOS: event result_t Msg1.sendDone(TOS_MsgPtr sent, result_t success) { call TP.functionTest(); // takes 10 secs call Msg2.send(TOS_UART_ADDR, sizeof(tp_time_msg), report); return SUCCESS; }

Re: [Tinyos-help] Problem TOSSIM 2.0 on Cygwin (Python?)

2007-02-22 Thread Philip Levis
On Feb 22, 2007, at 3:59 AM, Eva Maria Garcia wrote: The version of Python I have installed is 2.4. I’ve searched the file Python.h and it’s in the directory /usr/include/python2.4. But you talk about the library libpython2.4.so, however I’ve got libpython2.4.dll (in the directory /bin). Is

Re: [Tinyos-help] uninstall tinyos2.x?

2007-02-22 Thread Philip Levis
On Feb 22, 2007, at 4:45 AM, preeti k wrote: Hello, I need to unistall tinyos2.x on one of the machines (cygwin, windows) and then install tinyos1.x on cygwin. I tried the rpm -e option but this is what happens $ rpm -e avarice-2.4-1.cygwin.i386.rpm error: package

Re: [Tinyos-help] Reading CC2420 registers

2007-02-22 Thread Philip Levis
On Feb 22, 2007, at 11:01 PM, Urs Hunkeler wrote: Hi Octav, Check the mailing-list archive. There are suggestions for an interface for both TinyOS-1.x and TinyOS-2.x. See for instance - TinyOS-1.x (Tmote): http://www.moteiv.com/community/Reading_RSSI_values_from_Tmote_Sky - TinyOS-2.x:

Re: [Tinyos-help] tutorial error

2007-02-21 Thread Philip Levis
On Wed, 2007-02-21 at 03:40, fatima cabot wrote: Hi. I'm following the TOSSIM tutorial for tinyos 2.0 (lesson 11) and acording to reading variables, it says: For example, this script will start a simulationi of 5 nodes and run it until node 0's counter reaches 10 but in the code, the for

Re: [Tinyos-help] I2C Communication problem using Tmote

2007-02-21 Thread Philip Levis
On Feb 21, 2007, at 10:26 PM, Ankur Kamthe wrote: Hi all, I am trying to interface a tmote with a cyclops camera. I am using the 10-pin expansion connector of the Tmote for powering the cyclops and using the I2C pins for communication. No other pins are connected between the two devices. The

Re: [Tinyos-help] Tossim Python in TinyOS 2.0

2007-02-20 Thread Philip Levis
On Feb 8, 2007, at 1:54 PM, Prem Krishnan wrote: Hi all, I have a problem configuring TOSSIM for my environment (cygwin). I initially had TinyOS 1.x installed and upgraded to TinyOS 2.0 following the instructions online. Now whenever I try to compile a program for TOSSIM, I get the some

Re: [Tinyos-help] Problem compiling Blink in TinyOS 2.x

2007-02-20 Thread Philip Levis
On Feb 16, 2007, at 12:53 PM, Faraz Zahabian wrote: Hello, I have upgraded my version of tinyos to 2.x and now I cannot compile anything( for example Blink module). I believe that all my environment paths are correct since I execute the tos-check-env and it passed fine. here is the

Re: [Tinyos-help] Outdoor Range with Tmote sky

2007-02-20 Thread Philip Levis
On Feb 20, 2007, at 10:42 AM, Jacob Sorber wrote: You are asking for a simple answer where none exists. Wireless channels are tricky. While line-of-sight is straightforward, not in line of sight could mean a lot of things. What is obstructing the signal? A building? A person? A hill

Re: [Tinyos-help] Tmote GPIO's current capacity

2007-02-19 Thread Philip Levis
On Feb 19, 2007, at 2:51 PM, Joe Polastre wrote: As per the f1611 datasheet (rtfm), at 2.2V, the max is 1.5mA per pin and 12mA max over all ports at 3.0V, the max is 6.0mA per pin and 48mA max over all ports Thus, pal is using the devices outside of specified operating conditions. It is

<    4   5   6   7   8   9   10   11   12   13   >