RE: [Tinyos-help] Localization

2007-07-03 Thread Firat TARAKTAS
Take RSSI values of the received signals. Use triangulation method. If you google it you can reach lots of material. Firat TARAKTAS ElectricalElectronics Engineer Reseracher GENETLAB INFORMATION TECHNOLOGIES Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752 Icerenkoy / ISTANBUL / TURKIYE Phone:

RE: [Tinyos-help] CCA value

2007-07-03 Thread JeongKwanhee
Hello! I'm using the micaz to Tinyos 1.1.15 version. In cc2420data sheet, the default value of CCA_THR is -35. From: roberto pagliari [mailto:[EMAIL PROTECTED] Sent: Monday, July 02, 2007 11:56 PM To: JeongKwanhee Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] CCA

RE: [Tinyos-help] CCA value

2007-07-03 Thread Aleksandr N. Sadkov
Hello, You forgot about -45 offset (is the same as for RSSI). The reset value for CCA is about -77 dBm. Regards, Aleksandr. wbr, Sadkov Aleksandr [EMAIL PROTECTED] www.sumkino.com www.wl.unn.ru _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Tinyos-help] CCA value

2007-07-03 Thread Aleksandr N. Sadkov
Unfortunately, I don't know exactly, there is no information about range in Datasheet. It's 8 bit value, and I guess it's same range as RSSI value. Regards, Aleksandr. wbr, Sadkov Aleksandr [EMAIL PROTECTED] www.sumkino.com www.wl.unn.ru _ From: JeongKwanhee [mailto:[EMAIL

Re: [Tinyos-help] Localization

2007-07-03 Thread Bernardo Avila Pires
Also, establish ID-based communication (by sending messages with data about the sender) and, if you wish to log the values, create a volume (tinyos-2 tutorial has material on this). And, yes, use RSSI values. 2007/7/3, Firat TARAKTAS [EMAIL PROTECTED]: Take RSSI values of the received

[Tinyos-help] Receiving serial messages from the PC

2007-07-03 Thread basma tantawi
hi, We want to use the UART module in mica2 to receive data from the PC. We used the hyperterminal to send to the mote but Leds don't toggle when receiving from serial as we adjust them. Is the problem in the HyperTerminal? should we use another program? what is the length of data we should

Re: [Tinyos-help] CCA value

2007-07-03 Thread roberto pagliari
it is the same of the rssi value, since they are compared in order to detect other transmissions. By the way, the default value depends on your filesystem version, and you can modify it by going to HPLCC2420ControlC, for example (in version 1.1.7 the default value is -128) On 7/3/07, Aleksandr

[Tinyos-help] RSSI

2007-07-03 Thread roberto pagliari
I need to know two questions regarding how the cc2420 works 1) why does in cc2420M.nc the call TOSH_READ_RADIO_CCA_PIN() does not wait for the RSSI_VALID flag? 2) if the radio doesnt transmit for a long time, is the RSSI continuously updated every 8 periods of symbol and the RSSI_VALID flag is

[Tinyos-help] Multiple SerialForwarders and Listeners

2007-07-03 Thread Nam Pham
Hi all, I would like to retrieve messages from multiple SerialFowarders. For example, one SerialForwarder is at port 9001, the other SerialForwarder is at port 9002. I want to write a java application to listen to both ports at the same time. I can open separate terminals and listen to each

[Tinyos-help] Is there a BMAC implementation with RTS/CTS for MicaZ

2007-07-03 Thread Thamilarasu, Geethap
Hi, Does anyone know if there is any BMAC implementation with RTS/CTS available for Micaz platform? I am interested in collecting the statistics of number of RTS/ CTS packets transmitted at the MAC layer. But I am confused about where the MAC layer functions can be found in Micaz using

Re: [Tinyos-help] RSSI

2007-07-03 Thread Marco Antonio Lopez Trinidad
On the base of what I understand for the CC2420, The TOSH_READ_RADIO_CCA_PIN() can be used every time you issue a request to dispatch a packet, if the pin is active then you can go... The RSSI value indicates if there is activity in the channel in order to start receiving a packet. I need to

[Tinyos-help] TinyOS Tutorial Lesson 10

2007-07-03 Thread Goodspeed, Travis M.
Howdy, Just a minor erratum in Lesson 10: An empty file by the name of 'platform.h' must exist in the platform directory for an application to compile. No mention of this is made in the lesson, causing the Null application to fail.

RE: [Tinyos-help] RSSI

2007-07-03 Thread Aleksandr N. Sadkov
On the base of what I understand for the CC2420, The TOSH_READ_RADIO_CCA_PIN() can be used every time you issue a request to dispatch a packet, if the pin is active then you can go... The RSSI value indicates if there is activity in the channel in order to start receiving a packet.

Re: [Tinyos-help] Eclipse Plugin for TinyOS-1.x Help

2007-07-03 Thread Benjamin Madore
1) Turn of HTML in your email. We're loosing formatting, and it's making things hard to read. 2) Be patient. 3) There are many postings both here and on the plugin forum about your problems, did you check? Search the plugin forum and this mailing list. On Tue, June 26, 2007 9:50 am, antonio gonga

Re: [Tinyos-help] Precise contents and length of the 802.15.4 frames (and most especially with the TestNetwork App)

2007-07-03 Thread Pedro Almeida
All, Ok, I'm intrigued again... (why does this keep happening??) Accordint to TEP 111, the message_t is defined by: typedef nx_struct message_t { nx_uint8_t header[sizeof(message_header_t)]; nx_uint8_t data[TOSH_DATA_LENGTH]; nx_uint8_t footer[sizeof(message_footer_t)]; nx_uint8_t

Re: [Tinyos-help] Regarding battery and Voltage Regulator

2007-07-03 Thread Benjamin Madore
look here: http://ieeexplore.ieee.org/iel5/9840/31018/01440974.pdf or Google for perpetual environmentally powered sensor networks pdf It's a good primer on what you're looking at. -Ben On Tue, June 26, 2007 11:12 am, Steve McKown said: On Monday 25 June 2007 02:01:09 pm manu suryavansh wrote:

Re: [Tinyos-help] Receiving serial messages from the PC

2007-07-03 Thread Michael Schippling
You will probably not be able to send message_t's using Hyperterm because they contain non-ASCII content. Specifically the CRC value needs to be calculated per-message. I don't use T2 so I can't fully comment, but whatever modules that implement the moral equivalent of GenericComm accept a

Re: [Tinyos-help] Multiple SerialForwarders and Listeners

2007-07-03 Thread Michael Schippling
Assuming you actually got all the SF's to run on the right ports, you can use an at the end of the line to put the command in the background so you can execute more commands while it is running:some -command -with -args If you have a bunch of commands in a file, again with the 's and

Re: [Tinyos-help] Receiving serial messages from the PC

2007-07-03 Thread Pedro Almeida
Hello; I'll tell you what I've been told by Steve McKown when asked about something similar: quote: Then you should look at the C SDK @ $TOSROOT/support/sdk/c. It can handle the the serial protocol for you; you get to read and write serial active messages and dispense with the framing/ack/crc

Re: [Tinyos-help] Precise contents and length of the 802.15.4 frames (and most especially with the TestNetwork App)

2007-07-03 Thread Steve McKown
On Tuesday 03 July 2007 11:01:48 am Pedro Almeida wrote: All, Ok, I'm intrigued again... (why does this keep happening??) [snip] From the same TEP, The metadata field of message_t stores data that a single-hop stack uses or collects does not transmit. This mechanism allows packet layers

Re: [Tinyos-help] Precise contents and length of the 802.15.4 frames (and most especially with the TestNetwork App)

2007-07-03 Thread Pedro Almeida
Thank you once again, Steve, you're a tireless help! =) I guess I found strange the concept of something being included in a message structure that never gets to be sent... On 7/3/07, Steve McKown [EMAIL PROTECTED] wrote: On Tuesday 03 July 2007 11:01:48 am Pedro Almeida wrote: All, Ok, I'm

[Tinyos-help] Radio Tx power control

2007-07-03 Thread Jon Charnas
Hi everyone, I've looked over the mailing lists and as much documentation as I could, but I can't seem to find out how to access the micaz's ability to modulate the radio transmit power. I'm using TinyOS 2.0 (latest on the liveCD), and most of the posts and documents I've seen pertain to 1.x,

Re: [Tinyos-help] how to obtain RSSI with Mica2

2007-07-03 Thread Benjamin Madore
MS, I thought you could do that. I was staring at code all week and my brain had turned to mush. -Ben On Fri, June 29, 2007 1:16 pm, Michael Schippling said: I think the original problem is this: RSSI=*((uint8_t *)recv_packet-strength); which is treating strength as a pointer and

Re: [Tinyos-help] Can not open TinyOS Publications page

2007-07-03 Thread Benjamin Madore
On Fri, June 29, 2007 8:10 pm, SANG Junjun said: http://webs.cs.berkeley.edu/users/nestfr/nestfr_paper_display.php -- Best Regards, SANG JUNJUN That is coming up blank for me. If I click on the bibtex link, I get code. It appears there is some kind of scripting error for generating the

Re: [Tinyos-help] RSSI

2007-07-03 Thread roberto pagliari
The TOSH_READ_RADIO_CCA_PIN() can be used every time you issue a request to dispatch a packet, if the pin is active then you can go... thank you marco, but what do you mean by if the pin is active? CCA_PIN returns the result of the operation (RSSI CCA), but in order to read the RSSI, the

[Tinyos-help] MIB520 Micaz Install problem

2007-07-03 Thread Mayur Maheshwari
All, Has anyone tried installing apps on MicaZ using MIB520 in TOS2? I tried installing the Blink app on MicaZ using MIB520 and ran into few problems. I am using TOS2 and since MIB520 is not defined in the makerule I am issuing 'MIB510' in the command. I have the ports COM7 and COM8. Also, the

Re: [Tinyos-help] RSSI

2007-07-03 Thread Marco Antonio Lopez Trinidad
Hi Roberto, on the radio manual (page 51 of 90), the description of CCA pin says: The clear channel assessment signal is based on the measured RSSI value and a programmable threshold. The clear channel assessment function is used to implement the CSMA-CA functionality specified in [1]. CCA is

RE: [Tinyos-help] Receiving serial messages from the PC

2007-07-03 Thread Giri Baleri
Hyperterminal is meant more for sending ASCII characters. I don't think it handles binary/hex packets well. You might want to consider using XServe/XServeTerm (available with MoteWorks installer) to send commands to the nodes in the network. This is what MoteView uses to actuate LEDs, adjust data

Re: [Tinyos-help] Precise contents and length of the 802.15.4 frames (and most especially with the TestNetwork App)

2007-07-03 Thread John Griessen
Steve McKown wrote: 3 - If it's not.. what use does it have? The metadata is useful for writing network functionality. It's used in CTP for example, to manage neighbors and routing. I don't think you'd want an application to use metadata directly, since you're then tying that

[Tinyos-help] [PATCH] Deadlock in C sdk's write_serial_packet()

2007-07-03 Thread Steve McKown
Hi, serialsource.c does not have a maintainer attribution, so I'm posting this here. In TinyOS 2.0.x, the C SDK's serialsource.c contains a logic error in write_serial_packet() that can cause a deadlock. This situation occurs when write_serial_packet() is called by the host and the attached

Re: [Tinyos-help] how to obtain RSSI with Mica2

2007-07-03 Thread Michael Schippling
If by that you mean casting something to be a pointer: (uint8_t *) and then dereferencing it: RSSI = *(pointer) Sure you can do it...on most real computers you'll usually get a BUSERR or SEGFAULT, but sometimes you'll get lucky...on our u-controllers it'll probably just generate junk unless it

Re: [Tinyos-help] RSSI

2007-07-03 Thread roberto pagliari
yes, I read it, but within the tinyos code (1.0.7, for instance, CC2420RadioM.nc) there is something like void tryToSend() { uint8_t currentstate; atomic currentstate = stateRadio; // and the CCA check is good if (currentstate == PRE_TX_STATE) { if

[Tinyos-help] T2 sensor example? any telosb IO example?

2007-07-03 Thread John Griessen
I would like to find any TinyOS-2.0 example code for the telosb to help me make a platform variant based on it. For instance, I see in /tinyos-2.x/tos/chips/sht11 generic module SensirionSht11LogicP() and other interfaces built on top of it, but no example turns up for telosb. Know anywhere

Re: [Tinyos-help] Precise contents and length of the 802.15.4 frames (and most especially with the TestNetwork App)

2007-07-03 Thread Steve McKown
On Tuesday 03 July 2007 11:47:35 am Pedro Almeida wrote: Thank you once again, Steve, you're a tireless help! =) I guess I found strange the concept of something being included in a message structure that never gets to be sent... Yeah, you have to think of message_t as a subset of the actual

Re: [Tinyos-help] Precise contents and length of the 802.15.4 frames (and most especially with the TestNetwork App)

2007-07-03 Thread Philip Levis
On Jul 3, 2007, at 2:10 PM, John Griessen wrote: Steve McKown wrote: 3 - If it's not.. what use does it have? The metadata is useful for writing network functionality. It's used in CTP for example, to manage neighbors and routing. I don't think you'd want an application to use

Re: [Tinyos-help] T2 sensor example? any telosb IO example?

2007-07-03 Thread Steve McKown
On Tuesday 03 July 2007 05:12:18 pm John Griessen wrote: I would like to find any TinyOS-2.0 example code for the telosb to help me make a platform variant based on it. For instance, I see in /tinyos-2.x/tos/chips/sht11 generic module SensirionSht11LogicP() and other interfaces built on top

Re: [Tinyos-help] RSSI

2007-07-03 Thread Tsung-han Lin
You don't need to check RSSI_VALID because you do not retreive the RSSI value. The chip would handle the validity of RSSI and inform you whether the CCA check is passed. The CCA check would return bad if the receiver has not yet been enabled 8 symbol period. -Han - Original Message -

RE: [Tinyos-help] Sensors for tmote sky

2007-07-03 Thread Aleksandr N. Sadkov
Hello John, File BaseStationP.nc file BaseStationC.nc configuration BaseStationC { } implementation { .. // For sensing components new SensirionSht11C() as SensorSht; I wanted to follow this down to the details of SensirionSht11C() I looked in