[Tinyos-help] dynamic addressing and nodes entering leaving

2009-12-07 Thread João Paulo Amaro da Costa Luz Carneiro
Hi all, Can someone tell me how does tinyos deals with addressing each node. If I'm not mistaken you give a TOS_ID when programming the mote, but is this usable for many motes? Is there a dynamic addressing? In compile or runtime? Can someone also tell me how tinyos deals with nodes entering or

Re: [Tinyos-help] tos2 message_t header

2009-07-23 Thread João Paulo Amaro da Costa Luz Carneiro
)? Thanks. Regards, Joao On Jul 22, 2009, at 8:50 PM, Michael Schippling wrote: I think those are standard 802.14 header elements. the cc2420 0r 802 specs might explain them. I've never seen them used for anything. MS João Paulo Amaro da Costa Luz Carneiro wrote: Hi all, To explore the header

[Tinyos-help] tos2 message_t header

2009-07-22 Thread João Paulo Amaro da Costa Luz Carneiro
Hi all, To explore the header of packets in tos2 I checked the CC2420.h Can someone tell me what are the fcf and destpan fields? Also, what is the dsn used for in the MAC level? Just for the acks or for anything else? Regards, Joao ___ Tinyos-help

[Tinyos-help] Help wih LPL

2009-04-02 Thread João Paulo Amaro da Costa Luz Carneiro
Hi all, Made a very simple program to test LPL but am not sending/receiving any messages or sometimes only 1 (depending on the LPL_INTERVAL value). Can someone tell me what am I doing wrong? Thanks in advance Here's the code: Test.h #ifndef TEST_H #define TEST_H enum { AM_TEST = 6,

[Tinyos-help] implemented channel access methods

2009-03-27 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, What are the different MAC implementations available for the IRIS mote in tinyos2.1. Are they all packet based or is there any TDMA protocol. If you could also provide any performance results you have that I could use to make a performance comparison between the protocols would be

[Tinyos-help] IRIS 2.4GHz default MAC in TinyOS 2.1

2009-03-08 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Can someone tell me what is the IRIS 2.4GHz default MAC protocol in TinyOS 2.1? B-MAC or some combination of protocols? Thanks and regards, Joao ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] wireless communication speed

2009-03-07 Thread João Paulo Amaro da Costa Luz Carneiro
wrote: Hi Joao, On Sat, Mar 7, 2009 at 10:31 PM, João Paulo Amaro da Costa Luz Carneiro jcarne...@netcabo.pt wrote: I do want to send large amounts of data that are sliced to fit small packets, and so my main objective is to send them as soon as possible using ctp. My reason to use CTP

Re: [Tinyos-help] wireless communication speed

2009-03-05 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, I've finally tested my application and maximum transmission rate again and get the same results. I believe this low packet rate experience is probably because I'm using CTP (forgot to mention in the original question) and I'm sending from two nodes to one sink, if just use one node to

Re: [Tinyos-help] wireless communication speed

2009-02-18 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, thanks for your answer and sorry for this late response as I was only able to reply now. I will try using the slotted mac, is there any disadvantage in using it? Why isn't it default? I am using the default IRIS channel (11 I thing?) and already using a timer for the periodic sending. I

[Tinyos-help] wireless communication speed

2009-02-12 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, I have a question related to the maximum transmission speed for the IRIS 2.4GHz mote. The datasheet Crossbow provides states that it can transmit at 250Kbps. Has anyone tested this speed? 250Kbps = 31,25KB/s If a normal packet has a default payload size of 28Bytes and the full packet

Re: [Tinyos-help] mda100 sensor board

2009-02-11 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, You can use the sense example in the apps of the tinyos. Compile wih SENSORBOARD=mda100 make iris or whatever. You can specify the CB in the makefile by adding -I$(TOSDIR)/sensorboards/mda100/cb to the CFLAGS. Regards, Joao On 2009/02/11, at 10:51, A Abu Mahfouz wrote: Hi: does anybody

Re: [Tinyos-help] To send large payload in the TestSerial.

2009-02-03 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, I also made some tests a few months ago with an IRIS mote, stressing the packet size and periodicity of tranmission. The conclusion is quite obvious: larger packets = higher data loss (with the same transmission period). I tested several combinations of packet sizes and time periods but

[Tinyos-help] sensorboard power consumption

2008-12-22 Thread João Paulo Amaro da Costa Luz Carneiro
Hi all, When a sensorboard is connected to a mote, does it always consume the same power? Is it possible to reduce this consumption by turning off the sensorboard? How is this done? Thanks, regards, Joao ___ Tinyos-help mailing list

[Tinyos-help] sleep and radio

2008-12-20 Thread João Paulo Amaro da Costa Luz Carneiro
Hi all, TOS2 controls turns the mote into sleep mode when it isn't doing anything. I would like to know if this includes not having timers or if while waiting for a timer to fire the mote will go to sleep. I would also like to know what is the influence of the radio in this sleep wakeup.

[Tinyos-help] packet acknowledgement

2008-12-17 Thread João Paulo Amaro da Costa Luz Carneiro
Hi all, Low Power Listening TEP recommends sending duplicate packets and enabling acknowledgements while this http://www.etantdonnes.com/Motes/report_mica2/ concludes PRR is higher when acknowledgments are disabled. Can someone explain? About the acknowledgement mechanismand how do ACKs

[Tinyos-help] WSN graphical representation

2008-12-17 Thread João Paulo Amaro da Costa Luz Carneiro
Hi all, Question not related to tinyos but to general WSNs. Is there a standard for WSNs graphical representation? Symbols, arrows with standard meanings? What software do you use to make WSNs images for papers and reports? Thanks. Regards, Joao ___

[Tinyos-help] reliable ctp

2008-11-12 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, I know CTP says it does a really really good effort to deliver all messages, but is there a reliable version of CTP? Thanks. Regards, João Carneiro ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] reliable ctp

2008-11-12 Thread João Paulo Amaro da Costa Luz Carneiro
: On Nov 12, 2008, at 4:13 PM, João Paulo Amaro da Costa Luz Carneiro wrote: Hi, I know CTP says it does a really really good effort to deliver all messages, but is there a reliable version of CTP? Thanks. Regards, No. That would require bidirectional communication and end-to-end

Re: [Tinyos-help] Maximum packet data length

2008-11-06 Thread João Paulo Amaro da Costa Luz Carneiro
, Joao On 2008/11/06, at 02:22, João Paulo Amaro da Costa Luz Carneiro wrote: Hi, Thanks for the link. After some tests I could determine the following: - The maximum message size I could have was 106Bytes (my message structure has 5 nx_uint16_t fields and one array of 48 nx_uint16_t

Re: [Tinyos-help] Controlling Tmotes from PC

2008-11-05 Thread João Paulo Amaro da Costa Luz Carneiro
You could send serial messages from pc to mote. I don't remember but I think the oscilloscope example has something like this to update the sensing rate. Regards, Joao On 2008/11/05, at 15:41, Eric Keller wrote: If I was going to do that, I'd look at the printf library. Of course, it

[Tinyos-help] LQI/CTP data

2008-11-05 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Is there any other collection protocol for tos2 besides CTP and LQI? Is LQI still only available for Can someone give me a paper comparing these to protocols? I've found some discussion in the mailinglist but is there a paper / report comparing existing collection protocols? Thanks Joao

Re: [Tinyos-help] Maximum packet data length

2008-11-05 Thread João Paulo Amaro da Costa Luz Carneiro
the following link may be useful to you. http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-August/027614.html Ittipong 2008/10/29 João Paulo Amaro da Costa Luz Carneiro [EMAIL PROTECTED] I believe 28 bytes is the default size (TEP111) which can be increased by defining DTOSH_DATA_LENGTH

Re: [Tinyos-help] Maximum packet data length

2008-10-29 Thread João Paulo Amaro da Costa Luz Carneiro
Can you tell me what is the maximum value for tinyos 2.1? Joao On 2008/10/29, at 11:30, Ittipong Khemapech wrote: I think it's about TinyOS instead of the platform. Please correct me if I misunderstand. Ittipong 2008/10/29 João Paulo Amaro da Costa Luz Carneiro [EMAIL PROTECTED] Hi

Re: [Tinyos-help] Maximum packet data length

2008-10-29 Thread João Paulo Amaro da Costa Luz Carneiro
. Joao On 2008/10/29, at 11:37, Ittipong Khemapech wrote: Not sure about TinyOS 2.1. I'm using TinyOS 2.0.2 and the maximum payload is 29 bytes. Ittipong 2008/10/29 João Paulo Amaro da Costa Luz Carneiro [EMAIL PROTECTED] Can you tell me what is the maximum value for tinyos 2.1? Joao

[Tinyos-help] VoltageC conversion and value range for iris

2008-10-08 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Can someone tell me the normal range for VoltageC on iris mote? I'm getting around 355, using the formula provided under the documentation 1223 x 1024 / value gives me 3,5V is this possible? What are the maximum and minimum values I could expect to read from VoltageC? Thanks, Joao

Re: [Tinyos-help] Maximum sampling rate

2008-10-02 Thread João Paulo Amaro da Costa Luz Carneiro
Thank you for your answer. Can you tell me where I can check the maximum 250KHz you say (datasheet?) so that I can check the feasibility of a project? Do you know if this is the same max sampling rate for the iris atmega1281? Thanks Joao On 2008/09/30, at 22:46, Miklos Maroti wrote: Hi,

[Tinyos-help] Power consumption evaluation

2008-10-02 Thread João Paulo Amaro da Costa Luz Carneiro
Hello, What techniques are there for measuring power consumption? Is this done with a simulation software? I intend to evaluate different algorithms and also to compare the cost of processing data locally in the mote and transmit according to it vs always transmitting all captured data in

Re: [Tinyos-help] PDA TOS client?

2008-10-01 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, I'm reading from TOS network to GPRS modem with J2ME (Siemens TC-65). Currently the modem is just reading because the data is sent using GPRS to a server and the server is not yet writing back anything the network but will in the future. I'm not posting code as it is far from being

[Tinyos-help] Maximum sampling rate

2008-09-30 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Can someone tell me what is the maximum sampling rate for capturing sound? I'm using iris mote. Thanks, Joao ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Synchronization alghotithms

2008-09-29 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, This question has been posted before but without an answer. What protocols for node sleep/wakeup synchronization are there? Thanks Joao ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] serial communication J2ME

2008-09-23 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, I'm trying to transfer data from mote to J2ME device using serial port. I cannot use the tinyos java sdk as it doesn't seem to compile with J2ME. Does anyone have an example I could use to convert raw to java message as I can't use the classes provided in tinyos. Thanks Joao

[Tinyos-help] listenraw

2008-09-17 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Can anybody tell me why when I use java net.tinyos.tools.ListenRaw -iris /dev/ttyUSB1 nothing is read/happening? I can receive data correctly using java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB1 or java net.tinyos.tools.MsgReader Message -comm serial@/dev/ttyUSB1:iris. A strange

[Tinyos-help] listenraw

2008-09-17 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Can anybody tell me why when I use java net.tinyos.tools.ListenRaw -iris /dev/ttyUSB1 nothing is read/happening? I can receive data correctly using java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB1 or java net.tinyos.tools.MsgReader Message -comm serial@/dev/ttyUSB1:iris. A strange

[Tinyos-help] serial port connection

2008-09-17 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, I am using mib520ca with iris. I would like to connect the usb programming board to a serial port in a java programmable modem. Connected mib520 to modem with usb to rs232 cable but when atempt to read from java I get nothing. If I connect the modem to the computer I can read correctly.

[Tinyos-help] Help installing tinyos on Mac OS X

2008-09-04 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Following Kevin Klues' TinyOs 2.x installation on Mac OS X (Leopard) tutorial, I get the following: MacBookPro:java jc$ cd $TOSROOT/support/sdk/java MacBookPro:java jc$ make ... /tinyos/tinyos-2.x/support/sdk/java ... /tinyos/tinyos-2.x/support/sdk/java/net ...

[Tinyos-help] schedule periodic operation

2008-09-01 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, If I want to perform an operation monthly do I need to use startPeriodic(2629743830) with tmilli and uint32_t or is there a better way? How do I sync this timer for all motes in my network to run at the same time? Thanks. Best regards, Joao

[Tinyos-help] connect device to serial port

2008-08-31 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Is it possible to connect the MIB520 to a device (not pc) such as a router or modem? After sending messages to serial from the mote, how can I read them from the router? Any examples? Thanks. Best regards, Joao ___ Tinyos-help mailing list

[Tinyos-help] Iris not running on batteries

2008-08-26 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, I have mote which only works when connected to the mib520. I installed blink on it and the lights blink correctly when connected to the mib520 but when I take it off the programming board and switch it on nothing happens. I don't have problems with other iris motes running the same

[Tinyos-help] ctp details

2008-08-25 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Where can I find more details about the ctp? I read both the tutorial and teps but I would like to find out more details such as: In a network with multiple roots: - how is a sender informed of an existing receiver? - how does a node decide which root to send to? - what happens if the

[Tinyos-help] question about dissemination

2008-08-20 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, I read both the tutorial and TEP118 but still cannot decide whether to use DIP or DRIP. TEP says DIP is more complex while tutorial says DRIP uses much more messages. Is there any information about power consumption of each algorithm? Regards, Joao

[Tinyos-help] mda100cb

2008-08-18 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Can somebody tell me how do I compile for mda100cb? I tried SENSORBOARD=mda100 make iris I always get the error TempImplP not found. I can see the file is under sensorboards/mda100/cb (or ca for mda100ca) how do I include it or tell the compiler to use this? Thanks. Joao

[Tinyos-help] readdone threshold

2008-08-18 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Is it possible to set a value as threshold for a sensor? I would like to read photo sensor from mda100 but would like readdone to only be signaled if captured value is over some threshold, otherwise leaving the cpu in sleep mode. Regards, Joao

[Tinyos-help] help installing blink on iris

2008-07-31 Thread João Paulo Amaro da Costa Luz Carneiro
Having problems installing Blink on IRIS with MIB520. Followed installation tutorial for Mac OS X: http://docs.tinyos.net/index.php/Installing_tinyos-2.x_on_Mac_OS_X_%28Tiger_%26_Leopard%29#Installing_avr_tools_for_Mica_Support Do I need to install something else for IRIS support? Using

[Tinyos-help] Recording ultrasound

2008-07-29 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, I need to record ultrasound waves using Iris 2.4GHz. Can anyone help or point me out how to do this? Using ultrasound transducers or what? How to connect to the mote? Best regards, Joao ___ Tinyos-help mailing list

[Tinyos-help] Help installing tinyos on Mac OS X

2008-07-24 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Following Kevin Klues' TinyOs 2.x installation on Mac OS X (Leopard) tutorial, I get the following: MacBookPro:java jc$ cd $TOSROOT/support/sdk/java MacBookPro:java jc$ make ... /tinyos/tinyos-2.x/support/sdk/java ... /tinyos/tinyos-2.x/support/sdk/java/net ...

[Tinyos-help] help installing tinyos on Mac OS X

2008-07-03 Thread João Paulo Amaro da Costa Luz Carneiro
Hi, Following Kevin Klues' TinyOs 2.x installation on Mac OS X (Leopard) tutorial, when trying to install the tinyos toolset (http://docs.tinyos.net/index.php/Installing_tinyos-2.x_on_Mac_OS_X_(Tiger)#Installing_the_tinyos-2.x_toolset ) I get the following: Making all in platforms Making all