[Tinyos-help] resource arbitration problem tinyos1.1

2007-06-14 Thread julien falco
Hi all, I am trying to read from port UARTO on a tmote sky. I was able to read until i tried to define two different MSP430ResourceUART0C to use two difference resource arbitration. I was hoping to get a better accuracy in reading values, but as it seems, I am not reading anything anymore, and

RE: [Tinyos-help] Using micaz with TinyDB

2007-06-14 Thread M.Mehdi Moniri
Hello, Thank you for your replies; they have helped me a lot. I think that i have the same Problem which you have had in November 2004. You have mentioned the solution in http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2004-November/006586.html I have modified #define MICA2MSGTYPE

[Tinyos-help] Multichannel Adc sampling and DMA

2007-06-14 Thread Nicolas Esteves
Hi, Is there a particular reason for the multi channel sampling methods to be unavailable in the AdcReadClient/AdcReadNowClient/AdcReadStreamClient whereas these methods are implemented in Msp430Adc12Impl. Is is for portability? I also found that no constant is available to use

RE: [Tinyos-help] Using micaz with TinyDB

2007-06-14 Thread Siirtola Harri
Hi, I can't remember other things I had to wiggle to get it working, sorry. Try the simplest configuration possible, no SerialForwarder, plain query commands (no conditions), different epochs etc. Perhaps you should take a look at the packet contents as I seem to have done, to see if it's

Re: [Tinyos-help] Documentation regarding exact contents of the MACProtocol Data Unit frame

2007-06-14 Thread R. Steve McKown
HI Pedro, How did you generate your original hex string? TestNetwork appears to be set up to use the C serial forwarder sf, so if I program some motes, start sf on the serial port and tn-listener on the port opened by sf, I get active message frames output without the serial frame

Re: [Tinyos-help] Documentation regarding exact contents of the MACProtocol Data Unit frame

2007-06-14 Thread Omprakash Gnawali
HI Pedro, How did you generate your original hex string? TestNetwork appears to be set * up to use the C serial forwarder sf, so if I program some motes, start sf on the serial port and tn-listener on the port opened by sf, I get active message frames output without the serial frame

Re: [Tinyos-help] Anyone used TinyOS 2.0 with TMote Sky

2007-06-14 Thread leonardo
Hi I would be very interested in using tmote sky on TinyOs 2. I apologize for the following trivial question but I am a new tinyos2 user. I would like to make and upload the blink application, what have I to do? For instance for a telos mote I have just to write make telos install and ncc,

[Tinyos-help] UART0 external sensor (almost) working ...

2007-06-14 Thread Riccardo
Dear All, Sorry for the length of the mail, but I hope this can help all people trying to integrate external serials sensors to telos b motes. I am trying to integrate an external sensor to a telosb mote , using the external UART0 interface. If my configuration doesn't include any radio

Re: [Tinyos-help] Generic Modules with Numeric Types?

2007-06-14 Thread David Gay
On 6/12/07, David Gay [EMAIL PROTECTED] wrote: On 6/12/07, J. Ryan Stinnett [EMAIL PROTECTED] wrote: Does the @number() attribute work across multiple layers? I would think that it should be able to, but perhaps I'm not using it correctly. I realize that the test case below wouldn't do

Re: [Tinyos-help] Documentation regarding exact contents of the MACProtocol Data Unit frame

2007-06-14 Thread R. Steve McKown
On Thursday 14 June 2007 08:48:07 Pedro Almeida wrote: Hello, Steve; I am using an application that came with the MicaZ CD, called Terminal v1.9b by Bray++. I can use it to read/write to the serial port. If I indeed read it with the java Listen, I dont get those encapsulation bytes. But the

Re: [Tinyos-help] Need help on receiving multiple messages in tinyos-2.x

2007-06-14 Thread Bernardo Avila Pires
I think it would be easier to deal with defining a struct for a message and then manipulating it as in BlinkToRadio... 2007/6/8, Murtuza [EMAIL PROTECTED]: Hello friends, I have 2 different questions. 1. I wanted to know how can I receive messages of different payload format i.e the payload

Re: [Tinyos-help] Anyone used TinyOS 2.0 with TMote Sky

2007-06-14 Thread David Gay
On 6/14/07, leonardo [EMAIL PROTECTED] wrote: Hi I would be very interested in using tmote sky on TinyOs 2. I apologize for the following trivial question but I am a new tinyos2 user. I would like to make and upload the blink application, what have I to do? For instance for a telos mote I

[Tinyos-help] problem with tos-install-jni

2007-06-14 Thread Ahmed Said
hi, when i try tos-install-jni i get an error that java is not found and not installing JNI code, and when i am installing the tinyos tools package i get the same error, although i have installed the JDK, can anyone help please thanks in advance Regards, Ahmed

Re: [Tinyos-help] problem with tos-install-jni

2007-06-14 Thread Michael Schippling
search this list for locate-jre There's often something wrong with that script such that it can't find the Java install. This is a good place to start: http://www.moteiv.com/community/TinyOS_Information MS Ahmed Said wrote: hi, when i try tos-install-jni i get an error that java is not found

Re: [Tinyos-help] Multichannel Adc sampling and DMA

2007-06-14 Thread Philip Levis
On Jun 14, 2007, at 6:19 AM, Nicolas Esteves wrote: Hi, Is there a particular reason for the multi channel sampling methods to be unavailable in the AdcReadClient/AdcReadNowClient/ AdcReadStreamClient whereas these methods are implemented in Msp430Adc12Impl. Is is for portability? Yes.

Re: [Tinyos-help] UART0 external sensor (almost) working ...

2007-06-14 Thread Philip Levis
On Jun 14, 2007, at 9:40 AM, Riccardo wrote: Dear All, Sorry for the length of the mail, but I hope this can help all people trying to integrate external serials sensors to telos b motes. I am trying to integrate an external sensor to a telosb mote , using the external UART0 interface.

[Tinyos-help] Send Multiple Custom Messages in nesC

2007-06-14 Thread projet19 projet19
Hi, We have done a nesC application capable of sending multiple custom messages ( MoteAppMsg, PositionMsg, ThresholdMsg) that are defined in a header file like that : *** typedef struct MoteAppMsg {

Re: [Tinyos-help] Documentation regarding exact contents of the MACProtocol Data Unit frame

2007-06-14 Thread Steve McKown
On Thursday 14 June 2007 13:01, Pedro Almeida wrote: Hi, Steve! Thanks for helping me in this neverending subject. That C SDK you mentioned is for the PC side, right? The app i'm developing is done in C#, and i've got the parser all set for the 32 bytes, everything is working fine, it's not

Re: [Tinyos-help] Need help on receiving multiple messages in tinyos-2.x

2007-06-14 Thread Steve McKown
On Friday 08 June 2007 13:58, Murtuza wrote: Hello friends, I have 2 different questions. 1. I wanted to know how can I receive messages of different payload format i.e the payload are of different sizes and structures from different motes to a common mote. I have seen the code for

[Tinyos-help] receiver soft output

2007-06-14 Thread Hegyi Barnabas
To Whom It May Concern, I would like to ask for information on whether it is possible to somehow access the so called soft outputs of the radio using the MICA2 platform. I had a look at the description of the CC1000 radio and found that the radio makes a hard decision on the received bit

[Tinyos-help] PrintF with Float Problems

2007-06-14 Thread John W. Barron
I am trying send a Float using TOS 2.x Printf. %d modifier works for ints, but %f %F %e %E and many others I have tried will not send a float or double number. the code: printf(%f , x) where x is a float will only return : f also, I can truncate the float with the (int)x modifier but in this

RE: [Tinyos-help] Documentation regarding exact contents of the MACProtocol Data Unit frame

2007-06-14 Thread David Moss
The protocol byte denotes no ack when communicating from the mote-PC, as you've pointed out. Without an ack request, there is no need for a sequence number, so it is removed. The next byte is the packet dispatch format, which is 0. This corresponds with TOS_SERIAL_MESSAGE_ID as defined in

Re: [Tinyos-help] Documentation regarding exact contents of the MACProtocol Data Unit frame

2007-06-14 Thread Pedro Almeida
Hello, Steve; I am using an application that came with the MicaZ CD, called Terminal v1.9b by Bray++. I can use it to read/write to the serial port. If I indeed read it with the java Listen, I dont get those encapsulation bytes. But the purpose of this app is to be read in a Windows environment,

Re: [Tinyos-help] Stop cribbing about your questions not being answered, this is not the right thing to do

2007-06-14 Thread vipin kashyap
Well Friend, I, perhaps, am not the only one with an unenviable predicament. Many others have probably spent sleepless nights trying to resolve the mystery of sampling Analog ADC channels. Here, I would like to place a link to ian's blog at tinyos.net

[Tinyos-help] Whole-program analysis

2007-06-14 Thread Zhifeng Lai
Dear all, Since there are interrupts in nesC, analyzing nesC programs will inevitably encounter interleaving semantics. In this case, how could whole-program analysis possible? Could anyone provide me pointers related to this issues. Thank you very much! Best regards, Zhifeng Lai

RE: [Tinyos-help] Two dismatches between nesC and MIG.

2007-06-14 Thread Zhifeng Lai
Dear David, I run the program in Cygwin, WinXP. How can I specify the platform? I am just not aware of this. It is weird that: typedef struct MyMsg1 { uint8_t field1; union { start_sense_args field2; } args; } MyMsg1; typedef struct MyMsg2 { union {

Re: [Tinyos-help] problem with tos-install-jni

2007-06-14 Thread Jeonghoon Kang
I am using Fedora Linux. I had some JNI error on TinyOS-1.x. You can fix most location problems with -- /opt/tinyos-1.x/tools/scripts/locate-jre -- /opt/tinyos-1.x/tools/java/jni/Makefile -- /opt/tinyos-1.x/tools/java/net/tinyos/util/Env.INSTALL In my case, *getenv* occurred problems. I fixed it

Re: [Tinyos-help] How to restart a TOSSIM simulation TinyOS 2.x

2007-06-14 Thread Philip Levis
On Jun 12, 2007, at 8:57 AM, Philip Levis wrote: On Jun 12, 2007, at 5:42 AM, Marek Jawurek wrote: Well I tried turning the nodes off and on again but I get a segmentation fault. So I tried the example c++ Driver from Tutorial 11 to be able to use gdb on it. I appended the Driver

Re: [Tinyos-help] How to restart a TOSSIM simulation TinyOS 2.x

2007-06-14 Thread Bernardo Avila Pires
BTW, has the TOSSIM dependence on old gcc versions been fixed? 2007/6/14, Philip Levis [EMAIL PROTECTED]: On Jun 12, 2007, at 8:57 AM, Philip Levis wrote: On Jun 12, 2007, at 5:42 AM, Marek Jawurek wrote: Well I tried turning the nodes off and on again but I get a segmentation fault. So I

[Tinyos-help] PrintBigMsg problem

2007-06-14 Thread emad soroush
Hello to all, Does anyone knows sth about the SerialStubFactory class needed in SoundRecorder application presented at http://tinyos.cvs.sourceforge.net/tinyos/tinyos-1.x/contrib/vu/apps/ it is needed by PrintBigMsg.java. Thanks Emad