Re: Re: [Tinyos-help] tinyos2.x and cygwin1.dll error ( procedure entry point not located)

2006-07-13 Thread Mohan Hambar

 Hi

   This resolves my problem.
   Thanks a lot for such a quick response and fixing the problem
   so early.

 Mohan


On Thu, 13 Jul 2006 Philip Levis wrote :
>On Jul 12, 2006, at 10:29 PM, Mohan Hambar wrote:
>
>>
>>Hi All,
>>
>>I have recently installed tinyos 2.x source tree on my windows
>>machine. I am unable compile any application in tinyos2.x as well
>>as in tinyos1.x. I am getting following error message in popup window.
>>
>>"The procedure entry point basename could not be located in the
>>dynamic link library cygwin1.dll"
>>
>>Anyone can put light on this issue?
>>
>
>I've generated a new nesC RPM for older (recommended) Cygwin  installations. You can find it at
>
>http://csl.stanford.edu/~pal/tinyos/nesc-1.2.7b-1.cygwin.i386.rpm
>
>You can tell whether it is being used by tying
>
>$ ncc --version
>
>and you should see
>
>nescc: 1.2.7b
>
>I've updated the documentation on the trunk and devel branches; it  should hopefully make its way to the online copies in tinyos.net soon.
>
>Phil




___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Pause program

2006-07-13 Thread Zane D. Purvis
In TinyOS, there's TOSH_uwait(int u_sec) that has the MCU perform a  
loop of no-ops (do nothing) for the specified number of microseconds.




Tony Han wrote:

Hey,

I am wondering in NesC, is there any function can make program wait  
for a few seconds? things like Sleep(10) in C++ or something  
similar. Anything can make program pause for a while.


Thanks

Tony
-- 
--


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/ 
tinyos-help



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: RE : [Tinyos-help] Cygwin problem

2006-07-13 Thread Conor Todd
I didn't have to make any changes to the source, but I did have to make the Cricket platform and application work with the build system.Since Crickets are basically mica2 motes in so far as the tools used to build for them are concerned, I copied the mica2 make system and tailored it for the Crickets.  I'll be happy to send those files over if you like.
   - ConorOn 7/13/06, Sankar Gorthi <[EMAIL PROTECTED]> wrote:
It is isn't it (conspiratory nudge)?I remember we tried to program the Crickets that we bought with theTinyOS-1.1.15 distro. Ended up with a lot of errors (I remember one of themore infamous ones in our group was the 
something.o file not found in theC:\Windows\Temp directory.Did you have to change a lot to get it working?Sankar.On Thu, 13 Jul 2006 15:58:57 -0500, Conor Todd <
[EMAIL PROTECTED]>wrote:> We're using Crickets too, and we have no problems with the> tinyos-1.1.15December2005 distro.> The code for the Crickets is pretty hairy.>>   - Conor
>>> On 7/13/06, Sankar Gorthi <[EMAIL PROTECTED]> wrote: Hi, My application had to deal with programming the Cricket series of motes,
>> and I assumed I would need to upgrade tinyOS to the 1.1.10Jan rpm which>> comes with their support CD. Apparently not. The code that they provide compiles in tinyos-1.1.0 just fine (after a
>> few>> major tweaks). I hope someone has a fix for this issue. Sankar. On Thu, 13 Jul 2006 08:57:27 -0500, goetgheb>> <
[EMAIL PROTECTED]>>> wrote: > Hi Andres>> >>> > Your problem is very strange...>> >
>> > For my side, I always compiled with the command "Make micaz install,0>> > mib510,com1" but when I upgraded the cygwin, it doesn't work... but>> with>> > ,/dev/ttyS0 it's ok again.
>> >>> > I think by default, it's command /dev/ttyS0 we should to use for>> tinyOS.>> > I am searching for your problem because it's different of mine.>> >
>> >>> > If you want used the tinyOS 1.1.10 version, you shouldn't need to>> update>> > your cygwin version and your cygwin tools...>> >>> >>> > --> Personnally, I never have modify my nesc 
1.1.0 to>> nesc-1.1.2bversion>> > I think it's the problem, you have changed your nesc version...>> > You should come back with the 1.1.0>> >>> > See you>> >
>> > Matt>> >>> > -Message d'origine->> > De: Sankar Gorthi [mailto:[EMAIL PROTECTED]]>> > Envoyé: mercredi 12 juillet 2006 19:25
>> > À: goetgheb; tinyos-help@millennium.berkeley.edu>> > Objet: Re: [Tinyos-help] Cygwin problem>> >>> > This can't be the problem, because the Programmer LED does glow when I
>> > specify the port name.>> >>> > Were you able to program the motes with /dev/ttyS0 etc?>> >>> > Sankar.>> >>> > On Wed, 12 Jul 2006 09:44:39 -0500, goetgheb
>> > <[EMAIL PROTECTED]>>> > wrote:>> >>> >> Andres gave me the answer.>>  >>
>> >> We should use ,/dev/ttyS0 and not com1 when we write the command>> under>> >> cygwin>>   >> I think the file where /dev/ttyS0 = com1 has been changed but I don't
>> >> know>> >> what is it?>>   >> Thanks for help>>   >> Sincerely>> >>
>>  >> Matt>>     >>> >>> >>>
>> -->> No opera plot can be sensible, for people do not sing when they are>> feeling sensible. - W. H. Auden>> ___>> Tinyos-help mailing list
>> Tinyos-help@Millennium.Berkeley.EDU>> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>--No opera plot can be sensible, for people do not sing when they arefeeling sensible. - W. H. Auden
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: RE : [Tinyos-help] Cygwin problem

2006-07-13 Thread Sankar Gorthi

It is isn't it (conspiratory nudge)?

I remember we tried to program the Crickets that we bought with the  
TinyOS-1.1.15 distro. Ended up with a lot of errors (I remember one of the  
more infamous ones in our group was the something.o file not found in the  
C:\Windows\Temp directory.


Did you have to change a lot to get it working?

Sankar.

On Thu, 13 Jul 2006 15:58:57 -0500, Conor Todd <[EMAIL PROTECTED]>  
wrote:



We're using Crickets too, and we have no problems with the
tinyos-1.1.15December2005 distro.
The code for the Crickets is pretty hairy.

  - Conor


On 7/13/06, Sankar Gorthi <[EMAIL PROTECTED]> wrote:


Hi,

My application had to deal with programming the Cricket series of motes,
and I assumed I would need to upgrade tinyOS to the 1.1.10Jan rpm which
comes with their support CD. Apparently not.

The code that they provide compiles in tinyos-1.1.0 just fine (after a  
few

major tweaks).

I hope someone has a fix for this issue.

Sankar.

On Thu, 13 Jul 2006 08:57:27 -0500, goetgheb  
<[EMAIL PROTECTED]>

wrote:

> Hi Andres
>
> Your problem is very strange...
>
> For my side, I always compiled with the command "Make micaz install,0
> mib510,com1" but when I upgraded the cygwin, it doesn't work... but  
with

> ,/dev/ttyS0 it's ok again.
>
> I think by default, it's command /dev/ttyS0 we should to use for  
tinyOS.

> I am searching for your problem because it's different of mine.
>
>
> If you want used the tinyOS 1.1.10 version, you shouldn't need to  
update

> your cygwin version and your cygwin tools...
>
>
> --> Personnally, I never have modify my nesc 1.1.0 to  
nesc-1.1.2bversion

> I think it's the problem, you have changed your nesc version...
> You should come back with the 1.1.0
>
> See you
>
> Matt
>
> -Message d'origine-
> De: Sankar Gorthi [mailto:[EMAIL PROTECTED]
> Envoyé: mercredi 12 juillet 2006 19:25
> À: goetgheb; tinyos-help@millennium.berkeley.edu
> Objet: Re: [Tinyos-help] Cygwin problem
>
> This can't be the problem, because the Programmer LED does glow when I
> specify the port name.
>
> Were you able to program the motes with /dev/ttyS0 etc?
>
> Sankar.
>
> On Wed, 12 Jul 2006 09:44:39 -0500, goetgheb
> <[EMAIL PROTECTED]>
> wrote:
>
>> Andres gave me the answer.
>>
>>
>> We should use ,/dev/ttyS0 and not com1 when we write the command  
under

>> cygwin
>>
>>
>> I think the file where /dev/ttyS0 = com1 has been changed but I don't
>> know
>> what is it?
>>
>>
>> Thanks for help
>>
>>
>> Sincerely
>>
>>
>> Matt
>>
>>
>>
>>
>
>
>



--
No opera plot can be sensible, for people do not sing when they are
feeling sensible. - W. H. Auden
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





--
No opera plot can be sensible, for people do not sing when they are  
feeling sensible. - W. H. Auden

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


RE: [Tinyos-help] Testing BlackbookFullConnect

2006-07-13 Thread David Moss
Found it.  The problem was in the BlackbookFullConnectM.nc module, outside
of the actual Blackbook5 core.  The payload of the TOS_Msg that contained
the retrieved dictionary value was being automatically erased.

I'm having trouble uploading files to CVS right now, but the
BlackbookFullConnectM.nc patch is attached.

Thanks for the bug find,
-David



-Original Message-
From: David Moss [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 13, 2006 9:44 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [Tinyos-help] Testing BlackbookFullConnect 


Glad to see you got the Java end working.  But this problem is a little
strange.  Let me run some tests to try to duplicate this and I'll get back
with you.

For reference, are you using a mica- type mote?  I remember experiencing
some problems with the way the mica-'s flash stores data.





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, July 13, 2006 2:02 AM
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] Testing BlackbookFullConnect 


Hi David,
Thanks for your help, but now I have another problem.
I'm following the blackbookconnect_readme.txt in order to 
test bdictionary interfac.
I'm able to inset a key in dictionary file but I'm not 
able to retrieve its value.
This is what i do:

blackbook bdictionary -insert 0xBEEF Test 4
BDictionary inserted SUCCESS: Key 0xBEEF Inserted

and

blackbook bdictionary -retrieve 0xbeef
BDictionary retrieved SUCCESS
00 00 00 00   |

this for every key that I insert.
Have you any ideas about this problem? Why it does not 
retrieve the value?

- Original Message -
From: "David Moss" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, July 12, 2006 6:29 PM
Subject: RE: [Tinyos-help] Testing BlackbookFullConnect


> You can find the Blackbook Java app in the TinyOS 1.x CVS under
> /contrib/rincon/tools/java/
> 
> The package is in that tools/java directory under com/rincon/blackbook. 
> 
> If you copy the /tools/java/com directory to your local TinyOS /tools/java
> directory, you can then run the BlackbookConnect program using:
> 
> java com.rincon.blackbook.BlackbookConnect
> 
> Hope that points you in the right direction,
> -David
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Wednesday, July 12, 2006 6:53 AM
> To: tinyos-help@Millennium.Berkeley.EDU
> Subject: [Tinyos-help] Testing BlackbookFullConnect 
> 
> 
> Hi David, I would know approximately the date when you'll 
> publish the TestBlackbook java application. I'w test the 
> BlackbookFullConnect application and I don't know how to 
> do.
> 
> Thank you.
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


BlackbookFullConnectM.nc
Description: Binary data
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Pause program

2006-07-13 Thread Sankar Gorthi
How about function pointers? You could point a function pointer to the  
function desired and call the pointer in the timer.fired().


Never tried it, but sounds simple enough.

Sankar.

On Thu, 13 Jul 2006 12:10:09 -0500, Tony Han <[EMAIL PROTECTED]> wrote:


Hi Sankar, thank you for your quick reply, I am currently using timer for
that purpose. Since I need pause my program in many different places,  
using
timer will make the program too ugly to read in the future. I just want  
to

know if there exist some function that will make it simple. But you are
right, timer works. Thanks again.

Tony

On 7/13/06, Sankar Gorthi <[EMAIL PROTECTED]> wrote:


I'm not sure if it's really a good idea, but I just add a timer and fire
it when I need to pause for a certain amount of time. Increment a  
counter
inside the timer.fired() event and then go back to the execution. Needs  
a

LOT of preplanned seperation and compaction of code, but it works.

Sankar.

On Thu, 13 Jul 2006 10:51:09 -0500, Tony Han <[EMAIL PROTECTED]>
wrote:

> Hey,
>
> I am wondering in NesC, is there any function can make program wait  
for

a
> few seconds? things like Sleep(10) in C++ or something similar.  
Anything

> can
> make program pause for a while.
>
> Thanks
>
> Tony



--
No opera plot can be sensible, for people do not sing when they are
feeling sensible. - W. H. Auden





--
No opera plot can be sensible, for people do not sing when they are  
feeling sensible. - W. H. Auden

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] restarting tmote without pressing the RESET button

2006-07-13 Thread Joe Polastre

ResetC.nc

-Joe

On 7/13/06, Hemanth Haridas <[EMAIL PROTECTED]> wrote:

Is there a way to restart the tmote without pressing the RESET button. I
mean, is there a command which I can call to do the restarting.

regards
hemanth
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Timer stops after Radio stop

2006-07-13 Thread Joe Polastre

This was a bug in the micaz stack (I assume you're using micaz).
You'll need to update from CVS.

-Joe

On 7/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hey all,
  I am trying to implement power management and need to shut off the radio.
Everything works fine and I take the first sensor reading, then shut the radio
off on sendDone event.  On the next timer fire i start the radio again, however
no packets are being transmitted.  Do i need to set a new timer?? what can I 
do??

THanks so much in advance!!

Josh

-
This mail sent through IMP: http://horde.org/imp/
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: RE : [Tinyos-help] Cygwin problem

2006-07-13 Thread Sankar Gorthi

Hi,

My application had to deal with programming the Cricket series of motes,  
and I assumed I would need to upgrade tinyOS to the 1.1.10Jan rpm which  
comes with their support CD. Apparently not.


The code that they provide compiles in tinyos-1.1.0 just fine (after a few  
major tweaks).


I hope someone has a fix for this issue.

Sankar.

On Thu, 13 Jul 2006 08:57:27 -0500, goetgheb <[EMAIL PROTECTED]>  
wrote:



Hi Andres

Your problem is very strange...

For my side, I always compiled with the command "Make micaz install,0
mib510,com1" but when I upgraded the cygwin, it doesn't work... but with
,/dev/ttyS0 it's ok again.

I think by default, it's command /dev/ttyS0 we should to use for tinyOS.
I am searching for your problem because it's different of mine.


If you want used the tinyOS 1.1.10 version, you shouldn't need to update
your cygwin version and your cygwin tools...


--> Personnally, I never have modify my nesc 1.1.0 to nesc-1.1.2b version
I think it's the problem, you have changed your nesc version...
You should come back with the 1.1.0

See you

Matt

-Message d'origine-
De : Sankar Gorthi [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 12 juillet 2006 19:25
À : goetgheb; tinyos-help@millennium.berkeley.edu
Objet : Re: [Tinyos-help] Cygwin problem

This can't be the problem, because the Programmer LED does glow when I
specify the port name.

Were you able to program the motes with /dev/ttyS0 etc?

Sankar.

On Wed, 12 Jul 2006 09:44:39 -0500, goetgheb  
<[EMAIL PROTECTED]>

wrote:


Andres gave me the answer.


We should use ,/dev/ttyS0 and not com1 when we write the command under
cygwin


I think the file where /dev/ttyS0 = com1 has been changed but I don't
know
what is it?


Thanks for help


Sincerely


Matt












--
No opera plot can be sensible, for people do not sing when they are  
feeling sensible. - W. H. Auden

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Pause program

2006-07-13 Thread Sankar Gorthi
I'm not sure if it's really a good idea, but I just add a timer and fire  
it when I need to pause for a certain amount of time. Increment a counter  
inside the timer.fired() event and then go back to the execution. Needs a  
LOT of preplanned seperation and compaction of code, but it works.


Sankar.

On Thu, 13 Jul 2006 10:51:09 -0500, Tony Han <[EMAIL PROTECTED]> wrote:


Hey,

I am wondering in NesC, is there any function can make program wait for a
few seconds? things like Sleep(10) in C++ or something similar. Anything  
can

make program pause for a while.

Thanks

Tony




--
No opera plot can be sensible, for people do not sing when they are  
feeling sensible. - W. H. Auden

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Pause program

2006-07-13 Thread Tony Han
Hey,

I am wondering in NesC, is there any function can make program wait for
a few seconds? things like Sleep(10) in C++ or something similar.
Anything can make program pause for a while. 

Thanks 

Tony
 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] FW: problems in broadcast networks

2006-07-13 Thread Munaretto, Daniel
Hi all,
 does anyone know if in TOSSIM, the usage of -rf=lossy brings to lose 
packets cause of an internal error model?  Does anyone know something about how 
TOSSIM handles this option? because by my side i cannot find any explanation on 
it (i hope the quite bizarre behaviour of my simulation is related to this 
internal model, so it would be the error's source..)
Thanks,
cheers
Daniele  
 

-Original Message- 
From: Munaretto, Daniel 
Sent: Thu 7/13/2006 11:30 AM 
To: tinyos-help@millennium.berkeley.edu 
Cc: 
Subject: problems in broadcast networks


Hi all,
in my project i simulate 2 kinds of wireless network. In the first one 
i use only flooding to disseminate information, in the other one a particular 
coded flooding. During my simulations in TOSSIM i understood it's better to use 
"random" timers to avoid collisions between motes. 
However using also quite large backoff intervals, i notice, for example:
 
- i have 4 nodes and in TOSSIM i specify grid topology, -rf=lossy and 
disc.radius=10. In this way one node can see only 2 neighbours, not 3.
Well, even managing large timers, node 2 is not able to forward any 
packets, but 0,1,3 are able.
I don't understand. However, in general, the nodes are not able to 
forward all packets they receive, and this is strange cause when i receive a 
packet i save it in a buffer and then i post a task to forward it after a 
random timer's fired.
 
Can anyone help me?
It' s really important!
Thanks very much for your availability
cheers
Daniele  


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] where to find the developer's kit worth $600

2006-07-13 Thread Lorenzo Mainardi
You can buy it at www.tinynode.com, it's a few of spam, but it's the more cheap that I have found
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] clearThreshold = -95 cannot be found in cc2420 data sheet

2006-07-13 Thread Philip Levis

On Jul 13, 2006, at 3:44 AM, Liu Haibin wrote:


Hi,

The clearThreshold in UscGainInterferenceModelC.nc is set to -95.  
It says that the value comes from cc2420 data sheet. But I searched  
the data sheet but didn't find it. So how does this value come out?  
Thanks.




The clearThreshold in the CC2420 data sheet is -72 dBm. The issue is  
that the propagation model is (currently) based off of mica2 data,  
which has lower RSSI values. This means that there's almost never any  
signal that's > -72 dBm. So I adjusted it to be -95, which is  
basically the equivalent value in terms of the RSSI ranges.


Once there's enough data collected on the CC2420, the plan is to use  
a model derived from that.


Phil



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Timer stops after Radio stop

2006-07-13 Thread bhushan bhatt
Hi Josh,    I have a question for you. I am trying to turn the radio off and i do it by calling the HPL function. I tried it but it doesnt seem to be working. I am using tmote. Can you tell me how are you able to turn the radio off ?Thanks,Bhushan[EMAIL PROTECTED] wrote: Hey all,  I am trying to implement power management and need to shut off the radio. Everything works fine and I take the first sensor reading, then shut the radiooff on sendDone event.  On the next timer fire i start the radio again, howeverno packets are being transmitted.  Do i need to set a new timer?? what can I do??THanks so much in advance!!Josh-This mail sent through IMP:
 http://horde.org/imp/___Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDUhttps://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Running query with where clause

2006-07-13 Thread Francisco
Hi Sam,
I'm trying to send queries like this with TinyDB:
 
SELECT nodeid, temp
FROM sensors
WHERE location = 'London'
SAMPLE PERIOD 1024
 
where location is an attribute stored on the mote (I have thought in the flash bacause it must be stored permanently).
So, I don't know if it is possible. 
How I can get the value of location while the query is running?  Which structure or file I have to modify?
 
Can you give any suggestion in order to follow the right direction?
Thank you.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] where to find the developer's kit worth $600

2006-07-13 Thread Liu Haibin
Hi Phil,I remember that you mentioned a developer's kit at $600. Where can I find it? Is there any link? I only found that xbow has a kit at $3000. Thanks a lot.Regards,Haibin
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Running query with where clause

2006-07-13 Thread Francisco
Hi Sam,
I'm trying to send queries like this:
 
SELECT nodeid, temp
FROM sensors
WHERE location = 'London'
SAMPLE PERIOD 1024
 
where location is an attribute stored on the mote (I have thought in the flash bacause it must be stored permanently).
So, I don't know if it is possible. 
How I can get the value of location while the query is running?  Which structure or file I have to modify?
 
Can you give any suggestion in order to follow the right direction?
Thank you.
 
 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] restarting tmote without pressing the RESET button

2006-07-13 Thread Hemanth Haridas
Is there a way to restart the tmote without pressing the RESET button. I 
mean, is there a command which I can call to do the restarting.


regards
hemanth
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] clearThreshold = -95 cannot be found in cc2420 data sheet

2006-07-13 Thread Liu Haibin
Hi,The clearThreshold in UscGainInterferenceModelC.nc is set to -95. It says that the value comes from cc2420 data sheet. But I searched the data sheet but didn't find it. So how does this value come out? Thanks.
Regards,Haibin
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] problems in broadcast networks

2006-07-13 Thread Munaretto, Daniel
Hi all,
in my project i simulate 2 kinds of wireless network. In the first one i use 
only flooding to disseminate information, in the other one a particular coded 
flooding. During my simulations in TOSSIM i understood it's better to use 
"random" timers to avoid collisions between motes. 
However using also quite large backoff intervals, i notice, for example:
 
- i have 4 nodes and in TOSSIM i specify grid topology, -rf=lossy and 
disc.radius=10. In this way one node can see only 2 neighbours, not 3.
Well, even managing large timers, node 2 is not able to forward any packets, 
but 0,1,3 are able.
I don't understand. However, in general, the nodes are not able to forward all 
packets they receive, and this is strange cause when i receive a packet i save 
it in a buffer and then i post a task to forward it after a random timer's 
fired.
 
Can anyone help me?
It' s really important!
Thanks very much for your availability
cheers
Daniele  

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyos2.x and cygwin1.dll error ( procedure entry point not located)

2006-07-13 Thread Philip Levis

On Jul 12, 2006, at 10:29 PM, Mohan Hambar wrote:



Hi All,

I have recently installed tinyos 2.x source tree on my windows
machine. I am unable compile any application in tinyos2.x as well
as in tinyos1.x. I am getting following error message in popup window.

"The procedure entry point basename could not be located in the
dynamic link library cygwin1.dll"

Anyone can put light on this issue?



I've generated a new nesC RPM for older (recommended) Cygwin  
installations. You can find it at


http://csl.stanford.edu/~pal/tinyos/nesc-1.2.7b-1.cygwin.i386.rpm

You can tell whether it is being used by tying

$ ncc --version

and you should see

nescc: 1.2.7b

I've updated the documentation on the trunk and devel branches; it  
should hopefully make its way to the online copies in tinyos.net soon.


Phil
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Testing BlackbookFullConnect

2006-07-13 Thread robycannone

Hi David,
Thanks for your help, but now I have another problem.
I'm following the blackbookconnect_readme.txt in order to 
test bdictionary interfac.
I'm able to inset a key in dictionary file but I'm not 
able to retrieve its value.

This is what i do:

blackbook bdictionary -insert 0xBEEF Test 4
BDictionary inserted SUCCESS: Key 0xBEEF Inserted

and

blackbook bdictionary -retrieve 0xbeef
BDictionary retrieved SUCCESS
00 00 00 00   |

this for every key that I insert.
Have you any ideas about this problem? Why it does not 
retrieve the value?


- Original Message -
From: "David Moss" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, July 12, 2006 6:29 PM
Subject: RE: [Tinyos-help] Testing BlackbookFullConnect



You can find the Blackbook Java app in the TinyOS 1.x CVS under
/contrib/rincon/tools/java/

The package is in that tools/java directory under com/rincon/blackbook. 


If you copy the /tools/java/com directory to your local TinyOS /tools/java
directory, you can then run the BlackbookConnect program using:

java com.rincon.blackbook.BlackbookConnect

Hope that points you in the right direction,
-David


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 6:53 AM
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] Testing BlackbookFullConnect 



Hi David, I would know approximately the date when you'll 
publish the TestBlackbook java application. I'w test the 
BlackbookFullConnect application and I don't know how to 
do.


Thank you.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyos2.x and cygwin1.dll error ( procedure entry point not located)

2006-07-13 Thread Philip Levis

On Jul 12, 2006, at 10:29 PM, Mohan Hambar wrote:



Hi All,

I have recently installed tinyos 2.x source tree on my windows
machine. I am unable compile any application in tinyos2.x as well
as in tinyos1.x. I am getting following error message in popup window.

"The procedure entry point basename could not be located in the
dynamic link library cygwin1.dll"

Anyone can put light on this issue?



The issue is a conflict between Cygwin versions.

The nesc 1.2.7a RPM was built for newer versions of Cygwin. If you  
install it on an older version, such as the one recommended for  
TinyOS, then it runs into this issue. We should have a new Cygwin RPM  
out shortly (1.2.7b) that works properly. Until then, you can build  
nesC from source.


Phil

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help