Hello TinyOS experts,
I get this error when compiling tinyos code:
Assertion t-type !(defaulted_int || class || scf || name) failed: file
sematics.c, line 3584
Make: *** [exe0] error 1
My knowledge tells me that this is a parse error. I searched my whole
harddrive for the
Hi sara,
I had the same problem.
The cc2420basestation is also snooping packets, so packets which are not
destined to your basestation are also received by the snoopingreceive
handler. Just comment out the snooping code:
BaseStationP.nc:
//interface Receive as RadioSnoop[am_id_t id];
The Humidity and Temperature sensors are not implemented in TinyOS 2.
There is a DemoSensorC component but it measures the internal voltage.
http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/telosb/
But if you know the ADC port settings, you can write your own
implementation.
Good luck,
)?
Cheers,
Urs
Oussama Chougna schrieb:
The Humidity and Temperature sensors are not implemented in TinyOS 2.
There is a DemoSensorC component but it measures the internal voltage.
http://www.tinyos.net/tinyos-2.x/doc/html/nesdoc/telosb/
But if you know the ADC port settings, you can
the same components and interfaces as the testAck app. I have to
look for the difference.
Thank you,
-Original Message-
From: Steve McKown [mailto:[EMAIL PROTECTED]
Sent: woensdag 20 juni 2007 22:49
To: David Moss
Cc: 'Oussama Chougna'; tinyos-help@millennium.berkeley.edu
Subject: Re
[mailto:[EMAIL PROTECTED]
Sent: woensdag 20 juni 2007 22:49
To: David Moss
Cc: 'Oussama Chougna'; tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] Acknowledgments and base station
On Wednesday 20 June 2007 10:26:50 am David Moss wrote:
I haven't looked at the code in awhile
Leonardo,
I'm working with EasySen SBT80 sensorboard.
It has accelerometer and sound and some more sensors.
http://www.easysen.com/SBT80.htm
Cheers,
O.Chougna
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Leonardo
Mostarda
Sent: donderdag 21
Hi,
I had this problem too.
It was because i did not provide the AdcConfigure interface.
Your app should provide this interface by implementing its
getConfiguration() command.
command adc_config_t getConfiguration()
{
return config;
}
Otherwise you get 0xff's as data in the dataready
Hi,
Listen should be with a capital. It is case sensitive.
So modify your sixth step.
java net.tinyos.tools.Listen
Cheers,
O.Chougna
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zaihan
Yang
Sent: maandag 18 juni 2007 20:20
To:
Hello,
I just read TEP126 about the radio stack.
With the PacketAcknowledgements interface in tinyos2 one could request acks
right? But should I modify the base station to send back acks?
None of my packets get acked :-(
Thank you
O.Chougna
Message-
From: Steve McKown [mailto:[EMAIL PROTECTED]
Sent: woensdag 20 juni 2007 18:01
To: tinyos-help@millennium.berkeley.edu
Cc: Oussama Chougna
Subject: Re: [Tinyos-help] Acknowledgments and base station
On Wednesday 20 June 2007 09:06:17 am Oussama Chougna wrote
.
Thank you,
O.Chougna
granted
-Original Message-
From: Philip Levis [mailto:[EMAIL PROTECTED]
Sent: vrijdag 15 juni 2007 20:27
To: Oussama Chougna
Cc: 'Nicolas Esteves'; tinyos-help@Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] Multichannel Adc sampling and DMA
On Jun 15, 2007
Hi sara,
I think it is better replacing the sendNow() function by a task.
This way you make the event shorter, and complete faster as recommended in
the TinyOs programming guide.
Cheers,
O.Chougna
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sara
at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help]
On Behalf Of Oussama
Chougna
Sent: Friday, June 01, 2007 1:40 PM
To: tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Subject: [Tinyos-help
Hi Phil,
Are you sure about this:
Timer.fired() {
call Channe1One.read();
call ChannelTwo.read();
call ChannelThree.read();
call ChannelFour.read();
call ChannelFive.read();
call
Hi,
First, for mig don't specify tmote but msp430 instead.
Second, why do you specify MoMoControllerC.nc for? The header file and the
name of your message struct is enough.
So it should be this:
$ mig java -target=msp430 -java-classname=classout PWMMsg.h
your_struct_name -o
:27
To: Oussama Chougna
Cc: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] mig with tmote
Ok, thanks, my mistake. i've tried the way you said. it works well with pc:
[EMAIL PROTECTED] /opt/moteiv/apps/test_silvia/MobileMote/MoMoController
$ mig java -target=pc -java-classname
Why don't try it first on the command line?
In your makefile you don't specify a target for mig. (telosa, telosb, etc.)
Mig java -target=telosb -java-classname=foo fooheader.h FooMSG -o foo.java
O.Chougna
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
I mean the ADChannel input that you are reading is grounded.
Sorry,
Chougna
_
From: Oussama Chougna [mailto:[EMAIL PROTECTED]
Sent: vrijdag 1 juni 2007 9:40
To: 'Monica Bell'; 'tinyos-help@Millennium.Berkeley.EDU'
Subject: RE: [Tinyos-help] (no subject)
Sounds like
Sounds like your temperature sensor output is grounded on the board?
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Monica
Bell
Sent: vrijdag 1 juni 2007 4:03
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] (no subject)
Dear all,
I am having
Hi there,
Does anyone have experience with using TinyOS 2 with the Tmote sky from
Moteiv?
Thanks in advance,
O.Chougna
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
Hi raj,
Program memory is where your TinyOS compiled application will reside. That's
why it's called program memory.
EEPROM is the internal memory which you can use by using the InternalFlashC
component.
Read TEP103 and you get all your questions answered.
Success,
You have to read the datasheet of the display carefully. In the datasheet
they explain how to talk to the display.
_
From: Preethi Naveen [mailto:[EMAIL PROTECTED]
Sent: dinsdag 22 mei 2007 19:27
To: Oussama Chougna
Cc: tinyos-help@millennium.berkeley.edu
Subject: Re
Subject: Re: [Tinyos-help] Connecting LCD Panel to TMote Sky
I was also interested in connecting a lcd to my mote, it is a crossbow
micaz, is it possible? Can you point to me site worthy of your trust
that ships internationally?
Thanks,
Hugo
On 5/23/07, Oussama Chougna [EMAIL PROTECTED] wrote
The only thing I can tell you is to try the I2C interface.
There should be displays with this interface on the market. Here they are
about 2 dollars each.
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Preethi
Naveen
Sent: dinsdag 22 mei 2007 16:35
To:
Hi Itamar,
Search for the Am.h header file in your TinyOS distribution tree.
Somewhere in the file the TOS_Msg structure is defined. It has a
Data[TOSH_DATA_LENGTH] field in which you can specify your own data
structure.
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
]
Sent: maandag 21 mei 2007 15:18
To: Oussama Chougna
Cc: tinyos-help@Millennium.Berkeley.EDU
Subject: Re: RE: [Tinyos-help] Packet Structure
Hi Oussama,
I found The Am.h file (under \tinyos-2.x\tos\types), but there was no
mention of the TOS_Msg structure.
maybe i need to look
Hi steve,
You have to give an extra argument to your compiler.
I had exactly the same problem in the past.
Try the -g option:
Gcc -g yourapp.c your_SDK_pathserialsource.c .
Try it and let me know if that fixes your problem. (It should)
O.Chougna
-Original Message-
From: [EMAIL
Schippling [mailto:[EMAIL PROTECTED]
Sent: vrijdag 11 mei 2007 19:00
To: Oussama Chougna
Cc: tinyos-help@Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] Radio communication problem issue
Just a few questions and suggestions...
The greenON means that you need the message buffer
before transmission
Hi,
I have a problem with mote addressing.
I use 4 tmote sky modules. 2 of them are sending data to a TOSBased mote
connected to a computer.
The mote address of the TOSBased mote is 0. The two other data sending motes
are addressed as 4 and 5.
The TinyOS code which runs on mote 4
Hello,
Using: Tmote Sky, TinyOS 1.x, Cygwin WinXP
I have two motes sampling 4 channels of the AD converter module at 200HZ.
On the ADChannels a function generator is putting a sine with an offset
applied.
When 10 samples are collected from each channel (10 * 2 bytes * 4 channels =
80
fine.
I'm not so happy with the java tools.
Oussama Chougna
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Schippling
Sent: donderdag 10 mei 2007 11:14
To: CASTEL Myriam
Cc: tinyos-help@Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] Problem
Hi Orcun,
You call a Send() command without waiting until the previous send() command
returns a SendDone() event.
So while the radio stack is processing your message, you are trying to send
another message. This fails because radio is busy.
After each Send() command you need to wait until
I don't think this functionality is implemented in the Java or C tools.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Guillem
Corominas
Sent: donderdag 3 mei 2007 12:35
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] How to know if mote
[mailto:[EMAIL PROTECTED]
Sent: donderdag 3 mei 2007 12:58
To: Oussama Chougna
Cc: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] How to know if mote is connected to serial port
Well, I meant the mote to know if it was connected,
not the computer, so in the nesC program loaded
Hi,
I have this problem too.
If you check the schematics in the TMote Sky datasheet, you will see that
the negative reference voltage pin is grounded.
So you can measure only between 0 and any value.
oussama
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Hi all,
I'm using Tmote Sky.
Does anyone know how to sample the ADC channels in a sequence on Tmote?
It should be possible through the MSP430ADCMultiple interface, but one
instance of the interface is binded to one channel. So how would you sample
all channels in a sequence with the
The local address of the mote.
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of santosh
bhima
Sent: woensdag 28 maart 2007 19:14
To: Tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] TOS_LOCAL_ADDRESS
what does the variable signify
Hello everybody,
Does anyone know the best way to sample an ADC channel @ 100 samples per
second?
My problem is that I can only sample @ 50 Hz. I do this like:
command result_t StdControl.start()
{
call Timer0.startPeriodic(20); //Each 20
Hello everybody,
Does anyone know the best way to sample an ADC channel @ 100 samples per
second?
My problem is that I can only sample @ 50 Hz. I do this like:
command result_t StdControl.start()
{
call Timer0.startPeriodic(20); //Each 20
Hi,
I'm using a Tmote Sky which has a TI-MSP430.
And I hope someone could help me with these two questions.
What is the best solution to sampling multiple channels (4 channels) each on
different sample rates?
The MSP430ADCMultiple interface has a bind() command to do some settings,
41 matches
Mail list logo