[Tinyos-help] help-RSSI and Time stamp

2011-05-23 Thread gayathri g
Hi,
 I am working with micaz for my master's Thesis.I am using three motes ,one 
sender,one receiver and one as base station.I need to find the RSSI value of 
the 
packet send .How to find the RSSI value?how to convert it into dBm?Also I need 
to time stamp the same  to find out the time delay in sending and receiving the 
packet.I am thinkinhe receiver so the packet send g of using round trip time 
approach ,where each packet will be acknowledged by the receiver.Here sender 
will time stamp each packet it send,which will be retrieved at the receiver.The 
receiver will send an acknowldgement with time tamp ,so both time stamps are 
added and divided by 2.Is this method accurate to find out the time  delay.an I 
just add the time tamps as it is or is there any conversion of this time 
stamp.Please help me .

Thanks in advance.

R's,
gayathri
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Urgent: Display Mote Data

2011-05-23 Thread Saif Ahmad
How can I display communication messages and data exchanged between nodes
and BS using tinyos 2.1.1 on my Laptop.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Packet Link Interface CRC + SerialCommunication

2011-05-23 Thread Miguel Ángel Vázquez
Thank you Antonio,

So, as far as I understood, the serial packet interface makes the CRC
calculation from the payload given.

As a consequence, BaseStation does not provide the CRC from the radio packet
but from the serial itself. Am I right?

Cheers,

MA

El 23 de mayo de 2011 13:09, Antonio Liñán C. escribió:

> Hello,
>
> On Mon, 2011-05-23 at 12:53 +0200, Miguel Ángel Vázquez wrote:
> > Dear all,
> >
> > Sorry if my question is in the mailing list by I could not find it
> > clearly explained. Just two questions:
> >
> > - I would like to know if the Packet Link interface provides an error
> > correction communication (i.e. an ACK is only sent when the packet is
> > received and the CRC is fine).
> >
> > - I would also like to know how the CRC is calculated in the
> > SerialActiveMessage interface.
>
> If I'm not wrong (been quite long since I mess with this):
>
> In tos/lib/Serial/SerialP you can start by these calls:
>
> rxCRC = crcByte(rxCRC,data);
> txCRC = crcByte(txCRC,txProto);
>
> In tos/system you can find the crc primitives called before.
>
> You can go from here.
>
> Antonio.
>
> > Thank you in advance,
> >
> > Miguel Ángel
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] ADC resource sharing problem

2011-05-23 Thread Martin Kjeldsen
Great that you solved it! :)

It's good to know about the details of ADC resource handling. On our project
we had to make some additional changes because we had more than one ADC
configuration inside the same driver, i.e. sending 3-axis acceleration AND
temperature in the same transmission.

(This was not a pretty solution and was changed later : ))

Best,
Martin



On Mon, May 23, 2011 at 1:01 PM, Arena Marco <
marco.ar...@guest.telecomitalia.it> wrote:

>  Hi Kjeldsen,
> don't worry about that, I solved the problem, I moved the call
> ADC.getData() after call ADC.configure(&config,memctl,2,dbuff,3,0) and all
> works fine!
> Bye
> Marco
>
>
>  --
> *Da:* Martin Kjeldsen [kjeld...@gmail.com]
> *Inviato:* lunedì 23 maggio 2011 12.41
>
> *A:* Arena Marco
> *Cc:* tinyos-help@millennium.berkeley.edu
> *Oggetto:* Re: [Tinyos-help] ADC resource sharing problem
>
>  Hi Arena,
>
>  Sorry i completely missed your update on this subject. I'll get back to
> you as soon as i get get the chance to look through the sensor code.
>
>  Best regards,
> Martin
>
> On Tue, May 17, 2011 at 9:36 AM, Arena Marco <
> marco.ar...@guest.telecomitalia.it> wrote:
>
>> Hi Martin,
>> thanks for your answer. I'm trying to program the 1.3 shimmer mote adding
>> a flex gyro daughter board (plugged into the the expansion connector). I
>> don't have any problem in sending me data from the two sensors at the same
>> time, actually I have troubles in sending me data at different time. I
>> understood you have already used SPINE with different sensors, how do you
>> have implemented the resource sharing? If you need it I can show you the
>> code I wrote for the gyro (but is very similar to the one I've already
>> posted), I think my problem is in the Resource.release() method that it is
>> not called at the right time.
>>
>> Many thanks!
>> Marco
>> 
>> Da: Martin Kjeldsen [kjeld...@gmail.com]
>> Inviato: martedì 17 maggio 2011 8.36
>> A: Arena Marco
>> Cc: tinyos-help@millennium.berkeley.edu
>> Oggetto: Re: [Tinyos-help] ADC resource sharing problem
>>
>> Hi Arena,
>>
>> That's strange. If you were trying to access two sensors from the same
>> driver, i could imagine you'd have issues and would need to use resource
>> sharing. But i can't recall ever having issues with SPINE sending me data
>> from two seperate drivers at the same time.
>>
>> Which mote are you programming? What does the other driver do?
>>
>> Best regards,
>> Martin
>>
>>
>>   On Fri, May 13, 2011 at 11:50 AM, Arena Marco <
>> marco.ar...@guest.telecomitalia.it> marco.ar...@guest.telecomitalia.it>> wrote:
>> Dear All,
>> I'm trying to simultaneously support 2 sensors on a single shimmer mote. I
>> want to individually access the 2 sensors (e.g. sampling at different times)
>> and I'm are trying to use TinyOS Resource interface to share the ADC but I'm
>> dealing with some problems: it seems that the ADC is correctly configured
>> but I'm not signaled by the ADC correctly. It is like ADC.dataReady (I use
>> interface Msp430Adc12MultiChannel as ADC) is getting signalled to each
>> driver every time the ADC is sampled but sampling the two sensor with a
>> different rate, instead of receiving a dataReady event for each sensor at
>> the shortest sampling time I have the opposite behaviour. It looks like
>> resource arbiter doesn't work (it seems that the Resource.release event is
>> not called at the right moment), do you have any suggestion?
>> ==
>> Here is the code of one of the two sensor, the other one is similar:
>> configuration HilAccSensorC
>> {
>>  provides interface Sensor;
>> }
>> implementation
>> {
>>  components MainC, Mma7260P;
>>  components new Msp430Adc12ClientAutoRVGC() as ADC;
>>  components HilAccSensorP, SensorsRegistryC;
>>  //---
>>  components LedsC;
>>  //--
>>  ADC.AdcConfigure -> HilAccSensorP;
>>  HilAccSensorP.Resource -> ADC.Resource;
>>  HilAccSensorP.ADC -> ADC;
>>  MainC.SoftwareInit -> Mma7260P.Init;
>>  MainC.SoftwareInit -> HilAccSensorP.Init;
>>  //--
>>  HilAccSensorP.Leds -> LedsC;
>>  //--
>>  HilAccSensorP.Boot -> MainC;
>>  Sensor = HilAccSensorP;
>>  HilAccSensorP.Mma7260 -> Mma7260P;
>>  HilAccSensorP.SensorsRegistry -> SensorsRegistryC;
>> }
>> -
>> #include "Msp430Adc12.h"
>> #include "Mma7260.h"
>> module HilAccSensorP {
>>  provides interface AdcConfigure;
>>  provides interface Init;
>>  provides interface Sensor;
>>  uses interface Mma7260;
>>  uses interface Boot;
>>  uses interface SensorsRegistry;
>>  uses interface Msp430Adc12MultiChannel as ADC;
>>  uses interface Resource;
>>  //--
>>  uses interface Leds;
>>  //--
>> }
>> implementation {
>>uint16_t accData[3],dbuff[3];
>>uint8_t blinky = 0;
>>uint8_t valueTypesList[3] = { CH_1, CH_2, CH_3 };
>>uint8_t acquireTypesList[1] = { ALL };
>> 

Re: [Tinyos-help] Packet Link Interface CRC + SerialCommunication

2011-05-23 Thread C.
Hello,

On Mon, 2011-05-23 at 12:53 +0200, Miguel Ángel Vázquez wrote:
> Dear all,
> 
> Sorry if my question is in the mailing list by I could not find it
> clearly explained. Just two questions:
> 
> - I would like to know if the Packet Link interface provides an error
> correction communication (i.e. an ACK is only sent when the packet is
> received and the CRC is fine).
> 
> - I would also like to know how the CRC is calculated in the
> SerialActiveMessage interface. 

If I'm not wrong (been quite long since I mess with this):

In tos/lib/Serial/SerialP you can start by these calls:

rxCRC = crcByte(rxCRC,data);
txCRC = crcByte(txCRC,txProto);

In tos/system you can find the crc primitives called before.

You can go from here.

Antonio.

> Thank you in advance,
> 
> Miguel Ángel
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tossim compilation....plerase help me out..........

2011-05-23 Thread vinod kumar
I have installed tinyos-2.1.0.Its done completely and when I go for
compiling tossim,I am facing trouble.

when I type:
make micaz sim after I go to the tinyos-2.x/apps/Blink directory,I am
getting an error message:
make:*** No rule to make target 'micaz'.Stop.
Please help me out.I have been suffering with it for the last 2 days.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Packet Link Interface CRC + SerialCommunication

2011-05-23 Thread Miguel Ángel Vázquez
Dear all,

Sorry if my question is in the mailing list by I could not find it clearly
explained. Just two questions:

- I would like to know if the Packet Link interface provides an error
correction communication (i.e. an ACK is only sent when the packet is
received and the CRC is fine).

- I would also like to know how the CRC is calculated in the
SerialActiveMessage interface.

Thank you in advance,

Miguel Ángel
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyOs+UART

2011-05-23 Thread loulou liloucha

Hi...
 I am beginner in TinyOs 1.x,
 I would like to ask about UART, if i can send message (data) from PC to mote 
by using UART  but i need just to simulate this project.
 please I need your help..
 regards
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] ADC resource sharing problem

2011-05-23 Thread Martin Kjeldsen
Hi Arena,

Sorry i completely missed your update on this subject. I'll get back to you
as soon as i get get the chance to look through the sensor code.

Best regards,
Martin

On Tue, May 17, 2011 at 9:36 AM, Arena Marco <
marco.ar...@guest.telecomitalia.it> wrote:

> Hi Martin,
> thanks for your answer. I'm trying to program the 1.3 shimmer mote adding a
> flex gyro daughter board (plugged into the the expansion connector). I don't
> have any problem in sending me data from the two sensors at the same time,
> actually I have troubles in sending me data at different time. I understood
> you have already used SPINE with different sensors, how do you have
> implemented the resource sharing? If you need it I can show you the code I
> wrote for the gyro (but is very similar to the one I've already posted), I
> think my problem is in the Resource.release() method that it is not called
> at the right time.
>
> Many thanks!
> Marco
> 
> Da: Martin Kjeldsen [kjeld...@gmail.com]
> Inviato: martedì 17 maggio 2011 8.36
> A: Arena Marco
> Cc: tinyos-help@millennium.berkeley.edu
> Oggetto: Re: [Tinyos-help] ADC resource sharing problem
>
> Hi Arena,
>
> That's strange. If you were trying to access two sensors from the same
> driver, i could imagine you'd have issues and would need to use resource
> sharing. But i can't recall ever having issues with SPINE sending me data
> from two seperate drivers at the same time.
>
> Which mote are you programming? What does the other driver do?
>
> Best regards,
> Martin
>
>
> On Fri, May 13, 2011 at 11:50 AM, Arena Marco <
> marco.ar...@guest.telecomitalia.it marco.ar...@guest.telecomitalia.it>> wrote:
> Dear All,
> I'm trying to simultaneously support 2 sensors on a single shimmer mote. I
> want to individually access the 2 sensors (e.g. sampling at different times)
> and I'm are trying to use TinyOS Resource interface to share the ADC but I'm
> dealing with some problems: it seems that the ADC is correctly configured
> but I'm not signaled by the ADC correctly. It is like ADC.dataReady (I use
> interface Msp430Adc12MultiChannel as ADC) is getting signalled to each
> driver every time the ADC is sampled but sampling the two sensor with a
> different rate, instead of receiving a dataReady event for each sensor at
> the shortest sampling time I have the opposite behaviour. It looks like
> resource arbiter doesn't work (it seems that the Resource.release event is
> not called at the right moment), do you have any suggestion?
> ==
> Here is the code of one of the two sensor, the other one is similar:
> configuration HilAccSensorC
> {
>  provides interface Sensor;
> }
> implementation
> {
>  components MainC, Mma7260P;
>  components new Msp430Adc12ClientAutoRVGC() as ADC;
>  components HilAccSensorP, SensorsRegistryC;
>  //---
>  components LedsC;
>  //--
>  ADC.AdcConfigure -> HilAccSensorP;
>  HilAccSensorP.Resource -> ADC.Resource;
>  HilAccSensorP.ADC -> ADC;
>  MainC.SoftwareInit -> Mma7260P.Init;
>  MainC.SoftwareInit -> HilAccSensorP.Init;
>  //--
>  HilAccSensorP.Leds -> LedsC;
>  //--
>  HilAccSensorP.Boot -> MainC;
>  Sensor = HilAccSensorP;
>  HilAccSensorP.Mma7260 -> Mma7260P;
>  HilAccSensorP.SensorsRegistry -> SensorsRegistryC;
> }
> -
> #include "Msp430Adc12.h"
> #include "Mma7260.h"
> module HilAccSensorP {
>  provides interface AdcConfigure;
>  provides interface Init;
>  provides interface Sensor;
>  uses interface Mma7260;
>  uses interface Boot;
>  uses interface SensorsRegistry;
>  uses interface Msp430Adc12MultiChannel as ADC;
>  uses interface Resource;
>  //--
>  uses interface Leds;
>  //--
> }
> implementation {
>uint16_t accData[3],dbuff[3];
>uint8_t blinky = 0;
>uint8_t valueTypesList[3] = { CH_1, CH_2, CH_3 };
>uint8_t acquireTypesList[1] = { ALL };
>  uint8_t enableADC;
>
>  const msp430adc12_channel_config_t config = {
>  inch: INPUT_CHANNEL_A3,
>  sref: REFERENCE_VREFplus_AVss,
>  ref2_5v: REFVOLT_LEVEL_2_5,
>  adc12ssel: SHT_SOURCE_ACLK,
>  adc12div: SHT_CLOCK_DIV_1,
>  sht: SAMPLE_HOLD_4_CYCLES,
>  sampcon_ssel: SAMPCON_SOURCE_SMCLK,
>  sampcon_id: SAMPCON_CLOCK_DIV_1
>  };
>  adc12memctl_t memctl[2] = {
>   { INPUT_CHANNEL_A4, REFVOLT_LEVEL_2_5, 0},
>   { INPUT_CHANNEL_A5, REFVOLT_LEVEL_2_5, 1} };
>  command error_t Init.init() {
>return SUCCESS;
>  }
>
>event void Boot.booted() {
>  call Mma7260.setSensitivity(RANGE_6_0G);
>
>   // the driver self-registers to the sensor registry
>   call SensorsRegistry.registerSensor(ACC_SENSOR);
>   atomic {
>enableADC = 0;
>  }
>   }
>async command const msp430adc12_channel_config_t*
> AdcConfigure.getConfiguration()
>{
>  return &config;
>}
>event void Resource.granted() {
>  call ADC.configure(&config,memctl,2,dbuff,3,0);
> 

[Tinyos-help] (no subject)

2011-05-23 Thread fabrice fothe
  Hi every body,What are the basic steps to write the driver of the MICA2??Thank very much for responding !!


 ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TOSSIM compilation problem

2011-05-23 Thread vinod kumar
I have installed tinyos-2.1.0.Its done completely and when I go for
compiling tossim,I am facing trouble.

when I type:
make micaz sim after I go to the tinyos-2.x/apps/Blink directory,I am
getting an error message:
make:*** No rule to make target 'micaz'.Stop.
Please help me out.I have been suffering with it for the last 2 days.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Dissemination msg from Java

2011-05-23 Thread Tommaso Migliorini
Hi to all,
I have a simple program where I have implemented collection and
dissemination. With the collection I collect the data collected from
sensors, with the dissemination I send the new sampling times. From nesC
everything worked very well, but as I try to send the message dissemination
from java, this message does not start and the same basestation does not
notice this message. To send the message that should then be received and
forwarded through the classic methods Update.change() and Value.changed(),
use the send() method of MoteIF.
What is wrong?
Thanks
Tommaso Migliorini
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyos 2.x

2011-05-23 Thread amel leyla

Hi,
what is the graphical interface of tinyos 2.x ??
and how can i use it???
please answer this two questions.
Really i need your help
help me please.
Amel,
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] (no subject)

2011-05-23 Thread sid sid

Hay all;


 In my  simulation processes  when a node broadcast packet,every other node can 
hear from it ,now I wanna modify the radio range of sensor
 node ,can i achieve this purpose? how to increase or decrease the radio range 
of sensor node in NesC programing for TOSSIM
 simulation?
 
Anyone knows how to solve this problem ? I need your help or some suggestions , 
thanks a lot!
Cordilay .
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] what is the max energy of micaz node

2011-05-23 Thread srsini srsini
Hello , i want to compute the remaining energy in micaz and telosb? Any 
suggestion to help?
Have a good day ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] FEC with tinyos-2.x

2011-05-23 Thread Umay Kulsoom
Hello,
DO anyone have an idea how to implement Forward Error Correction in
TinyOS-2.x??

Thanks

-- 
Regards
Umay Kulsoom
Islamabad, Pakistan
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] (no subject)

2011-05-23 Thread ERBORAL Serkan

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Help IRIS uart0 bard rate

2011-05-23 Thread Li, Haixia
Hello Janos,

   I haved modified the files as you said. But, I still cannot read data 
from uart0. 

  I'm using IRIS. I want to read a sensor through Uart0. Some code I write 
are :

   components HplAtm128UartC;
   App.Uart0RxControl -> HplAtm128UartC.Uart0RxControl;
  App.HplUart0 -> HplAtm128UartC.HplUart0;

In the App file, use intefaces:
  interface StdControl as Uart0RxControl;
 interface HplAtm128Uart as HplUart0;


in the booted function:
  call Uart0RxControl.start();
 call HplUart0.enableRxIntr();

I thought  async event void HplUart0.rxDone(uint8_t data) will be signaled when 
the data are avaible. However, the program never runs into the function. 

Can you tell me what I can do to deal with this probem?  

 Thanks .

Haixia Li
 


From: sallai.ja...@gmail.com [sallai.ja...@gmail.com] on behalf of Janos Sallai 
[sal...@isis.vanderbilt.edu]
Sent: Thursday, May 19, 2011 9:04 AM
To: Li, Haixia
Cc: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] Help IRIS uart0 bard rate

Modify (or create a shadow copy) of chips/atm1281/HplAtm128UartC.nc in
which you change the line

ubrr0 = call Atm128Calibrate.baudrateRegister(PLATFORM_BAUDRATE);

to

ubrr0 = call Atm128Calibrate.baudrateRegister(1200);

The value returned by Atm128Calibrate.baudrateRegister(1200) should be
around 383.

Janos

On Wed, May 18, 2011 at 5:24 PM, Li, Haixia
 wrote:
> Hello everyone,
>
>  I'm using IRIS, mib510 with Tinyos2.x. I want to using UART0 to read a
> sensor. I try to use component HplAtm128UartC. How can I change the baud
> rate on UART0?
>  If I cannot use the component, do I need to use interface UartStream?
> In this interface, can I change the m_byte_time=3200 to set the baud rate to
> 1200?
>
> Any help will be appreciated.
>
> Haixia Li
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] WSN Questions

2011-05-23 Thread ibn86

Hello, 

Thank you very much, 

Best regards, 

Omprakash Gnawali-3 wrote:
> 
> On Sun, May 15, 2011 at 2:17 PM, ibn86  wrote:
>>
>> Hi,
>>
>> I work on a new project on WSN and I have some questions as I'm a novice
>> researcher. I have for a long time search in the net but I didn't have a
>> response.
>>
>> 1) Is there a web site dealing with WSN applications, methods and
>> simulations?
>>
>> 2) How to simulate a WSN routing algorithm or my own method?
>>
>> 3) If I want to implement my own routing algorithm, which programmation
>> langage or plateform should I use?
>>
>> 4) What are the components of a routing table of each sensor node?
> 
> This page is a good start:
> 
> http://docs.tinyos.net/index.php/TinyOS_Tutorials
> 
> - om_p
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> 

-- 
View this message in context: 
http://old.nabble.com/WSN-Questions-tp31624778p31674321.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] how to send the data through blip

2011-05-23 Thread C.
Hello,

If you're using blip, then you can send data to UPD ports using standard
libraries depending of the language you use, for example using java you
can reuse this code:

http://zolertia.sourceforge.net/wiki/index.php/UDPTemp#Java_Configuration_Sender

As you can see, we use these libraries in our example:

import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;

If you browse through the example you can get more information.

Regards,

Antonio.



On Mon, 2011-05-23 at 04:02 +0200, aca...@correo.ugr.es wrote:
> Hello Erick,
> 
> Actually, I don't sure if is better CoapBlip than Blip.  And because I am
> beginner in the TinyOS' world asked her if has an reason to use Blip, I
> thought probably she had used both or someone to knew strengths and
> weaknesses. Nowadays I am trying to do something similar that Emily, in my
> case get the sensors values (humidity, temperature,TSR,PAR in outdoor)
> from motes tmote sky, to store it in a database and then show it in a web
> page.  I think probably have a good support Blip because have the
> Listener.py (UDPEcho/utils) to manage the sockets.
> 
> I was proving CoapBlip, and is a good way (to beginners) operate the
> sensors from the mote since a first moment. I have uploaded this video
> about CoapBlip:
> 
> http://www.youtube.com/watch?v=zkB4uDhPblM
> 
> I'm still not sure about what is better (blip or CoapBlip) to this
> purpose, if you have an advice or  somebody else has worked in a similar
> project, I will thank a lot .
> 
> Regards,
> 
> Alejandro
> 
> > What pray tell is CoapBlip?
> >
> > Do you have a pointer to it?
> >
> >
> > Why are you saying it is better than Blip?  If it is better can you
> > state your reasons why you think it is better?   I don't have a vested
> > interest either way.   But I am always looking for good code bases I can
> > use.   I don't like reinventing the wheel.
> >
> > thanks,
> >
> > eric
> >
> >
> > On Fri, May 20, 2011 at 3:46 AM,  wrote:
> >
> >> Hello Emily,
> >>
> >> I have the same question, but besides I have an other. Why you are
> >> trying
> >> to work with Blip (UDPEcho) and not with CoapBlip? Is there some reason
> >> for this?.
> >>
> >> Regards,
> >>
> >> Alejandro.
> >>
> >> > hello every body
> >> >
> >> > i would like to ask about something in blip  , i want to build an
> >> > application over blip (6lowpan protocol) i want to know the correct
> >> way
> >> to
> >> > send the data  through it for example : i have to collect data and
> >> send
> >> it
> >> > to the base station through blip , i will say  what i did
> >> > i tried to creat new structure in new .h file and this structure
> >> contain
> >> > the
> >> > data what i have to send then in udpEchop.nc i define an object from
> >> that
> >> > structure then  i gave the variables of that object values then i
> >> tried
> >> to
> >> > send this ojbject through sendto function
> >> >
> >> > is it the correct way to send
> >> >
> >> >
> >> > would you please help me with this problem
> >> >
> >> > your time is much appreciated
> >> > ___
> >> > Tinyos-help mailing list
> >> > Tinyos-help@millennium.berkeley.edu
> >> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>
> >>
> >> ___
> >> Tinyos-help mailing list
> >> Tinyos-help@millennium.berkeley.edu
> >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>
> >
> >
> >
> > --
> > Eric B. Decker
> > Senior (over 50 :-) Researcher
> >
> 
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help