hi..
i have a question.
where can i find init(), start(), and stop() function in StdControl.nc?
TQ
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
The problem you describe sounds like it's not pulling in the right files
during compile time. In your Makefile, try using CFLAGS instead of PFLAGS.
CFLAGS += -I/opt/tinyos-1.x/tos/contrib/rincon/tos/platform/mica2
(or whatever directory you're using)
If the compiler can't find that and your oth
I have altered TOS_Base to change frequencies.
When I have it change frequencies, it never resumes forwarding.
I added:
PFLAGS += -I/opt/tinyos-1.x/tos/contrib/rincon/tos/platform/mica2
to my makefile, but I haven't been able to confirm it's actually using the
rincon stack.I'm not sure I'm gett
On Friday 08 June 2007 13:21, Pedro Almeida wrote:
> Hello;
>
> I'm trying to look for documentation where I can understand the exact
> contents, byte by byte, of the MPDU. I've looked into the TEPs and the
> source files themselves, butI wasn't completely clear.
>
> I'm using now the TestNetwork d
Hi,
We have a problem testing Surge Application.
First we program every motes :
- The mote 0 with TOSBASE Programm
- Mote 1 with Surge App
- Mote 2 with Surge App
with the followings commands lines:
Hello all,
i'm trying to invoke one function from a C file which has been generated
with the option -fnesc-cfile of the nesc compiler. Each one of the
functions prototypes in this C file uses the dollar symbol in order to
separate the component names and the final function invoked, for example,
P
Sorry for asking help before investigating deeper myself. It was a minor
issue of two counters having different size_types. Using TransformCounterC
has solved the problem.
Thanks,
-Mehedi
On 6/11/07, Mehedi Bakht <[EMAIL PROTECTED]> wrote:
Hi,
I am working with tmotes and using TinyOS2.x on c
Hello Giri,
you helped me before by letting me know that MEP-SYS components are
preprogrammed with low power version of Xmesh, which I didn't know.
My MEP-SYS is acting very strangely. Like you told me before, i tried to
power-cycle the motes, but they kept that strange timing when sending data
Hi,
I am working with tmotes and using TinyOS2.x on cygwin.
I want to get current time in microseconds. My code for that is as follows
(in the file LoggerC.nc):
Line 15: components new CounterToLocalTimeC(TMicro);
Line 17: components Msp430CounterMicroC;
Line 31: CounterToLocalTimeC.Counter ->
Hello, Alexander;
I'm using a micaz, so it is CC2420 indeed.
I've looked into the Zigbee specification, 802.15.4 frame formats and
understood (I believe, even if lightly) the frame formats.
But I am not sure of what the 32 bytes I receive are, exactly. Is it the
complete PPDU? There is a group (A
On Sunday 10 June 2007 14:20, Murtuza wrote:
> I am working on tinyos-2.x and i have a very simple question to ask. Though
> I read the TEPs etc I still cant figure out what AMType means. The
> tutorials too dont tell what it is. Can anyone tell me what it is?
Others have used the analogy that the
Mayur,
The problem with PacketLink is the fact that your acknowledgements are being
dropped. The wasDelivered() command simply forwards to
PacketAcknowledgements.wasAcked(). This could be caused by several things,
but since you're probably using flash, that's probably the reason why. The
SPI
On Jun 11, 2007, at 1:49 AM, Marek Jawurek wrote:
Hi,
recently I ran into problems with TOSSIM of TinyOS version 1.x
which did
not reset completely. Motes did not communicate after the reset
properly. Because of that and because of the fact that most
documentation and development are done fo
On Jun 11, 2007, at 7:23 AM, Ole Bischoff wrote:
Also take a look at http://nescc.sourceforge.net/papers/nesc-
ref.pdf (Language Reference Manual from Phil Levis)
David Gay wrote the language reference manual.
Phil
___
Tinyos-help mailing list
T
On Jun 11, 2007, at 5:56 AM, julien falco wrote:
I am trying to set a value to an uint8_t type in a structure. i
wrote it the C way:
struct Command
{
uint8_t flag;
uint8_t length;
};
struct Command Cmd1;
Cmd1.flag = '0';
but at compiling it says that
ReaderControllerM.nc:52
Well, that works for me...as long as I'm careful where I put the typedef.
In a header file or inside the implementation{} block works.
Try reducing the problem to the minimum amount of code, perhaps there
is something else interfering with the definition or declaration.
Maybe a name overlap? Try
Well I hate to say this, but I will try to be gentle...
That's a GCC problem, not Java. Which is not to say that
you won't have Java problems later...heh...
There's something wrong with your C header files, or perhaps
the set of options on the gcc line, vis your particular platform.
You might tr
You can use the java.media classes to write a standard audio format file,
I say glibly, not having done it myself...
I have also noticed that Adobe Audition has an option for reading in a
text file, which I assume would be a list of samples. Other audio edit
programs may have such features as wel
On Friday 08 June 2007 23:38, vipin kashyap wrote:
> Though I have personally not tried switching over to tinyos-2.x, i have
> nevertheless seen quite a few people struggling to do so around me. I must
> say that the transition is far from smooth. People have had trouble
> compiling their first app
Hi,
On Friday 08 June 2007 10:40, Eukrit Kraikosol wrote:
> Hi I'm a newbie here trying to do a project about Telos Mote and TinyOS.
>
> I've an idea about my project that I would like to ask you if it is
> possible or not.
> The idea is I want to use telos mote equipped with some kind of wired we
Hello Philip Levis,
Good morning !
I have saw you done the watchdog mechanism in MICA2 on the web. May I ask
two implementation questions in this field?
1. Where we can implement your code in MICA2 ? Can we put the code inside
the Surge_Reliable app. which provided in TinyOS.
2. Can we send the
Thank you guys. Solved it. I wasn't trying to do it in an 'executable
environment' and thus the problem mentioned by Ole appeared.
Cheers,
Julien
On 6/11/07, Ole Bischoff <[EMAIL PROTECTED]> wrote:
Hi Julien,
try:
typedef struct MyCommand {
uint8_t flag;
uint8_t length;
} MyCo
Hi Julien,
try:
typedef struct MyCommand {
uint8_t flag;
uint8_t length;
} MyCommand;
MyCommand Cmd1;
And set the value (Cmd1.flag = 0;) in an "executable environment" (e.g.:
function, event, command), because otherwise the complier thinks that "Cmd1"
is a interface
Hi all,
Can anyone tell me how do I check if a micaz mote is connected to the
serial port? The solutions i've found here in the list are about other
motes, not micaz. I've search similar named files (uart*, serial*) but
can't find what I need. Any help is appreciated
Thanks in advance
Hugo
_
ok thanks,
that's better. but i still have to problem of initializing i have tried
with:
typedef struct Command
{
uint8_t flag;
}Command;
Command Cmd;
Cmd = '0'; =0x00; ={0}; =0 and so on
Cmd.flag =''0' same as above and so on...
but nothing work, i always get an error of type
ReaderCo
I see sorry,
another way you might try is
struct
{
uint8_t flag;
uint8_t length;
} Command;
this definitely works for me. All other thing i see that might be
different..
julien falco wrote:
it doesnt work (i declared struct and not typedef struct) and anyway
it did not work with type
it doesnt work (i declared struct and not typedef struct) and anyway it did
not work with typedef struct either! there must be someting else... :-(
On 6/11/07, Gideon Spreeth <[EMAIL PROTECTED]> wrote:
Declare Cmd1 just by saying:
Command Cmd1;
julien falco wrote:
>
>
>
> I am trying to set
Declare Cmd1 just by saying:
Command Cmd1;
julien falco wrote:
I am trying to set a value to an uint8_t type in a structure. i wrote
it the C way:
struct Command
{
uint8_t flag;
uint8_t length;
};
struct Command Cmd1;
Cmd1.flag = '0';
but at compiling it says th
I am trying to set a value to an uint8_t type in a structure. i wrote it the
C way:
struct Command
{
uint8_t flag;
uint8_t length;
};
struct Command Cmd1;
Cmd1.flag = '0';
but at compiling it says that
ReaderControllerM.nc:52: unexpected interface reference in declaration of
`Cmd1.
fl
On 6/11/07, Alexander Becher <[EMAIL PROTECTED]> wrote:
Hi,
* Romain Thouvenin:
>I would like to know if/how the propagation time of packets is
>simulated in tossim, and how it generally relates to the real world. I
>didn't find anything about it on the website but I may have missed it,
>I'm not
Hi,
* Pedro Almeida:
>I'm trying to look for documentation where I can understand the exact
>contents, byte by byte, of the MPDU. I've looked into the TEPs and the
>source files themselves, butI wasn't completely clear.
the contents depend on your specific platform. For example, for a CC2420
radi
Hello
I am currently ** off, so I'll try to be as gentle as possible, as I
humbly ask of you to help me.
Recently, I started trying to get mote to serial communication to work.
It happens that Java is not working (and let me say I hate Java because it
always causes me trouble). I trie
Hei!
I'm working for now with Tiny OS 2 and I need a very simple Time Sync
protocol for my application. I've used a very simple broadcast protocol to
achieve that, but I'm would like to know if there's any work already done.
So, does anyone know any implented Time Sync protocol for Tinyos 2?
Th
Hi,
* roberto pagliari:
>does anyone know where I can find some documentation regarding the avr C
>programming in general, not specifically related to nesc..
maybe take a look at the datasheet of the microcontroller. Or take a
book about microcontroller programming from your favourite library.
H
Hi David,
It was nice of you that you helped me with the information on blackbook.
However there seems to be problem galore ;)
1. PacketLink
I tried using the PacketLink interface in one of my apps and it fails to
receive the acks. Previously, I was using the PacketAcknowledgements
interface and
Hi,
* Romain Thouvenin:
>I would like to know if/how the propagation time of packets is
>simulated in tossim, and how it generally relates to the real world. I
>didn't find anything about it on the website but I may have missed it,
>I'm not very familiar with the terms.
I'm relaying second hand k
Hi,
I'm working with Tossim and tinyos-1.x to write an application for wireless
sensor network.
In my scenario there are two nodes and a base station. These nodes access to
the channel in TDMA mode, so ech node trasmitt/receive only in the
appropriate time slot. To realize it, I set a timer [use T
I've already found how to fix this last week but thanks for your response :)
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Hey all,I'm using tinyos 1-x and micaz motes, I need help regarding to MIG.If
anyone knows how to use it, feel free to email me.
_
Play free games, earn tickets, get cool prizes! Join Live Search Club.
http://club.live.com/home.aspx?
Hey all,I'm using micaZ motes and sampling the MTS310 sensorboard microphone..
I need some aplication that can help me to play back the audio..and I also want
to know if its possible to change the audio format from microphone.. someone
told that the audio from microphone is PCM_10bits length, I
Hi,
I think I've asked this before. I used the SysTimeStamping component
contributed by Vanderbilt to add timestamp on outgoing packets.
However what I see in the receiver side is the timestamp value not
attached on the packet (timestamp value equals to the offset between
global and local
Hi,
recently I ran into problems with TOSSIM of TinyOS version 1.x which did
not reset completely. Motes did not communicate after the reset
properly. Because of that and because of the fact that most
documentation and development are done for TinyOS 2.x I changed my
application to TinyOS 2.x and
42 matches
Mail list logo