Hi
Here is my Makefile :
COMPONENT=PuitsAppC
include $(MAKERULES}
#include Puits.h
configuration PuitsAppC {
}
implementation {
components MainC;
components PuitsC as App;
components ActiveMessageC;
components new AMSenderC(AM_PUITSMSG);
components new AMReceiverC(AM_PUITSMSG);
hi all,
i am trying to send an array using moteif. i have successfully sent a short
(example A), and then i modified my code (example B) to send an array. but i
always get this error:
java.lang.ArrayIndexOutOfBoundsException: 1
Array:[EMAIL PROTECTED]
i dont know what i did wrong. i have simply
It seems it has nothing to do with TinyOS but the java program errors.. How
did you define CmdArray in example B? Have you specified the size of the
array in Java code?
From: julien falco [EMAIL PROTECTED]
To: TinyOs Help List tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help]
thank you or your message
yes, i had actually only copied the whole declaration in example A: short[]
CmdArray = new short[1];
i was trying to send a 1dim array for a test.
On 6/20/07, Micfox Micfox [EMAIL PROTECTED] wrote:
It seems it has nothing to do with TinyOS but the java program
and i wrong copied/pasted: here is example B again:
example B: not working
short[] CmdArray = new short[1];
short Cmd;
int hex;
protected RemoteController rc;
public void justdoit(){
try{
String b1 = _byte1.getText();
hex =
vazoumana fofana wrote:
div class=moz-text-flowed style=font-family: -moz-fixed
Hi
Here is my Makefile :
COMPONENT=PuitsAppC
include $(MAKERULES}
Your Makefile should end here.
#include Puits.h
configuration PuitsAppC {
}
implementation {
components MainC;
components PuitsC as App;
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:
It was ever done. i ve ever succeeded in compiling other applications in
tutorial so i don t think it s a problem with variables environment.
From: J. Ryan Stinnett [EMAIL PROTECTED]
To: vazoumana fofana [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], tinyos-help@Millennium.Berkeley.EDU
Subject:
Of course it is not right. You only define an array with one element and
the array started with zero-index, which means you should refer to the
CmdArray[0] instead of CmdArray[1]... Try CmdArray[0], then this exception
will go away..
From: julien falco [EMAIL PROTECTED]
To: Micfox Micfox
ok, i made it work with an array of size one :-) (see below)
but now, when i increase to an array of size 2, i still get this:
java.lang.ArrayIndexOutOfBoundsException. code below.
what is the difference bewteen dim1 and 2?? for info, i try to send
something like 00 or FF
// dim1
short[] Cmd
vazoumana fofana wrote:
It was ever done. i ve ever succeeded in compiling other applications in
tutorial so i don t think it s a problem with variables environment.
I thought that might be the case. Could you post the full text of the
error message you're getting?
Thanks,
Ryan
From:
The message error is written in french language :
M%akefile:2: *** référence incomplète à une variable.
It s like it doesn t find Puits in Makerules . I don t understand ?
From: J. Ryan Stinnett [EMAIL PROTECTED]
To: vazoumana fofana [EMAIL PROTECTED]
CC: [EMAIL PROTECTED],
Look what I found =)
COMPONENT=PuitsAppC
include $(MAKERULES}
you should close with ) instead of } . I bet it is a typo...
COMPONENT=PuitsAppC
include $(MAKERULES)
2007/6/20, vazoumana fofana [EMAIL PROTECTED]:
The message error is written in french language :
M%akefile:2: *** référence
hi all.
this is a new thread for the
http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg13203.htmlsince
it became long. thank you to micfox
and Peter to notice my copy/paste mistake.
i successfully sent an 1d array from pc to a tmote sky (tiny1.1) using the
moteif java togheter
Thanks. how stupid of me
From: Bernardo Avila Pires [EMAIL PROTECTED]
To: vazoumana fofana [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] [Makefile]
Date: Wed, 20 Jun 2007 08:06:46 -0300
Look what I found =)
COMPONENT=PuitsAppC
Hi,
I am looking forward on doing some application for TinyOS 2 where I can
determine localization using triangulation methods upon the link quality.
Looking at the nesC docs, I can find a couple of interfaces that may match
my needs:
CtpInfo and LinkEstimator.
Can anybody tell me the difference
Hello all,
Sorry if this has been covered in detail before, but I had trouble searching
the archives to find information that I wanted. It seems that I'm trying to
do something that not many have attempted (at least not that I can find).
I have an Atmega 1281 with 128 Kb flash, but no
Hi,
Just upgraded to 2.0.1 and am wondering why these components are in
$TOSDIR/platforms/telosb:
SwitchToggleC.nc
UserButtonC.nc
UserButton.h
UserButtonP.nc
These appear to be platform independent components...
Thanks,
Steve
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
Steve McKown wrote:
Hi,
Just upgraded to 2.0.1 and am wondering why these components are in
$TOSDIR/platforms/telosb:
SwitchToggleC.nc
UserButtonC.nc
UserButton.h
UserButtonP.nc
These appear to be platform independent components...
How so? The telosa nodes
On Wednesday 20 June 2007 09:06:17 am Oussama Chougna wrote:
With the PacketAcknowledgements interface in tinyos2 one could request acks
right? But should I modify the base station to send back acks?
If your base station uses the CC2420 radio, you can use the BaseStationCC2420,
which turns on
Hi Tsung,
regarding your last question I read on CC2420 that the RSSI_VALID status bit
is set when the receiver has been enabled for at least 8 bit symbols, so I
believe the value you retrieve is already averaged over 8 symbol periods
On 6/19/07, Tsung-Han Lin [EMAIL PROTECTED] wrote:
In
Hi,
I'm using the CC2420Basestation, but i don't get the acks back to my sending
mote. I check acks on the mote like this:
event void AMSend.sendDone( message_t * thisMsg, error_t error )
{
if (call ack.wasAcked(thisMsg))
{
I haven't looked at the code in awhile, but we may need some modifications
here. If acks are not being sent from the base station, then the reason why
is because the base station accepts all packets from all addresses.
Therefore, it disables auto-acks to prevent it from spewing out false ack's
to
Thanks for the response. Please see below.
2) The setThreshold command, cited at the start of the tutorial
section Configuring a Network, does not appear to exist in this
release.
Also, it is not listed in the dir(r) response cited above or in the
one
that I run myself. How, then do
Hello
When I run the application blink in TOSSIM under Tinyos 2.0 get the following
error
[EMAIL PROTECTED] /cygdrive/c/tinyos/cygwin/opt/tinyos-2.x/apps/blink
$ make micaz sim-cygwin
Makefile:2: cygpath: No such file or directory
Makefile:2: -w: No such file or directory
Makefile:2:
I don't remember or understand very well of tinyos-1.x, but how did
you check the message receival in the computer? Have you mapped
correctly the message fields to the output of the program in the
computer which shows the received messages?
One suggestion: set address based values via
On Wednesday 20 June 2007 10:26:50 am David Moss wrote:
I haven't looked at the code in awhile, but we may need some modifications
here. If acks are not being sent from the base station, then the reason
why is because the base station accepts all packets from all addresses.
Therefore, it
Hello;
I've got a network that uses the TestNetwork demo app (which uses CTP), and
I have an extra-network module, who runs a variation of BaseStationCC2420
demo app, that I use to sniff the packets circulating.
The TestNetwork blinks a
led indicating a sendDone, and the BaseStation blinks the
Hello Giri,
I readed user's manual of MoteConfig for program the new firmware in nodes.
By the moment i only can the firmware of gateway with the version of high
power in folder mica (C:\Archivos de
programa\Crossbow\MoteView\xmesh\mica2\433MHZ\XMeshBase). RF power 255,
channel 00, in fuse
On Jun 20, 2007, at 5:35 PM, Pedro Almeida wrote:
Hello;
I've got a network that uses the TestNetwork demo app (which uses
CTP), and I have an extra-network module, who runs a variation of
BaseStationCC2420 demo app, that I use to sniff the packets
circulating.
The TestNetwork blinks a
Somewhere along the line you probably have $TOSROOT
instead of $(TOSROOT) in a makefile. Make only likes
the first char of variables...
MS
Farhana Khan wrote:
Hello
*When I run the application blink in TOSSIM under Tinyos 2.0 get the
following error*
[EMAIL PROTECTED]
Hello,
I am using SurgeTelos to extract light readings from the TelosB motes. I am
using TinyOS 1.1.15. I wired the Hamamatsu.nc component instead of the
temperature component in SurgeTelos application. When I collect the TSR data, I
know that it is 16 bits long. Can anybody help me in finding
Hello, Phil!
I supposed it to be so, but the message that ends being snooped is the
repetition of the actual normal package that was last sent by the
TestNetwork nodes. I can see it not only from the contents of the payload,
but from the sequence number, that is the same during the frenzy
On Jun 20, 2007, at 6:00 PM, Pedro Almeida wrote:
Hello, Phil!
I supposed it to be so, but the message that ends being snooped is
the repetition of the actual normal package that was last sent by
the TestNetwork nodes. I can see it not only from the contents of
the payload, but from the
36 matches
Mail list logo