[Tinyos-help] Timestampnig Sender and Receiver

2011-10-30 Thread Amin Amin
Hi all,

Can anyone help me, how i can timestamping the sender with transmission
time (t) and receiver with reception time (t') of an message,
when: t' = t + d
d:end-to-end delay
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Timestampnig Sender and Receiver

2011-10-30 Thread Amin Amin
Hi,
I can use interface LocalTime for example, but i need timestamping MAC
layer for more precision.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Information general

2011-10-30 Thread Javier Vázquez Villodres
Hello,

I need information general of the frames that receive the tmotes. The
information I need is the following and more extensive please!:

   - *Destination address* (2 bytes)
   - *Link source address* (2 bytes)
   - *Message length* (1 byte)
   - *Group ID* (1 byte)
   - *Active Message handler type* (1 byte)
   - *Payload* (up to 28 bytes):
  - *source mote ID* (2 bytes)
  - *sample counter* (2 bytes)

*dest addr* *link source addr* *msg len* *groupID* *handlerID* *source addr*
*counter* ff ff 00 00 04 22 06 00 02 00 0B
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinysec help

2011-10-30 Thread Seetha Devi
hello all,
i am using tinyos 1.1. i am working on key management. how to use tinysec in a 
application(tossim). how to see the difference between plain message and 
encrypted message. again how to decrypt the message.___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Running TinyOS over Zigbit (not Meshbean)

2011-10-30 Thread Sergio Gonzalez
Hi Miklos,

Thanks for your help! I was already employing the files available from 
the tinyos-contrib link that you mention. However, the IO configuration 
setup defined in those files corresponds to the physical wirings in the 
IRIS mote, not Zigbit. So, I replaced those with the ones you forwarded 
and I've got the radio working now. Except for one line, the 
modifications I had mentioned in my previous email were spot on though. 
So, just for the record, the correct ones are:

 ...
 HplRF230P.PortIRQ -> IO.PortE5;
 ...
 SLP_TR = IO.PortB4;
 RSTN = IO.PortA7;
 SELN = IO.PortB0;
 ...

The line "HplRF230P.PortCLKM -> IO.PortD6;" is not needed anymore in 
HplRF230C.nc

Thanks again!

Sergio


> Hi Sergio,
>
> Look at the meshbean platform in
> tinyos-2.x-contrib/ethz/meshbean900/tos/platforms/meshbean/chips/rf230
>
> I have the attached files there, and I am sure these will be good for
> your platform as well.
>
> Best,
> Miklos
>
> On Sat, Oct 29, 2011 at 4:27 AM, Sergio Gonzalez  wrote:
>> Hi Miklos,
>>
>> Thank you so much for your previous help. I ended up designing new boards
>> for my custom zigbit implementation and finally got TinyOS running on them.
>> So far I've got LEDs blinking and serial comms (TestSerial&  Printf)
>> working. However, I have been unable to get the radio working.
>>
>> The only thing I've noticed so far is what appears to be an incorrect pin
>> configuration in /tos/platforms/zigbit/chips/rf320/HplRF230C.nc that does
>> not correspond to the presupposed internal pins connections in the zigbit
>> module. The original file specifies the following configuration:
>>
>> ? ?...
>> ? ?HplRF230P.PortCLKM ->  IO.PortD6;
>> ? ?HplRF230P.PortIRQ ->  IO.PortD4;
>> ? ?...
>> ? ?SLP_TR = IO.PortB7;
>> ? ?RSTN = IO.PortA6;
>> ? ?SELN = IO.PortB0;
>> ? ?...
>>
>> Obviously, this configuration is intended for the IRIS mote, so I changed it
>> for zigbit as follows:
>>
>> ? ?...
>> ? ?HplRF230P.PortCLKM ->  IO.PortB0; ? ? // PortB5<- wrong as per P. Sommer
>> (no?) // PortD6;
>> ? ?HplRF230P.PortIRQ ->  IO.PortE5; ? ? ? ?// PortD4;
>> ? ?...
>> ? ?SLP_TR = IO.PortB4; ? ? ? ? ? ? ? ? ? ? ? ? ? // PortB7;
>> ? ?RSTN = IO.PortA7; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?// PortA6;
>> ? ?SELN = IO.PortB0; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?// OK!
>>
>> I don't know whether I am wrong here, and what else I am missing to get the
>> radio working accordingly. I would greatly appreciate your help on this
>> matter!
>>
>> Best regards,
>>
>> Sergio
>>
>>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Use of multiple sensors

2011-10-30 Thread sai manoj
Hi all,

I am trying to implement a application in Tinyos-2.1.1 on Iris motes, in
which I need to use Photosensor as well as Temperature sensor. I need to
sense the light data and then temperature value next. Is this possible? If
so how to define two different reads for 2 different sensors?


-- 
SAI MANOJ P D (M.Tech)
International Institute of Information Technology,Bangalore
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Information general

2011-10-30 Thread Michael Schippling
There's a lot of, probably mostly correct, info here:
http://www.tinyos.net/tinyos-2.1.0/doc/html/tep111.html

and in general looking around in:  http://docs.tinyos.net
will turn up answers to lots of questions.

MS


Javier Vázquez Villodres wrote:
> Hello,
>  
> I need information general of the frames that receive the tmotes. The 
> information I need is the following and more extensive please!:
> 
> * *Destination address* (2 bytes)
> * *Link source address* (2 bytes)
> * *Message length* (1 byte)
> * *Group ID* (1 byte)
> * *Active Message handler type* (1 byte)
> * *Payload* (up to 28 bytes):
>   o *source mote ID* (2 bytes)
>   o *sample counter* (2 bytes)
> 
> *dest addr*   *link source addr*  *msg len*   *groupID*   
> *handlerID* *source 
> addr* *counter*
> ff ff 00 00   04  22  06  00 02   00 0B
> 
> 
> 
> 
> ___
> 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