[Tinyos-help] About ctp_routing_header_t* getHeader(message_t* ONE m)

2011-05-19 Thread 崔晓宗
ctp_routing_header_t* getHeader(message_t* ONE m) {
  return (ctp_routing_header_t*)call BeaconSend.getPayload(m, call
BeaconSend.maxPayloadLength());
 }

The code above is from Collection Tree Protocol.
What does the 'ONE' mean? Can anyone explain the parameter ( message_t* ONE
m ) for me? Thanks.

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

[Tinyos-help] TinyOS,Labview

2011-05-19 Thread giuseppe tummino
Good Morning ,
we are two students in Master Degree in Automation Engineering at University
of Catania (Sicily,Italy).
We are working on project about wireless sensor network with IRIS mote of
Crossbow.


We can establish connection between motes and PC(labview) using VISA tools
and we can read raw data (maybe in hexadecimal) coming from a mote but
we can't read out only the necessary information we need (the content of the
am packet).

We succeed in all this stuff in a linux environment (using Tinyos,
messageReader, serialForwarder,Listener Etc) but the project requests that
we use labview under Windows.

Can you give us some advices??

Greetings

Tummino Giuseppe
Università degli Studi di Catania
Master Degree in Automation Engineering And Control of Complex Systems.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Concerning RSSI values in TOSSIM

2011-05-19 Thread Mohamed Maalej
hi,
 I still have no solution, does anyone have ?

Best regards

2011/5/18 5 MAHIEDDINE Imene i_mahiedd...@esi.dz

 hello
  I had this problem and it resolved by adding this line in the makefile
 CFLAGS +=  -I$(TOSDIR)/chips/cc2420/packet

 but after you will get others instead this one. they have relation
 with CC2420.h ..., if you find how to resolve this one tell me please.
 I hope the best for you

 2011/5/18, Mohamed Maalej medmaa...@gmail.com:
   Hi all,
 
  I am using TinyOS 2.1.0 under Xubuntos in my project. I want to get the
 RSSI
  values in my simulation using TOSSIM as simulator. I used the command
 call
  CC2420Packet.getRssi(msg)
  The component is successfully buit. But when I built it for the
 simulation
  (make micaz sim), i get an error saying that the component CC2420PacketC
 not
  found.
 
  Any help please for this problem ?
 
  Thanks in advance,
 
  --
  Mohamed Maâlej
  Tél: 96481112
 




-- 
Mohamed Maâlej
Tél: 96481112
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] problem in implementing BLIP/RPL on Iris

2011-05-19 Thread Shrikant U Hallur
Hi Miklos,

 We are working on BLIP-rpl code ... which we downloaded from Tinyos
svn repo  tinyos-main.googlecode.com/svn/trunk/ tinyos-main-read-only
.. version we are using is r5510

  In this version BLIP uses cc2420 specific components at 2 files
IPDispatchC and Ieee154addressC, and i changed at these two places
and used Ieee154MessageC and ActiveMessageAddressC respectively..
but this code is not working for IRIS .. while analysing this i
found that rf230 radio is not starting at all... In the file
RF230DriverlayerP.nc the state of command 'cmd' is not changing to
CMC_SIGNAL_DONE it is remaining CMD_NONE only and hence this
component not signalling RadioState.done() to upper component... i
am not understanding why radio state is not changing ... do i need
to call any other additional command other than
splitControl.start()?  to make radio start?... can i get any
documents on rf230 radio stack implementation which helps me to
understand its implementation? please help...


ThanksRegards,
Shrikant U Hallur


 Hi Shrikant,

 I never used BLIP, but I was trying to get the RF230 driver in shape
 to support BLIP. Can you point to which version of BLIP are you using?
 Where are you downloading it?

 As far as I know, Ieee154MessageC worked on IRIS.

 Best,
 Miklos

 On Thu, May 12, 2011 at 11:50 AM, Shrikant U Hallur
 shrik...@ece.iisc.ernet.in wrote:

 Hello All,

      I am Shrikant from IISc Bangalore. i am trying to port BLIP/RPL
 on Iris motes, I went through the code and found that code is
 exclusivly written for CC2420 radio unlike the earlier BLIP/Hydro
 where we could able to implement BLIP on Iris... So i did the
 following changes in the BLIP/RPL code in order to make it work on
 Iris.

       I found that in BLIP code two files 'IPDispatchC.nc' and
 'Ieee154AddressC.nc' are wired to CC2420 specific components, i
 changed those wiring and wired IPDispatchP to Ieee154MessageC
 instead of CC2420RadioC and wired Ieee154AddressP to
 ActiveMessageAddressC instead of CC2420ControlC, (same way as in
 earlier BLIP/Hydro code) and made correspondent changes in there
 interfaces also..

     The modified code works well with TelosB motes, i can able to ping
 motes successfully, but code is not working for Iris, it was
 compilling successfully but Iris mote is not sending any kind of
 messages.

      While analysing the problem i found IPDispatchP is not getting
 'RadioControl.startDone' event,but it is successfully calling
 RadioControl.start command to Ieee154MessageC. That means to say
 Ieee154MessageC component found under /tos/platforms/iris/ is not
 sending the required event is the available Ieee154MessageC in
 Iris is proper working code?.. or i am missing something in this
 porting process?..  and which is making existing Ieee154MessageC not
 to work correctly?...

      Please help me in this... is there anybody working in making
 BLIP/RPL code independent of platforms? or is ther any recent
 version which already have this?... kindly help...


 Regards,
 Shrikant U Hallur
 IISC, Bangalore.




 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.



 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [Tinyos-help] problem in implementing BLIP/RPL on Iris

2011-05-19 Thread Miklos Maroti
Hi Shrikant,

Only the SplitControl.start is needed to start the radio stack,
nothing special. Can you verify that SplitControl.start is called?
Does this version of BLIP works on TelosB motes for you?

Best,
Miklos

On Thu, May 19, 2011 at 1:39 PM, Shrikant U Hallur
shrik...@ece.iisc.ernet.in wrote:
 Hi Miklos,

     We are working on BLIP-rpl code ... which we downloaded from Tinyos
 svn repo  tinyos-main.googlecode.com/svn/trunk/ tinyos-main-read-only
 .. version we are using is r5510

      In this version BLIP uses cc2420 specific components at 2 files
 IPDispatchC and Ieee154addressC, and i changed at these two places
 and used Ieee154MessageC and ActiveMessageAddressC respectively..
 but this code is not working for IRIS .. while analysing this i
 found that rf230 radio is not starting at all... In the file
 RF230DriverlayerP.nc the state of command 'cmd' is not changing to
 CMC_SIGNAL_DONE it is remaining CMD_NONE only and hence this
 component not signalling RadioState.done() to upper component... i
 am not understanding why radio state is not changing ... do i need
 to call any other additional command other than
 splitControl.start()?  to make radio start?... can i get any
 documents on rf230 radio stack implementation which helps me to
 understand its implementation? please help...


 ThanksRegards,
 Shrikant U Hallur


  Hi Shrikant,

 I never used BLIP, but I was trying to get the RF230 driver in shape
 to support BLIP. Can you point to which version of BLIP are you using?
 Where are you downloading it?

 As far as I know, Ieee154MessageC worked on IRIS.

 Best,
 Miklos

 On Thu, May 12, 2011 at 11:50 AM, Shrikant U Hallur
 shrik...@ece.iisc.ernet.in wrote:

 Hello All,

      I am Shrikant from IISc Bangalore. i am trying to port BLIP/RPL
 on Iris motes, I went through the code and found that code is
 exclusivly written for CC2420 radio unlike the earlier BLIP/Hydro
 where we could able to implement BLIP on Iris... So i did the
 following changes in the BLIP/RPL code in order to make it work on
 Iris.

       I found that in BLIP code two files 'IPDispatchC.nc' and
 'Ieee154AddressC.nc' are wired to CC2420 specific components, i
 changed those wiring and wired IPDispatchP to Ieee154MessageC
 instead of CC2420RadioC and wired Ieee154AddressP to
 ActiveMessageAddressC instead of CC2420ControlC, (same way as in
 earlier BLIP/Hydro code) and made correspondent changes in there
 interfaces also..

     The modified code works well with TelosB motes, i can able to ping
 motes successfully, but code is not working for Iris, it was
 compilling successfully but Iris mote is not sending any kind of
 messages.

      While analysing the problem i found IPDispatchP is not getting
 'RadioControl.startDone' event,but it is successfully calling
 RadioControl.start command to Ieee154MessageC. That means to say
 Ieee154MessageC component found under /tos/platforms/iris/ is not
 sending the required event is the available Ieee154MessageC in
 Iris is proper working code?.. or i am missing something in this
 porting process?..  and which is making existing Ieee154MessageC not
 to work correctly?...

      Please help me in this... is there anybody working in making
 BLIP/RPL code independent of platforms? or is ther any recent
 version which already have this?... kindly help...


 Regards,
 Shrikant U Hallur
 IISC, Bangalore.




 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.



 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.




 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.



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


Re: [Tinyos-help] GraphViz

2011-05-19 Thread Romain Bornet
Hi,

 I would like to know if i must install this GraphViz directly on my host or 
 on the VirtualBox.

If you, as you wrote, you work  program in your VirtualBox
environment then you'll have to install Graphviz on your Virtualbox
*guest* machine. This would make no sense to install it on your host
machine... Programs installed on your host are not visible from your
guest/Virtualbox.

  i would like to know how to  visualized the results
What kind of results do you want to visualize ? Graphviz and the
tutorial you mentioned are not for visualizing data (e.g. data
collected by your program running on the mote) but to generate a graph
of your application components (= graphical representation of your
code). Is it really what you want to do ?

Romain

On Wed, May 18, 2011 at 7:03 PM, amel leyla m198...@hotmail.fr wrote:

 Hi there,

 My project correctly work  today   but i would like to know how to  
 visualized the results . I have read the part of tutorial tinyos Visualizing 
 a Component Graph  also
 I have download Graphviz from internet. But i have problem.
 I work on the virtual machine, i have install  VirtualBox-4.0.4-70112-Win  my 
 host is windows 7. I program with tinyos 2.x
 I would like to know if i must install this GraphViz directly on my host or 
 on the VirtualBox or i should install another one.
  Really i'm totally confused
  I need to know how to visualize my results on the virtualbox  where i work 
  program.

 please help
 Regards
 Amel,

 ___
 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] TinyOS,Labview

2011-05-19 Thread Reinhard Berlach

Am 2011-05-19 11:29, schrieb giuseppe tummino:
 Good Morning ,
 we are two students in Master Degree in Automation Engineering at University
 of Catania (Sicily,Italy).
 We are working on project about wireless sensor network with IRIS mote of
 Crossbow.
 
 
 We can establish connection between motes and PC(labview) using VISA tools
 and we can read raw data (maybe in hexadecimal) coming from a mote but
 we can't read out only the necessary information we need (the content of the
 am packet).
 
 We succeed in all this stuff in a linux environment (using Tinyos,
 messageReader, serialForwarder,Listener Etc) but the project requests that
 we use labview under Windows.
 

Maybe U can use a TCP/IP Socket to connect to the SerialForwarder and
get your messages from there, or build your own java program that
forwards the data to a socket, which can communicate with Labview.

Greez Reinhard

 Can you give us some advices??
 
 Greetings
 
 Tummino Giuseppe
 Università degli Studi di Catania
 Master Degree in Automation Engineering And Control of Complex Systems.
 
-- 
Reinhard Berlach bakk.techn.

reinhard.berl...@student.tugraz.at

The only thing necessary for the triumph of evil
is good men to do nothing.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Re ad Adc - humidity value

2011-05-19 Thread George_1985

Hi , i use Tinyos-2..

I want to read humidity data from EC-5 soil sensor.
i want to read values from adc with SendingMote (RssiDemo) ,using also
compoment MicaBusC.

I have already motify the code but i i think need some help here.

New lines  


SendingMoteC.nc

#include ApplicationDefinitions.h
#include RssiDemoMessages.h

module SendingMoteC {
  uses interface Boot;
  uses interface TimerTMilli as SendTimer;
  uses interface GeneralIO as PW1;
  uses interface MicaBusAdc as Adc7
  
  uses interface AMSend as RssiMsgSend;
  uses interface SplitControl as RadioControl;
} implementation {
  message_t msg;
  
  event void Boot.booted(){
call RadioControl.start();
call PW1.makeOutput();
  }
  event void RadioControl.startDone(error_t result){
call SendTimer.startPeriodic(SEND_INTERVAL_MS);
  }
  event void RadioControl.stopDone(error_t result){}

  event void SendTimer.fired(){

call Adc7.getChannel();

call RssiMsgSend.send(AM_BROADCAST_ADDR, msg, sizeof(RssiMsg));
call PW1.toggle();
  }
  event void RssiMsgSend.sendDone(message_t *m, error_t error){}
}

Thank you.
-- 
View this message in context: 
http://old.nabble.com/Read-Adc---humidity-value-tp31655696p31655696.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] Tinyos-help Digest, Vol 97, Issue 64

2011-05-19 Thread Fahad Raees
Message 4: Re: problem in implementing BLIP/RPL

Hi Shrikant, 

If you go for downloading BLIP on svn, the code is given under the browse 
option in trunk and branches. I was using the BLIP/RPL on tmote and it was 
working with branches. The link is given below.

http://code.google.com/p/tinyos-main/source/browse/#svn%2Fbranches

So you can download the code and check BLIP/RPL.

Regards
Fahad


From: tinyos-help-boun...@millennium.berkeley.edu 
[tinyos-help-boun...@millennium.berkeley.edu] on behalf of 
tinyos-help-requ...@millennium.berkeley.edu 
[tinyos-help-requ...@millennium.berkeley.edu]
Sent: Thursday, May 19, 2011 3:13 PM
To: tinyos-help@millennium.berkeley.edu
Subject: Tinyos-help Digest, Vol 97, Issue 64

Send Tinyos-help mailing list submissions to
tinyos-help@millennium.berkeley.edu

To subscribe or unsubscribe via the World Wide Web, visit
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

or, via email, send a message with subject or body 'help' to
tinyos-help-requ...@millennium.berkeley.edu

You can reach the person managing the list at
tinyos-help-ow...@millennium.berkeley.edu

When replying, please edit your Subject line so it is more specific
than Re: Contents of Tinyos-help digest...


Today's Topics:

   1. About ctp_routing_header_t* getHeader(message_t* ONE  m) (???)
   2. TinyOS,Labview (giuseppe tummino)
   3. Re: Concerning RSSI values in TOSSIM (Mohamed Maalej)
   4. Re: problem in implementing BLIP/RPL on Iris (Shrikant U Hallur)
   5. Re: problem in implementing BLIP/RPL on Iris (Miklos Maroti)
   6. Re: GraphViz (Romain Bornet)
   7. Re: TinyOS,Labview (Reinhard Berlach)


--

Message: 1
Date: Thu, 19 May 2011 14:27:35 +0800
From: ??? cpp...@gmail.com
Subject: [Tinyos-help] About ctp_routing_header_t*
getHeader(message_t* ONEm)
To: Tinyos-help@millennium.berkeley.edu
Message-ID: banlktik2o4auzpog_5z_f5upjagnzr6...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

ctp_routing_header_t* getHeader(message_t* ONE m) {
  return (ctp_routing_header_t*)call BeaconSend.getPayload(m, call
BeaconSend.maxPayloadLength());
 }

The code above is from Collection Tree Protocol.
What does the 'ONE' mean? Can anyone explain the parameter ( message_t* ONE
m ) for me? Thanks.

--
Regards,
Xiaozong Cui
-- next part --
An HTML attachment was scrubbed...
URL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110519/b28399c1/attachment-0001.htm

--

Message: 2
Date: Thu, 19 May 2011 11:29:52 +0200
From: giuseppe tummino peppetumm...@gmail.com
Subject: [Tinyos-help] TinyOS,Labview
To: tinyos-help@millennium.berkeley.edu
Message-ID: banlktinfq3rgae5sufoezfrfqjgac80...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

Good Morning ,
we are two students in Master Degree in Automation Engineering at University
of Catania (Sicily,Italy).
We are working on project about wireless sensor network with IRIS mote of
Crossbow.


We can establish connection between motes and PC(labview) using VISA tools
and we can read raw data (maybe in hexadecimal) coming from a mote but
we can't read out only the necessary information we need (the content of the
am packet).

We succeed in all this stuff in a linux environment (using Tinyos,
messageReader, serialForwarder,Listener Etc) but the project requests that
we use labview under Windows.

Can you give us some advices??

Greetings

Tummino Giuseppe
Universit? degli Studi di Catania
Master Degree in Automation Engineering And Control of Complex Systems.
-- next part --
An HTML attachment was scrubbed...
URL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110519/ef30a6bc/attachment-0001.htm

--

Message: 3
Date: Thu, 19 May 2011 12:44:27 +0200
From: Mohamed Maalej medmaa...@gmail.com
Subject: Re: [Tinyos-help] Concerning RSSI values in TOSSIM
To: Tinyos-help@millennium.berkeley.edu
Message-ID: BANLkTin_Yq8wzqjKMUmBLErwu=r6ube...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

hi,
 I still have no solution, does anyone have ?

Best regards

2011/5/18 5 MAHIEDDINE Imene i_mahiedd...@esi.dz

 hello
  I had this problem and it resolved by adding this line in the makefile
 CFLAGS +=  -I$(TOSDIR)/chips/cc2420/packet

 but after you will get others instead this one. they have relation
 with CC2420.h ..., if you find how to resolve this one tell me please.
 I hope the best for you

 2011/5/18, Mohamed Maalej medmaa...@gmail.com:
   Hi all,
 
  I am using TinyOS 2.1.0 under Xubuntos in my project. I want to get the
 RSSI
  values in my simulation using TOSSIM as simulator. I used the command
 call
  CC2420Packet.getRssi(msg)
  The component is successfully buit. But when I built it for the
 simulation
  (make micaz

[Tinyos-help] simplemac sample application

2011-05-19 Thread Chethan P
Hi,

I'm able to compile and run simple BlinktimerLed on cc2430em , now I want 
to try simplemac application ,but the sample code which is provided in the 
TinyOS -2.x  is not working ,
I'm not able to compile , can you pls provide the simplemac  working code 
for cc2430em  ..?
And if I want to port same to cc2530em what is changes I have to make ..?

regards 
Chethan K P
Tata Consultancy Services
Abhilash Software Development Centre,
Plot No. 96, EPIP Industrial Area, Whitefield,
Bangalore - 560066,Karnataka
India
Cell:- 09343401717
Mailto: chetha...@tcs.com
Website: http://www.tcs.com

Experience certainty.   IT Services
Business Solutions
Outsourcing

=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


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

Re: [Tinyos-help] About ctp_routing_header_t* getHeader(message_t* ONE m)

2011-05-19 Thread Xiaohui Liu
ONE means a pointer that always refers to a single object, similar to a C++
reference.
http://docs.tinyos.net/index.php/Safe_TinyOS

On Thu, May 19, 2011 at 2:27 AM, 崔晓宗 cpp...@gmail.com wrote:

 ctp_routing_header_t* getHeader(message_t* ONE m) {
   return (ctp_routing_header_t*)call BeaconSend.getPayload(m, call
 BeaconSend.maxPayloadLength());
  }

 The code above is from Collection Tree Protocol.
 What does the 'ONE' mean? Can anyone explain the parameter ( message_t* ONE
 m ) for me? Thanks.

 --
 Regards,
 Xiaozong Cui


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




-- 
-Xiaohui Liu
___
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-19 Thread Janos Sallai
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
hai...@ostatemail.okstate.edu 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


[Tinyos-help] Fwd: Simulators for clock drift

2011-05-19 Thread Aylin Kantarci
Hello,

We are studying clock synchronization in WSN.

Is it possible to simulate clock drift in TOSSIM? Are there such studies?

If not, do you now any other simulator that we can simulate clock drifts for
WSN?

Regards


-- 
Doç. Dr./Assoc. Prof. Dr.  Aylin KANTARCI
Bilgisayar Muhendisliği Bölümü/Computer Engineering Department
Ege Universitesi/Ege University
Tel: 232-3115316
Fax: 232-3399405
http: efe.ege.edu.tr/~kantarci





-- 
Doç. Dr./Assoc. Prof. Dr.  Aylin KANTARCI
Bilgisayar Muhendisliği Bölümü/Computer Engineering Department
Ege Universitesi/Ege University
Tel: 232-3115316
Fax: 232-3399405
http: efe.ege.edu.tr/~kantarci
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyOS,Labview

2011-05-19 Thread Breno Guimarães
Hi guys.
I've wrote a program to send and receive messages from a base (using
BaseStation application) and it works pretty well. It's written in C++ for
windows.

Maybe you could read this:
http://pdfcast.org/pdf/tinyos-and-serial-port-communication-using-c-c

http://pdfcast.org/pdf/tinyos-and-serial-port-communication-using-c-cA
little guide I wrote, to help you starting on that.
If you want any more detailed information, I would be glad to help.

2011/5/19 Reinhard Berlach reinhard.berl...@student.tugraz.at


 Am 2011-05-19 11:29, schrieb giuseppe tummino:
  Good Morning ,
  we are two students in Master Degree in Automation Engineering at
 University
  of Catania (Sicily,Italy).
  We are working on project about wireless sensor network with IRIS mote of
  Crossbow.
 
 
  We can establish connection between motes and PC(labview) using VISA
 tools
  and we can read raw data (maybe in hexadecimal) coming from a mote but
  we can't read out only the necessary information we need (the content of
 the
  am packet).
 
  We succeed in all this stuff in a linux environment (using Tinyos,
  messageReader, serialForwarder,Listener Etc) but the project requests
 that
  we use labview under Windows.
 

 Maybe U can use a TCP/IP Socket to connect to the SerialForwarder and
 get your messages from there, or build your own java program that
 forwards the data to a socket, which can communicate with Labview.

 Greez Reinhard

  Can you give us some advices??
 
  Greetings
 
  Tummino Giuseppe
  Università degli Studi di Catania
  Master Degree in Automation Engineering And Control of Complex Systems.
 
 --
 Reinhard Berlach bakk.techn.

 reinhard.berl...@student.tugraz.at

 The only thing necessary for the triumph of evil
 is good men to do nothing.
 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
Breno Rodrigues Guimarães
Universidade Federal de Minas Gerais - UFMG, Brasil
(Federal University of Minas Gerais, Brazil)
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Re ad Adc - humidity value

2011-05-19 Thread George_1985

With all this i mean that , i want to get the right ADC channel , sample the
value , store it in a struct and send it to Base and then to pc.





George_1985 wrote:
 
 Hi , i use Tinyos-2..
 
 I want to read humidity data from EC-5 soil sensor.
 i want to read values from adc with SendingMote (RssiDemo) ,using also
 compoment MicaBusC.
 
 I have already motify the code but i i think need some help here.
 
 New lines  
 
 
 SendingMoteC.nc
 
 #include ApplicationDefinitions.h
 #include RssiDemoMessages.h
 
 module SendingMoteC {
   uses interface Boot;
   uses interface TimerTMilli as SendTimer;
   uses interface GeneralIO as PW1;
   uses interface MicaBusAdc as Adc7
   
   uses interface AMSend as RssiMsgSend;
   uses interface SplitControl as RadioControl;
 } implementation {
   message_t msg;
   
   event void Boot.booted(){
 call RadioControl.start();
 call PW1.makeOutput();
   }
   event void RadioControl.startDone(error_t result){
 call SendTimer.startPeriodic(SEND_INTERVAL_MS);
   }
   event void RadioControl.stopDone(error_t result){}
 
   event void SendTimer.fired(){
 
 call Adc7.getChannel();
 
 call RssiMsgSend.send(AM_BROADCAST_ADDR, msg, sizeof(RssiMsg));
 call PW1.toggle();
   }
   event void RssiMsgSend.sendDone(message_t *m, error_t error){}
 }
 
 Thank you.
 

-- 
View this message in context: 
http://old.nabble.com/Read-Adc---humidity-value-tp31655696p31658429.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] Re ad Adc - humidity value

2011-05-19 Thread George_1985

I use Iris Mote and MDA100CB development area.


George_1985 wrote:
 
 With all this i mean that , i want to get the right ADC channel , sample
 the value , store it in a struct and send it to Base and then to pc.
 
 
 George_1985 wrote:
 
 Hi , i use Tinyos-2..
 
 I want to read humidity data from EC-5 soil sensor.
 i want to read values from adc with SendingMote (RssiDemo) ,using also
 compoment MicaBusC.
 
 I have already motify the code but i i think need some help here.
 
 New lines  
 
 
 SendingMoteC.nc
 
 #include ApplicationDefinitions.h
 #include RssiDemoMessages.h
 
 module SendingMoteC {
   uses interface Boot;
   uses interface TimerTMilli as SendTimer;
   uses interface GeneralIO as PW1;
   uses interface MicaBusAdc as Adc7
   
   uses interface AMSend as RssiMsgSend;
   uses interface SplitControl as RadioControl;
 } implementation {
   message_t msg;
   
   event void Boot.booted(){
 call RadioControl.start();
 call PW1.makeOutput();
   }
   event void RadioControl.startDone(error_t result){
 call SendTimer.startPeriodic(SEND_INTERVAL_MS);
   }
   event void RadioControl.stopDone(error_t result){}
 
   event void SendTimer.fired(){
 
 call Adc7.getChannel();
 
 call RssiMsgSend.send(AM_BROADCAST_ADDR, msg, sizeof(RssiMsg));
 call PW1.toggle();
   }
   event void RssiMsgSend.sendDone(message_t *m, error_t error){}
 }
 
 Thank you.
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Read-Adc---humidity-value-tp31655696p31658449.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


[Tinyos-help] Fwd: Fwd: [tinyos-help] Get the level energy in Wireless Sensor Network

2011-05-19 Thread Marianna Araujo
-- Forwarded message --
From: Marianna Araujo marianna.angel...@gmail.com
Date: 2011/5/18
Subject: Re: [Tinyos-help] Fwd: [tinyos-help] Get the level energy in
Wireless Sensor Network
To: Antonio Linan ali...@zolertia.com


I'd like know how obtain the power level of the nodes in a WSN. I imagine
that TinyOS provides that. Anyone know how?

Regards,


2011/5/12 Antonio Linan ali...@zolertia.com

 Energy levels of a sensor or a mote?

 If you mean the sensor, oddly, for example the Sht1X has a register
 which can be read to know when VCC is below the recommended level.

 If you mean reading the mote's energy.. reading the battery level
 periodically? using the ADC ports? It would help a LOT if you specify
 at least which mote are you using...

 If you really want responses, at least provide useful information, and
 try doing your homework first (at least browsing other people code or
 googling) before asking for ideas.

 Antonio.

 On Thu, May 12, 2011 at 8:22 PM, Marianna Araujo
 marianna.angel...@gmail.com wrote:
 
 
  I need implement a algorithm to obtain the level of energy of each
 sensor.
  Anyone have any idea?
 
  Regards,
 
  --
  Marianna Araújo
 
 
 
  --
  Marianna Araújo
 
  ___
  Tinyos-help mailing list
  Tinyos-help@millennium.berkeley.edu
  https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 



 --
 --
 Antonio Liñan Colina
 R+D+I Engineer
 @: ali...@advancare.com
 @: ali...@zolertia.com
 --
 Advancare
 T: +34 93 582 02 70
 http://www.advancare.com
 http://www.zolertia.com




-- 
Marianna Araújo



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

[Tinyos-help] CoapBlip Listen.py

2011-05-19 Thread acamap
Hello,


Someone has any idea  similar to receive the packets from a open socket at
the corresponding port at which the information (about the sensing values)
is sent. Like Listener.py in /opt/tinyos-2.1.1/apps/UDPEcho_original/util$
??

I need this to try capture the values in a file text.

Thanks in advance,


Alejandro.



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


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

2011-05-19 Thread Emily day
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] help

2011-05-19 Thread Khouloud Masmoudi
hello, could any one help me please i got this error while trying te install a 
telosb node when i wrote make telosb installi have this message : No suche file 
or directory /support/make/Makerules Stop no rule to make target 
/opt/tinyos-2.x/support/make/Makerules
Please did any one face this problem help me.___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] [Researchers] [CFP] ACM* MSWiM 2011, Extended Submission Deadline May 22, 2011.

2011-05-19 Thread IEEE Mirela
Apologies if you receive multiple postings.

--
EXTENDED PAPER SUBMISSION DEADLINE !
Call for Papers
ACM* MSWiM 2011

14th ACM* International Conference on Modeling Analysis
and Simulation of Wireless and Mobile Systems

October 31 - November 4, 2011, Miami, USA.

http://mswimconf.com/2011/

Paper Registration Deadline (Mandatory): May 15, 2011
NEW Paper Submission deadline (only for registered papers): May 22, 2011
[*ACM Sponsorship pending upon Approval]

Note: Extended versions of selected papers will be considered for
publication in a Fast Track issue of Elsevier's Computer Communications.

--

MSWiM is an international forum dedicated to high level discussion of
Wireless and Mobile systems, networks, algorithms and applications,
with an emphasis on rigorous performance evaluation. MSWiM is a
highly selective conference with a long track record of publishing
innovative ideas and breakthroughs.

Authors are encouraged to submit full papers presenting new research
related to the theory or practice of all aspects of modeling,
analysis and simulation of mobile and wireless systems. Submitted
papers must not have been published elsewhere nor currently be under
review by another conference or journal.

--
Topics of Interests
--

Papers related to wireless and mobile network Modeling, Analysis,
Design, and Simulation are solicited on, but not limited to, the
following topics in mobile and wireless systems:

* Performance evaluation and modeling
* Analytical Models
* Simulation languages and tools for wireless systems
* Wireless measurements tools and experiences
* Formal methods for analysis of wireless systems
* Correctness, survivability and reliability evaluation
* Mobility modeling and management
* Models and protocols for cognitive radio networks
* Models and protocols for autonomic, or self-* networks
* Capacity, coverage and connectivity modeling and analysis
* Wireless network algorithms and protocols
* Wireless PANs, LANs
* Ad hoc networks
* Sensor and actuator networks
* Vehicular ad hoc networks
* Integration of wired and wireless systems
* Pervasive computing and emerging models
* Wireless multimedia systems
* QoS provisioning in wireless and mobile networks
* Security and privacy of mobile/wireless systems
* Algorithms and protocols for energy-efficiency and power control
* Mobile applications, system software and algorithms
* RF channel modeling and analysis
* Design methodologies, tools, prototype and testbeds
* Parallel and distributed simulation of wireless systems

--
Organizing Commitee:
--

General Chair:
Ahmed Helmy (University of Florida, USA)

TPC Co-Chairs:
Bjorn Landfeldt (The University of Sydney, Australia)
Luciano Bononi (University of Bologna, Italy)

--
Paper Submission, Publication and Important Dates:
--

High-quality original papers are solicited. Papers must be unpublished
and must not be submitted for publication elsewhere.
All papers will be reviewed by Technical Program Committee members
and other experts active in the field to ensure high quality and
relevance to the conference.
Short papers will be included in the technical program to complement
mature results and foster discussion and exchange of novel ideas at
an early stage.
Accepted papers will appear in the conference proceedings to be
published by ACM Press.

Extended versions of selected papers will be considered for publication
in a Fast Track issue of Elsevier's Computer Communications Journal.

EXTENDED PAPER SUBMISSION DEADLINE:
Paper Registration Deadline (Mandatory): May 15, 2011
NEW Paper Submission deadline (only for registered papers): May 22, 2011
Notification of Acceptance: July 15, 2011

Conference Dates: October 31 - November 04, 2011

For more information about the conference, organizing committee,
submission instructions, and venue please see the conference website:
http://mswimconf.com/2011/

 
-
Profa Dra Mirela Sechi Moretti Annoni Notare
http://lattes.cnpq.br/8224632340074096 mir...@ieee.org 
USJ – Sao Jose Municipal University www.usj.edu.br 
UFSC - Distributed Mobile Computing  Network Security CNPq Research Group 
(co-leader) 
http://dgp.cnpq.br/buscaoperacional/detalhegrupo.jsp?grupo=00431033AKW5DM 
IEEE Latin America Transactions, Editor-in-chief 
http://www.ewh.ieee.org/reg/9/etrans 
___

Re: [Tinyos-help] help

2011-05-19 Thread Eric Decker
Hi Khouloud,

You should really really really start by following how to set up your
development environment by following the tutorials that can be found on
docs.tinyos.net.

It looks like something got screwed up in your installation.


On Thu, May 19, 2011 at 1:24 AM, Khouloud Masmoudi 
khouloud.masmo...@yahoo.fr wrote:

 hello, could any one help me please
 i got this error while trying te install a telosb node
 when i wrote make telosb install
 i have this message : No suche file or directory /support/make/Makerules
 Stop no rule to make target /opt/tinyos-2.x/support/make/Makerules

 Please did any one face this problem help me.

 ___
 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

Re: [Tinyos-help] mesh network

2011-05-19 Thread Omprakash Gnawali
On Tue, May 17, 2011 at 8:34 AM, Correo de Wacka yo_wa...@hotmail.com wrote:
 Hi all,

 I've been reading all the networks protocols appear in the documentation,
 but I'm unable to guess which one is the simplest one to just creat a mesh
 network,instead of Tymo. And, is tymo available for iris motes?or just for
 telosb?

 Is there any other mesh network protocol for a non dynamic enviroment?

If you are looking for a point-to-point routing protocol, Tymo is the
only protocol available at the moment. If you are looking for
collection and dissemination protocols over multihop networks, there
are a few, which you can find on the tutorial page.

- om_p
___
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-19 Thread Omprakash Gnawali
On Sun, May 15, 2011 at 2:17 PM, ibn86 dahmanii...@yahoo.fr 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


Re: [Tinyos-help] CTP protocol implementation in TOSSIM

2011-05-19 Thread Omprakash Gnawali
The best suggestion I can offer is going through the TOSSIM tutorial
carefully and trying to understand each step and also tutorial on
network protocols. Then, you should start reading the code in
tos/lib/net/ctp. Once you have a good understanding of TOSSIM and CTP,
you should be able to understand the simulation scripts in
apps/tests/TestNetwork.

- om_p

On Fri, May 13, 2011 at 6:03 AM, Saif Ahmad saif...@gmail.com wrote:
 Dear Sir,
 Can you please kindly provide some more details regarding how to use these
 scripts. Like I said I am a total beginner.
 Thanks

 On Fri, May 13, 2011 at 9:29 AM, Saif Ahmad saif...@gmail.com wrote:


 -- Forwarded message --
 From: Omprakash Gnawali gnaw...@cs.stanford.edu
 Date: Fri, May 13, 2011 at 9:12 AM
 Subject: Re: [Tinyos-help] CTP protocol implementation in TOSSIM
 To: Saif A saif...@gmail.com
 Cc: tinyos-help@millennium.berkeley.edu


 On Sat, May 7, 2011 at 11:04 PM, Saif A saif...@gmail.com wrote:
 
  I am a newbie at TOSSIM and would like to simulate the CTP protocol. Can
  somebody please kindly provide a step-by-step procedure on how to get
  started with simulating CTP. I have already gone through the TOSSIM
  tutorial
  but what next now?

 There are some Python scripts in apps/tests/TestNetwork. Use those
 scripts as starting point for CTP simulation.

 - om_p



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