[Tinyos-help] access cc2420_header_t

2007-10-19 Thread dibesh shrestha
Can i access cc2420_header_t fields using tossim in tinyos 2.x? There is an interface CC2420PacketBody with the command getHeader(message_t *msg) but i couldn't use with tossim. Looking forward for help and suggestions. Thankyou. Dibesh. ___ Tinyos-hel

Re: [Tinyos-help] problems with ncc

2007-10-19 Thread Jeongyeup Paek
This has always been a problem. find ncc and nescc by doing - which ncc - which nescc Then open the 'ncc' script, and fix the path to 'nescc'. Probably from '/usr/local/bin/nescc' to '/usr/bin/nescc'. This also applies to all other scripts: mig, ncg, etc: Find mig and nescc-mig by doing - whi

Re: [Tinyos-help] Direct Parallel Access not defined

2007-10-19 Thread Jeongyeup Paek
/dev/ttys0 --> /dev/ttyS0 ?? Ajay Ravindra wrote: Hi, I'm trying use a serial programming board (MIB510) to program my mica2 motes. The uisp utility fails with the following error: [EMAIL PROTECTED]:/opt/tinyos-1.x/apps/Blink$ uisp -dprog=mib510 -dserial=/dev/ttys0 -dpart=ATmega128 --wr

Re: [Tinyos-help] tos-check-env problem

2007-10-19 Thread Jeongyeup Paek
Hi, I had similar problems with many other scripts: tos-locate-jre, tos-install-jni, etc. Open up the file and modify the first line from #!/bin/sh to #!/bin/bash This worked most of the time... Although I'm not 100% sure, I think this issue should be addressed. "tos-install-jni" also had probl

Re: [Tinyos-help] 'make micaz sim' goes wrong under Ubuntu 7.04

2007-10-19 Thread Jeongyeup Paek
You need ubuntu package 'build_essentials' do sudo apt-get install build-essential sudo apt-get install alien sudo alien -i avarice-2.4-1.i386.rpm sudo alien -i avr-insight-6.3-1.i386.rpm sudo alien -i avr-binutils-2.15tinyos-3.i386.rpm sudo alien -i avr-libc-1.2.3-1.i386.rpm sudo alien -i avr-gc

Re: [Tinyos-help] TOS_Msg size

2007-10-19 Thread Jeongyeup Paek
In your code, > length = sizeof(msg); is getting the size of a pointer... isn't it? which will probably be... 2 bytes? Thanks - jpaek Bhavish Aggarwal wrote: Hi, I've been trying to send a TOS_Msg struct over wires between 2 tmote sky nodes. One thing I am not sure about is what is the size

Re: [Tinyos-help] send out packets using Tosbase

2007-10-19 Thread Jeongyeup Paek
First, when SG receives a packet and re-send it back to mote#2, you should modify the address field (TOS_MsgPtr->addr) to mote#1's addr. If that is not the problem, I think the problem might be where SG send the packet back to mote#2. Did you check (on mote#2) whether it ever receives a packet fr

Re: [Tinyos-help] Undesired restart

2007-10-19 Thread Jeongyeup Paek
segmentation fault in the mote code is one cause of mote restart. Thanks - jpaek [EMAIL PROTECTED] wrote: I believe there may be some connection that I am not handling well. For some reason the motes restart during execution. When a mote is manually restarted, the probability of the mote r

Re: [Tinyos-help] Problems with XubunTOS y Tmote Sky.

2007-10-19 Thread Juan Antonio López Riquelme
Hi. Thanks for your reply. As i have problems with Vista as host i test with XP as host and in XP all OK. I know that i have to select the device in the list. I saw that when i choose a device, this is removes from the host and connect to the guest. If i use VMware from Vista as host, when i sel

Re: [Tinyos-help] Problems about sending TOS_Msg to serial port

2007-10-19 Thread Michael Schippling
Try digging through the DBG() code and see how they get to stdout, might be as simple as printf() I'd then suspect that there is some similar way you could use the moral equivalent of getline() or scanf() to get input. I'm not even sure what language the TOSSIM stuff is in so I can't help wit

Re: [TinyOs-help] problem in installation of TinyOs 1.1

2007-10-19 Thread Michael Schippling
The "sdk" thing is specific to T2, in T1 it should be something like .../tinyos.../tools/java And using java 1.5 is fine So what is your actual problem? Lalit Shah wrote: Hi, I have check that document and set the environment variables TOSROOT AND TOSDIR, but for the CLASSPATH variable I don'

[Tinyos-help] Undesired restart

2007-10-19 Thread under . actuate
I believe there may be some connection that I am not handling well. For some reason the motes restart during execution. When a mote is manually restarted, the probability of the mote restarting on its own a couple immediate times is pretty high. Then the mote stays on for quite a while. Around s

[Tinyos-help] instruction for

2007-10-19 Thread S. M. Mahdi Alavi
Hi there: If anybody has the newest instruction for setting communication mote with Matlab, I would be thankful to send me. I have a problem (undefined function or variable "net" appearing in workspace of Matlab) for the instruction that I have. Rgds Mahdi __

[Tinyos-help] MIB510 problem

2007-10-19 Thread Bo Xu
Dear all: I encountered a problem today: I uploaded the TOSBase program to mica2 mote through MIB510, the ISP light on MIB510 flashed when I used the command" make mica2 install". Usually, the D2 D7 and D4 light on MIB510 flash(not the ISP light) when I use this command, but right now, nothing

[Tinyos-help] (no subject)

2007-10-19 Thread Pablo Marcillo
__ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.e

Re: [Tinyos-help] Problems with XubunTOS y Tmote Sky.

2007-10-19 Thread Juan Antonio López Riquelme
Hi Kevin. Thank you for your answer. Can you tell me the steps that you dir for Tmote Sky appear in the list in VMware? Did you install the driver in XP, XubunTOS or both? Thanks and a greeting, Juan Antonio. 2007/10/19, Kevin Klues <[EMAIL PROTECTED]>: > > I only tested things with XP, and

Re: [Tinyos-help] Problems about sending TOS_Msg to serial port

2007-10-19 Thread Chan kenniel
Dear Michael, Is it possible to get the data from DBG(), if so, that would be definitely awesome. But I don't know how to get data from stdin and stdout, could you please give me some help on this? Thanks a lot. Best regards, Kenneth On 10/19/07, Michael Schippling <[EMAIL PROTECTED]> wrote: >

Re : [Tinyos-help] Urgent : Witch MAKEFILES are Hardware dependent ?

2007-10-19 Thread mejda chouaieb
Hello, You mean files under "C:\jennic\cygwin\opt\tinyos-2.x\support\make" : Makedefaults, Makefile and Makerules. I didn't check these files, but are these files hardware dependent ? I programmed a file under "C:\jennic\cygwin\opt\tinyos-2.x\support\make" named "isense.target", isense is my new

[Tinyos-help] send out packets using Tosbase

2007-10-19 Thread 吳俊樺
We have a problem trying to send out packets using Tosbase. Basically, when we use TOSBase to send out packets by calling "call RadioSend.send(gpTxMsg);", the receiving end fails to receive the packet. Our setup is as follows: Mote#1 uses GenericComm to send out and receive packets, mote#2 is