Re: [Tinyos-help] Generating TOS message packets externally

2006-02-21 Thread Joe Polastre
Are you using the mig/java tools? If not, I recommend that approach as it automatically generates most of the things you need. For an example, see tinyos-1.x/contrib/ucb/apps/Pong -Joe On 2/20/06, Rick [EMAIL PROTECTED] wrote: Hello! I'm trying to generate TOS packets and send them to a

[Tinyos-help] Micaz ACK

2006-02-21 Thread Davide Di Palma
Hi, we are exploring micaz communication features. We have read on chipcon cc2420 datasheet that this transceiver implements an own acknowledgement procedure, setting register MDMCTRL0_autoack: we set this register using command: CC2420Control.enableAutoAck(); after enabling Addres decode

Re: [Tinyos-help] Micaz ACK

2006-02-21 Thread Martin Gercke
Hi, are you sure the FCF of your packets that need to be ACKed have the Request-ACK-Bit set? Only then ACKs are automatically send by the hardware. I've never worked on this with micaz, but on telosB this worked fine for me. Although I think the ACKs send by hardware were not compatible with

[Tinyos-help] Problems with TinyViz

2006-02-21 Thread pablop
Hello everybody. I'm trying to run a simulation with tossim but it indicates an error about Connecting to simulator failed. GUI executes fine but simulation doesn't work. I obtain the following in the cygwin shell: $tinyviz -run build/pc/main.exe 30 java -Dpython.cachedir=/tmp/jython.cache

Re: [Tinyos-help] Micaz ACK

2006-02-21 Thread Jeongyeup Paek
If you are snooping using regular methods to see whether the ack is sent, then you will not be able to see the ack. (regular meaning GenericCommmPromiscuous, TOSBase, etc) It is not that it doesn't transmit anything, but it is just that it does not show you anything. ACK is being sent, but

[Tinyos-help] Re: Stargate power supply etc.

2006-02-21 Thread Liangping Ma
Got answers to my own questions. As to the battery: UBP563450/PCM Lithium ION Rechargeable Battery (need 2) Ultralife Batteries, Inc. Part No: UBP002 http://www.ultralifebatteries.com/datasheet.php?ID=UBP002 As to the second quesiton: The connection is set up right. But you need to fasten the

[Tinyos-help] Documentation for contrib folder...

2006-02-21 Thread Dattatraya Gokhale
Hello...I am a starter here and I was browsing through the contrib folder in the tinyos directory... It has a larger number of useful modules and pieces of code.. Is there some documentation available for it? Especially so that it prevents others from re-inventing the wheel.. Regards--

Re: [Tinyos-help] Generating TOS message packets externally

2006-02-21 Thread Cory Sharp
net.tinyos.message.Message has a command dataGet() that returns a byte array of the complete message. I've attached an Excel spreadsheet that decribes a SurgeTelos data report packet at the byte level. Hopefully it can give you a better idea on how a message is organized. Cory On 2/21/06, Rick

Re: [Tinyos-help] Documentation for contrib folder...

2006-02-21 Thread Sankar Gorthi
Your first option would be to check out the accompanying README files which usually come with the demos in the contrib folder. #ifndef README check google. The designers might have a website. Your only other option would be to follow the code tree to understand how the code works. Sankar

Re: [Tinyos-help] Invalid serial port error.

2006-02-21 Thread davisj2
I am using my laptop also, and a USB-serial converter. I had to install software for that converter. Once that was installed, i check in windows control pannel/device manager/hardware and checked what com port was assigned to that usb port that the converter was plugged into. SO i would check

[Tinyos-help] power management

2006-02-21 Thread davisj2
Hey all, Trying to figure out how TEstSnooze actually works. I built it on my mica2, and the red LED lights up, but dont understand how to use the java toolchain to put to sleep. Also, Would really like to know how to put the mote to sleep, and wake it up every 15 mintues (for example), take

[Tinyos-help] TinyOS 2.0 Beta Test

2006-02-21 Thread Chang Li
I tested TinyOS 2.0 beta for windows with Cygwin today. It is better than 1.x. I just list several troubles. 1. The rpm -Uvh should be replaced by rpm -ivh --ignores --force Otherwise the rpm packages might not be installed. 2. msvcr71.dll is missed in the package for MSP430 tools. 3. JDK

Re: [Tinyos-help] TinyOS 2.0 Beta Test

2006-02-21 Thread David Gay
On 2/21/06, Chang Li [EMAIL PROTECTED] wrote: I tested TinyOS 2.0 beta for windows with Cygwin today. It is better than 1.x. I just list several troubles. Thanks for the feedback - a few comments 1. The rpm -Uvh should be replaced by rpm -ivh --ignores --force Otherwise the rpm packages

Re: [Tinyos-help] TinyOS 2.0 Beta Test

2006-02-21 Thread Chang Li
2. msvcr71.dll is missed in the package for MSP430 tools. Which tool actually needs that? (Kristin, can you look into this?) I think a DLL was compiled with Visual Studio C++ 2003. 3. JDK 1.5 was installed in another path but could not find the javac in command line. Was this Sun's JVM?

RE: [Tinyos-help] CC1000 Runtime Tuning

2006-02-21 Thread David Moss
Here's another datapoint - When I change the frequency of the CC1000 radio during runtime on a mote that is only set to receive, the receive carrier frequency is actually altered on the spectrum analyzer. So there's some software problem going on here with the CC1000 settings. -david

[Tinyos-help] call for resetting the EEPROM

2006-02-21 Thread Avinash Sridharan
Hi, Is there a call in the EEPROM API, which helps in resetting all the entries to say ? I want to avoid going through the whole EEPROM and writting in each line. -Avinash ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Problems with installing 1.15

2006-02-21 Thread Michael Newman
I decided to upgrade to 1.15. I properly uninstalled TinyOS and CYGWIN by following the instructions on the web site. The uninstall was not clean, I had to delete things manually. I then installed TinyOS 1.1.11 from tinyos-1.1.11-1is.exe.I made no changes at all. I put