Hamza Tayeb | 4 May 00:19 2015
Picon

CC2420 and FHSS

Dear all

 

How to implement Frequency hopping on CC2420 radio chip ?

Thank you

 

 

Hamza



L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
www.avast.com


<div>

<div class="Section1">

<p class="MsoNormal"><span lang="EN-US">Dear all<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US"><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span lang="EN-US">How to implement Frequency hopping on
CC2420 radio chip ?<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">Thank you<p></p></span></p>

<p class="MsoNormal"><span lang="EN-US">&nbsp;</span><span lang="EN-CA"><p></p></span></p>

<p class="MsoNormal"><span lang="EN-CA"><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span lang="EN-CA">Hamza</span><p></p></p>

</div>

<br><br><table><tr>
<td>
			<a href="http://www.avast.com/">
				</a>
		</td>
		<td>
			<p>
				L'absence de virus dans ce courrier &eacute;lectronique a &eacute;t&eacute; v&eacute;rifi&eacute;e par le logiciel antivirus Avast.
				<br><a href="http://www.avast.com/">www.avast.com</a>
			</p>
		</td>
	</tr></table>
<br>
</div>
Antonis Tzounis | 3 May 14:10 2015
Picon

Problem with Yeti2 after updating tinyos-tools and make

Hello,
I recently updated my tinyos tools and since then there is a problem with my Eclipse/Yeti2 environment. I know that Yeti2 is quite old and not being developed any more, but it is still a very convenient tool. 
The initial problem was that Eclipse (Luna) doesn't start. It just gets stuck on the splash screen at  "Loading org.eclipse.ltk.ui.refactoring"
I reinstalled Eclipse and Yeti2 but now whenever I try to create or import a TinyOS project there are no platforms listed, therefore I cannot create any project.
Does anyone had similar problems? Is there any workaround to make Eclipse/Yeti2 work again?
Thank you in advance,
Antonis
<div><div dir="ltr">Hello,
<div>I recently updated my tinyos tools and since then there is a problem with my Eclipse/Yeti2 environment. I know that Yeti2 is quite old and not being developed any more, but it is still a very convenient tool.&nbsp;</div>
<div>The initial problem was that Eclipse (Luna) doesn't start. It just gets stuck on the splash screen at &nbsp;"Loading org.eclipse.ltk.ui.refactoring"</div>
<div>I reinstalled Eclipse and Yeti2 but now whenever I try to create or import a TinyOS project there are no platforms listed, therefore I cannot create any project.</div>
<div>Does anyone had similar problems? Is there any workaround to make Eclipse/Yeti2 work again?</div>
<div>Thank you in advance,</div>
<div>Antonis</div>
</div></div>
Z Z | 2 May 18:31 2015
Picon

Recieving a message

Hello!
I am new to TinyOS and dont know C.
I have a what I think is a simple question.
I am programming my telosb motes on xubuntos in tinyos-2.x and I have successfully changed the Oscilloscope application to use the onboard SensirionSht11 temperature sensors.
What I want to do now is to have two different versions of the Oscilloscope application.
Mote1 will measure the temperature and send its information to all motes in range, which is working.
Mote2 will also measure the temperature, but also read the temperature from mote 1 and then forward the mean value to mote3 with the unmodified BaseStation application installed on it.
So to my question.
How do I modify the Oscilloscope application for mote 2, to be able to read the message from mote1?

(Because of my lack of knowledge in C, I do not know how to retrieve the message in the event message_t* Receive.receive)

Thanks for the help!
Best Regards
K

Here is the module code I am using for mote1:


OscilloscopeC.nc


#include "Timer.h"
#include "Oscilloscope.h"

module OscilloscopeC <at> safe()
{
  uses {
    interface Boot;
    interface SplitControl as RadioControl;
    interface AMSend;
    interface Receive;
    interface Timer<TMilli>;
    interface Read<uint16_t>;
    interface Leds;
  }
}
implementation
{
  message_t sendBuf;
  bool sendBusy;

  uint16_t Temp;

  oscilloscope_t local;

  uint8_t reading;

  bool suppressCountChange;

  void report_problem() { call Leds.led0Toggle(); }
  void report_sent() { call Leds.led1Toggle(); }
  void report_received() { call Leds.led2Toggle(); }

  event void Boot.booted() {
    local.interval = DEFAULT_INTERVAL;
    local.id = TOS_NODE_ID;
    if (call RadioControl.start() != SUCCESS)
      report_problem();
  }

  void startTimer() {
    call Timer.startPeriodic(local.interval);
    reading = 0;
  }

  event void RadioControl.startDone(error_t error) {
    startTimer();
  }

  event void RadioControl.stopDone(error_t error) {
  }

  event message_t* Receive.receive(message_t* msg, void* payload, uint8_t len) {
    oscilloscope_t *omsg = payload;

    report_received();

    if (omsg->version > local.version)
      {
    local.version = omsg->version;
    local.interval = omsg->interval;
    startTimer();
      }
    if (omsg->count > local.count)
      {
    local.count = omsg->count;
    suppressCountChange = TRUE;
      }

    return msg;
  }


  event void Timer.fired() {
    if (reading == NREADINGS)
      {
    if (!sendBusy && sizeof local <= call AMSend.maxPayloadLength())
      {
        memcpy(call AMSend.getPayload(&sendBuf, sizeof(local)), &local, sizeof local);
        if (call AMSend.send(AM_BROADCAST_ADDR, &sendBuf, sizeof local) == SUCCESS)
          sendBusy = TRUE;
      }
    if (!sendBusy)
      report_problem();

    reading = 0;

    if (!suppressCountChange)
      local.count++;
    suppressCountChange = FALSE;
      }
    if (call Read.read() != SUCCESS)
      report_problem();
  }

  event void AMSend.sendDone(message_t* msg, error_t error) {
    if (error == SUCCESS)
      report_sent();
    else
      report_problem();

    sendBusy = FALSE;
  }

  event void Read.readDone(error_t result, uint16_t data) {
    if (result != SUCCESS)
      {
    data = 0xffff;
    report_problem();
      }
    if (reading < NREADINGS)

      Temp = (-39.6 + 0.01 * data);

      local.readings[reading++] = Temp;
  }
}


<div><div dir="ltr">Hello!<br>I am new to TinyOS and dont know C.<br>I have a what I think is a simple question.<br>I am programming my telosb motes on xubuntos in tinyos-2.x and I have successfully changed the Oscilloscope application to use the onboard SensirionSht11 temperature sensors.<br>What I want to do now is to have two different versions of the Oscilloscope application.<br>Mote1 will measure the temperature and send its information to all motes in range, which is working.<br>Mote2 will also measure the temperature, but also read the temperature from mote 1 and then forward the mean value to mote3 with the unmodified BaseStation application installed on it.<br>So to my question.<br>How do I modify the Oscilloscope application for mote 2, to be able to read the message from mote1?<br><br>(Because of my lack of knowledge in C, I do not know how to retrieve the message in the event message_t* Receive.receive)<br><br>Thanks for the help!<br>Best Regards<br>K<br><br>Here is the module code I am using for mote1:<br><br><br>OscilloscopeC.nc<br><br><br>#include "Timer.h"<br>#include "Oscilloscope.h"<br><br>module OscilloscopeC  <at> safe()<br>{<br>&nbsp; uses {<br>&nbsp;&nbsp;&nbsp; interface Boot;<br>&nbsp;&nbsp;&nbsp; interface SplitControl as RadioControl;<br>&nbsp;&nbsp;&nbsp; interface AMSend;<br>&nbsp;&nbsp;&nbsp; interface Receive;<br>&nbsp;&nbsp;&nbsp; interface Timer&lt;TMilli&gt;;<br>&nbsp;&nbsp;&nbsp; interface Read&lt;uint16_t&gt;;<br>&nbsp;&nbsp;&nbsp; interface Leds;<br>&nbsp; }<br>}<br>implementation<br>{<br>&nbsp; message_t sendBuf;<br>&nbsp; bool sendBusy;<br><br>&nbsp; uint16_t Temp;<br><br>&nbsp; oscilloscope_t local;<br><br>&nbsp; uint8_t reading; <br><br>&nbsp; bool suppressCountChange;<br><br>&nbsp; void report_problem() { call Leds.led0Toggle(); }<br>&nbsp; void report_sent() { call Leds.led1Toggle(); }<br>&nbsp; void report_received() { call Leds.led2Toggle(); }<br><br>&nbsp; event void Boot.booted() {<br>&nbsp;&nbsp;&nbsp; local.interval = DEFAULT_INTERVAL;<br>&nbsp;&nbsp;&nbsp; local.id = TOS_NODE_ID;<br>&nbsp;&nbsp;&nbsp; if (call RadioControl.start() != SUCCESS)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; report_problem();<br>&nbsp; }<br><br>&nbsp; void startTimer() {<br>&nbsp;&nbsp;&nbsp; call Timer.startPeriodic(local.interval);<br>&nbsp;&nbsp;&nbsp; reading = 0;<br>&nbsp; }<br><br>&nbsp; event void RadioControl.startDone(error_t error) {<br>&nbsp;&nbsp;&nbsp; startTimer();<br>&nbsp; }<br><br>&nbsp; event void RadioControl.stopDone(error_t error) {<br>&nbsp; }<br><br>&nbsp; event message_t* Receive.receive(message_t* msg, void* payload, uint8_t len) {<br>&nbsp;&nbsp;&nbsp; oscilloscope_t *omsg = payload;<br><br>&nbsp;&nbsp;&nbsp; report_received();<br><br>&nbsp;&nbsp;&nbsp; if (omsg-&gt;version &gt; local.version)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; local.version = omsg-&gt;version;<br>&nbsp;&nbsp;&nbsp; local.interval = omsg-&gt;interval;<br>&nbsp;&nbsp;&nbsp; startTimer();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; if (omsg-&gt;count &gt; local.count)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; local.count = omsg-&gt;count;<br>&nbsp;&nbsp;&nbsp; suppressCountChange = TRUE;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; return msg;<br>&nbsp; }<br><br><br>&nbsp; event void Timer.fired() {<br>&nbsp;&nbsp;&nbsp; if (reading == NREADINGS)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; if (!sendBusy &amp;&amp; sizeof local &lt;= call AMSend.maxPayloadLength())<br>&nbsp;&nbsp;&nbsp; &nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; memcpy(call AMSend.getPayload(&amp;sendBuf, sizeof(local)), &amp;local, sizeof local);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (call AMSend.send(AM_BROADCAST_ADDR, &amp;sendBuf, sizeof local) == SUCCESS)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sendBusy = TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp; }<br>&nbsp;&nbsp;&nbsp; if (!sendBusy)<br>&nbsp;&nbsp;&nbsp; &nbsp; report_problem();<br><br>&nbsp;&nbsp;&nbsp; reading = 0;<br><br>&nbsp;&nbsp;&nbsp; if (!suppressCountChange)<br>&nbsp;&nbsp;&nbsp; &nbsp; local.count++;<br>&nbsp;&nbsp;&nbsp; suppressCountChange = FALSE;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; if (call Read.read() != SUCCESS)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; report_problem();<br>&nbsp; }<br><br>&nbsp; event void AMSend.sendDone(message_t* msg, error_t error) {<br>&nbsp;&nbsp;&nbsp; if (error == SUCCESS)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; report_sent();<br>&nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; report_problem();<br><br>&nbsp;&nbsp;&nbsp; sendBusy = FALSE;<br>&nbsp; }<br><br>&nbsp; event void Read.readDone(error_t result, uint16_t data) {<br>&nbsp;&nbsp;&nbsp; if (result != SUCCESS)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; data = 0xffff;<br>&nbsp;&nbsp;&nbsp; report_problem();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; if (reading &lt; NREADINGS) <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Temp = (-39.6 + 0.01 * data);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local.readings[reading++] = Temp;<br>&nbsp; }<br>}<br><br><br>
</div></div>
Picon

Error flashing PPPRoute in gateway zolertia

I have this error when I tried to flash the Z1 embedded in zolertia gateway device, I cant directly connect  the z1 to linux computer , the z1 was not found, so I entered the gateway though a virtual terminal (gtkterm) and tried to compile PPRoute but it doesn´t  works (make z1 blip install)

Please your help


 /opt/TinyOS/tinyos-2.x/tos/lib/net/blip/IPForwardingEngineP.nc:253:15: warning: variable ‘next_hop_key’ set but not used [-Wunused-but-set-variable]
/opt/ZGW/toolchain/msp430-47/bin/../lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld: build/z1/main.exe section `.bss' will not fit in region `ram'
/opt/ZGW/toolchain/msp430-47/bin/../lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld: region `ram' overflowed by 1192 bytes
collect2: error: ld returned 1 exit status
make: *** [exe0] Error 1

<div><div dir="ltr">
<div>I have this error when I tried to flash the Z1&nbsp;embedded in zolertia gateway device, I cant&nbsp;<span>directly&nbsp;</span><span>connect &nbsp;the z1 to linux computer , the z1 was not found, so I entered the gateway though a virtual terminal (gtkterm) and tried to compile PPRoute but it doesn&acute;t &nbsp;works (</span>make z1 blip install<span>)</span>
</div>
<div><span><br></span></div>
<div><span>Please your help</span></div>
<div><span><br></span></div>
<div><span><br></span></div>
<div>
<span>&nbsp;</span><span>/opt/TinyOS/tinyos-2.x/tos/lib/net/blip/IPForwardingEngineP.nc:253:15: warning: variable &lsquo;next_hop_key&rsquo; set but not used [-Wunused-but-set-variable]</span>
</div>
<div>/opt/ZGW/toolchain/msp430-47/bin/../lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld: build/z1/main.exe section `.bss' will not fit in region `ram'</div>
<div>/opt/ZGW/toolchain/msp430-47/bin/../lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld: region `ram' overflowed by 1192 bytes</div>
<div>collect2: error: ld returned 1 exit status</div>
<div>make: *** [exe0] Error 1</div>
<div><br></div> 		 	   		  </div></div>
Li, Wenting | 29 Apr 18:06 2015
Picon

TinyOS system image and bootloader

Dear all,

I have several question with regard to the relation between the bootloader and TinyOS with the underlying device as MicaZ (or Atmega128). My goal is to understand how to upload an application to a specific memory address in the internal flash of Atmega128.

First, I want to confirm if what I learned is correct.

1. It seems that once I compiled a TinyOS application, e.g. Blink, the output (and uploaded) image includes the whole OS (necessary components and libraries in the dependencies) and the application BlinkApp, is it correct?

2. From the tutorial, it seems that I can only package one application into the system image, because in the Makefile I can only define one component. Is it correct? 

3. If 2. is correct, then the TinyOS is like a one task application. If I want to add another function, e.g., Bark, I have to modify the top component module as "BlinkAndBark", wire Blink and Bark components and start them asynchronously. Is it correct?

Here are my main questions:

I learned from the datasheet of Atmega128 that its internal flash is comprised of bootloader section (e.g. 0xF000 ~ 0xFFFF) and the application section (e.g. 0x0000~0xEFFF).

1. I want to put an application in the bootloader section and the other part in the applicatioin section, because I need the capability to write to internal flash. But the whole TOS image is too big to fit in bootloader section. So can I selectively choose a component to stay in bootloader section, and the other parts outside. How can I do it if TinyOS only allows the upload of one packaged system image?

2. I checked a bit about Deluge (using TOSBoot). It seems that the tosboot indicates -DTOSBOOT_START in the Makefile where to put tosboot. Does it mean that the rest stays elsewhere? But I compiled app/test/deluge/Blink, and its main.srec does not include address within 0xF000~0xFFFF according to the description of SREC format, only 0x0000~0x3610. I am confused...

3. How to write bootloader in TinyOS? Any tutorials, principle? I have only seen avr bootloader.

I am trying to understand it and finally build something. Any hint would be welcome!! Thanks a lot for your help!

regards,
Vivien




<div><div dir="ltr">Dear all,<div><br></div>
<div>I have several question with regard to the relation between the bootloader and TinyOS with the underlying device as MicaZ (or Atmega128). My goal is to understand how to upload an application to a specific memory address in the internal flash of Atmega128.</div>
<div><br></div>
<div>First, I want to confirm if what I learned is correct.</div>
<div><br></div>
<div>1. It seems that once I compiled a TinyOS application, e.g. Blink, the output (and uploaded) image includes the whole OS (necessary components and libraries in the dependencies) and the application BlinkApp, is it correct?</div>
<div><br></div>
<div>2. From the tutorial, it seems that I can only package one application into the system image, because in the Makefile I can only define one component. Is it correct?&nbsp;</div>
<div><br></div>
<div>3. If 2. is correct, then the TinyOS is like a one task application. If I want to add another function, e.g., Bark, I have to modify the top component module as "BlinkAndBark", wire Blink and Bark components and start them asynchronously. Is it correct?</div>
<div><br></div>
<div>Here are my main questions:</div>
<div><br></div>
<div>I learned from the datasheet of Atmega128 that its internal flash is comprised of bootloader section (e.g. 0xF000 ~ 0xFFFF) and the application section (e.g. 0x0000~0xEFFF).</div>
<div><br></div>
<div>1. I want to put an application in the bootloader section and the other part in the applicatioin section, because I need the capability to write to internal flash. But the whole TOS image is too big to fit in bootloader section. So can I selectively choose a component to stay in bootloader section, and the other parts outside. How can I do it if TinyOS only allows the upload of one packaged system image?</div>
<div><br></div>
<div>2. I checked a bit about Deluge (using TOSBoot). It seems that the tosboot indicates -DTOSBOOT_START in the Makefile where to put tosboot. Does it mean that the rest stays elsewhere? But I compiled app/test/deluge/Blink, and its main.srec does not include address within 0xF000~0xFFFF according to the description of SREC format, only 0x0000~0x3610. I am confused...</div>
<div><br></div>
<div>3. How to write bootloader in TinyOS? Any tutorials, principle? I have only seen avr bootloader.</div>
<div><br></div>
<div>I am trying to understand it and finally build something. Any hint would be welcome!! Thanks a lot for your help!</div>
<div><br></div>
<div>regards,</div>
<div>Vivien</div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
</div></div>
Mirko Lelansky | 27 Apr 22:37 2015
Picon

Help: Firmware Programming Shimmer version 2

Dear Sir or Madam,

I am using the TinyOS to programming the firmware of a Shimmer-sensor 
version 2.
I want to use the Accelerometer and the ECG with one senser and analyse 
the receive data.

The configuration of this isn't a problem a successfully configured the 
shimmerAnalogSetup interface, the timer to call the 
shimmerAnalogSetup.triggerConversion command, which fire the event 
DMA0.transferDone, when new data are available so that i can call 
DMA0.repeatTransfer to store the new data. This setup based on the 
SimpleAccel example under 
https://github.com/ShimmerResearch/tinyos-shimmer or under 
tinyos-2.x-contrib.

My problem is that when I receive a new value I have no information, if 
the new value are received by the Accelerometer or by the ECG. If there 
are any way to get the information, because I want to make different 
analyses on the values , this is why I need the information.

Yours faithfully
Mirko Lelansky
Hamza Tayeb | 21 Apr 22:27 2015
Picon

frequency hopping

Hi everybody

As indicated in the CC2420 manual " With CC2420 it is also possible to combine both DSSS and FHSS (frequency hopping
spread spectrum) in a proprietary non-IEEE 802.15.4 system ".
Could you please guide me on how to test frequency hopping and its impact on PRR and how can i do that on a telosb mote.
any help would be greatly appreciated.

 
HAMZA Tayeb
PhD student


National School of Engineering
University of Sousse, Tunisia
(+216) 52 03 51 52 
<div><div>
<div dir="ltr"><span>Hi everybody</span></div>
<div dir="ltr"><span><br></span></div>
<div dir="ltr">As indicated in the CC2420 manual " With CC2420 it is also possible to combine both DSSS and FHSS (frequency hopping</div>
<div dir="ltr" class="">spread spectrum) in a proprietary non-IEEE 802.15.4 system ".</div>
<div dir="ltr" class="">Could you please guide me on how to test frequency hopping and its impact on PRR and how can i do that on a telosb mote.</div>
<div dir="ltr" class="">any help would be greatly appreciated.</div>
<div dir="ltr" class=""><br></div>
<div></div>
<div>&nbsp;</div>
<div class="signature">
<span><span>HAMZA Tayeb</span><br><span>PhD student</span></span><br><br><span><span><span>National School of Engineering</span><br><span>University of Sousse, Tunisia</span><br></span><span><span>(+216) 52 03 51 52</span>&nbsp;</span></span>
</div>
</div></div>
Chahrazed Baghdadli | 21 Apr 16:14 2015
Picon

internet and wsn

hello everybody,
i wanna connect my wsn to internet, i'm making 6lowpan application,did someone have an idea please ?
<div><div dir="ltr">hello everybody,<br>i wanna connect my wsn to internet, i'm making 6lowpan application,did someone have an idea please ?</div></div>
Atif Naseer | 20 Apr 14:56 2015
Picon

LowPowerSensingAPP

Hi

I am new to TinyOS and want to run LowPowerSensingApp, I followed all the instruction of Readme file. Bu when i enter 's' and nodeid than it displays nothing. I am using telosB. Can you please help me ho to solve this.

Regards
<div><div dir="ltr">
<div>
<div>Hi<br><br>
</div>I am new to TinyOS and want to run 
LowPowerSensingApp, I followed all the instruction of Readme file. Bu 
when i enter 's' and nodeid than it displays nothing. I am using 
telosB. Can you please help me ho to solve this.<br><br>
</div>Regards</div></div>
Atif Naseer | 19 Apr 14:32 2015
Picon

Help-Sending and receiving message to Mote Using BaseStation

Hi
I am bit new to TinyOS. I need help in sending message to mote by using java application through basestation.
What i really want is to take control of all the nodes connected to the Basestation from their IDs and send  message to specific Node only (by providing NodeID).
Thanks
Atif


<div><div dir="ltr">
<div>
<div>
<div>
<div>Hi <br>
</div>I am bit new to TinyOS. I need help in sending message to mote by using java application through basestation. <br>
</div>What i really want is to take control of all the nodes connected to the Basestation from their IDs and send&nbsp; message to specific Node only (by providing NodeID).<br>
</div>Thanks <br>
</div>Atif<br><div><div>
<br><br>
</div></div>
</div></div>
Atif Naseer | 16 Apr 13:53 2015
Picon

PC-Mote Communication using JAVA API

Dear All

I m new to TinyOS environment. I successfully run Oscilloscope app of TinyOS and able to receive data from basestation by using Listen tool and Oscilloscope Java application.
Now I want to send some data from Java Application to sensor node and recieve the data when i request.
e.g If i sent node ID to Base-station than the node with this ID in the network send me its current state (Idle or active etc.)
Need some help in this regard.

Regards
 
<div><div dir="ltr">
<div>Dear All<br><br>
</div>
<div>I m new to TinyOS environment. I successfully run Oscilloscope app of TinyOS and able to receive data from basestation by using Listen tool and Oscilloscope Java application. <br>
</div>
<div>Now I want to send some data from Java Application to sensor node and recieve the data when i request.<br>
</div>
<div>e.g If i sent node ID to Base-station than the node with this ID in the network send me its current state (Idle or active etc.)<br>
</div>
<div>Need some help in this regard.<br><br>
</div>
<div>Regards<br>
</div>
<div>&nbsp;<br>
</div>
</div></div>

Gmane