Re: [Tinyos-help] send value to file .txt

2007-07-17 Thread CASTEL Myriam
. And you can of course add a file write to any java program for which you have the source. I posted the necessary stream open method sequence (which is not entirely transparent) some time ago. MS CASTEL Myriam wrote: Hi, In the end of my application (with the mica2 and mib520), I need to store

[Tinyos-help] send value to file .txt

2007-07-16 Thread CASTEL Myriam
Hi, In the end of my application (with the mica2 and mib520), I need to store some values (but not all) send by the motes because I want to read them with Matlab. At the moment, I am using XSniffer. I can read the packets and put them manually in Matlab.But it is too long and I prefer to do

[Tinyos-help] relationship between RSSI and distance

2007-07-05 Thread CASTEL Myriam
Hello, I'm sorry if you already have had this message but my server lost all mail of yesterday afternoon, so I don't know if you received it and if you answered. Please reply you response if you have done one yesterday. I'm trying to use RSSI value to obtain the distance between two sensor

[Tinyos-help] relationship between RSSI and distance

2007-07-04 Thread CASTEL Myriam
Hello, I'm trying to use RSSI value to obtain the distance between two sensor nodes mica2. I know that a lot of such experiments are made and that a lot of people use this method. However, when I do the experiment, I obtain unexploitable results: - between 0 and 70 cm, I obtain always the

[Tinyos-help] how to observe raw data

2007-07-02 Thread CASTEL Myriam
Hello, I wrote some programs but I don't manage to see the data which are transmitted. I am using the software Moteworks. - I tried to use XServe (with XMeshBase programmed at the base station) by typing xserve -device=COM4 but no message is read. I just obtain: opening serial device:

[Tinyos-help] how to obtain RSSI with Mica2

2007-06-29 Thread CASTEL Myriam
Hello, I'm trying to obtain the RSSI value with Mica2 motes. -I programmed a component which stores the strength of a TOSMsg received: RSSI=*((uint8_t *)recv_packet-strength); But this doesn't give reasonnable results. I think this method is only for the micaz? Isn't it? - In the

[Tinyos-help] ADC.dataready()

2007-06-28 Thread CASTEL Myriam
Hello, In my application, I have a problem with the event ADC.dataready() of the component ADCC. In fact, the motes MICA2 enter always in the event and execute all the lines inside. However, the command ADC.getData() was never called. How is it possible? Thank you for your help

[Tinyos-help] problem with the command make

2007-06-27 Thread CASTEL Myriam
Hi! I have just installed the MoteWorks of Crossbow. The problem is that when I open the cygwin window, I have the message: bash: $'\r': command not found and when I type make pc in the application directory, the error is: bash: make: command not found Can anybody help me to solve the

[Tinyos-help] how to display RSSI

2007-05-16 Thread CASTEL Myriam
Hi, I know this subject was often discuted but I don't really understand how I can optain and display the value of the rssi. - I tried msg_ptr-strength in TOSBase but I don't know how to see the value (with xlisten, what file should be modified to display the rssi) -When I try to write my own

[Tinyos-help] Problem with Oscilloscope application

2007-05-10 Thread CASTEL Myriam
Hi, I'm trying tu run the oscilloscope application in micaz motes buy following the instruction of the tutorial Lesson 6: I typed: make micaz install mib510,/dev/ttyS0 and after: java net.tinyos.sf.SerialForwarder -comm [EMAIL PROTECTED]:57600 but nothing appears on the Serial Forwarder

Re: [Tinyos-help] Problem with Oscilloscope application

2007-05-10 Thread CASTEL Myriam
program defaults to being over the radio instead of direct to serial. MS CASTEL Myriam wrote: Hi, I'm trying tu run the oscilloscope application in micaz motes buy following the instruction of the tutorial Lesson 6: I typed: make micaz install mib510,/dev/ttyS0 and after: java

[Tinyos-help] installation with MicaZ

2007-05-09 Thread CASTEL Myriam
Hi, I'm using the micaz motes with the version 1.11 of TinyOS. To install the programm Blink on the mote, I type: make micaz install mib510,COM1 ou make micaz insatll mib510,/dev/ttyS0. But I have an error: probably the AVR MCU is not in the RESET state. Check it out and run me again. Can