Hi,
Could someone tell me about the meaning of
enum {
CLIENT_COUNT = uniqueCount (UQ_COLLECTION_CLIENT)
};
which is declared in ForwardingEngineP.nc ?
#define UQ_COLLECTION_CLIENT CollectionSenderC.Send
is declared in TreeCollection.h
Thanks,
Mohamed
Hi,
Could someone tell me about the meaning of
enum {
CLIENT_COUNT = uniqueCount (UQ_COLLECTION_CLIENT)
};
which is declared in ForwardingEngineP.nc ?
#define UQ_COLLECTION_CLIENT CollectionSenderC.Send
is declared in TreeCollection.h
Thanks,
Mohamed
Hi,
I'm using micaz motes. The message_ structure is:
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 metadata[sizeof(message_metadata_t)];
} message_t;
Hi,
I thought message_t packet in Step 3 Declare any new variables ...
needs to be BlinkToRadioMsg packet.
Also, Packet.getPayload(pkt, NULL) in Step 4 should be
Packet.getPayload(packet, NULL)
Am I wrong?
Thank you,
Mohamed
Hi,
Could someone tell me the following code is complete/correct?
Where is pkt defined?
Also btrpkt is not used after initializing its fields nodeid and counter.
This code is in Lesson 3 of the tutorial (tinyos 2.x).
Any hint?
Thanks you,
Mohamed
4. Add any program
Hi,
When I run the command
from TOSSIM import *
I got the error Segmentation fault (core dumped).
I also tried other options already tested by Preeti K. (according to one of
his previous
emails) and got the following outputs:
from tinyos.TOSSIM import *
Traceback (most
Hi,
Running g++ -c tossim_wrap.cxx does not generate any error.
The file tossim_wrap.cxx is located in the directory
/opt/tinyos-2.x/tos/lib/tossim.
However, when I run make micaz sim, the errors given below and related to
tossim_wrap.cxx are generated.
Did anyone have
Hi,
Could anyone give me some hint on how to fix this problem?
When I run OSTYPE-cygwin make micaz sim, I got the following error although
there exists a link in the sim files that contains python2.4.dll:
...
compiling Python support and C libraries into pytossim.o, tossim.o,
Hi,
The execution of OSTYPE=cygwin make micaz sim produced the following error:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):(.text+0xab):
undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make: *** [sim-exe] Error 1
Any hint on
hi,
I had to re-install cygwin but after the installation, no command is working:
vi, make, etc.
Also, I downloded an rpm package from sourceforge.net/projects/cygwin-rpm.
Then, when I execute the rpm command as indicated in Step 3 of tinyos-2.x
installation, I got the following
Ahmed [EMAIL PROTECTED] wrote:
Date: Mon, 25 Dec 2006 12:30:11 -0800 (PST)
From: Mohamed Ahmed [EMAIL PROTECTED]
Subject: Problem with tossim
To: [EMAIL PROTECTED]
undefined reference to `_PyInstance_NewRaw'
undefined reference to `_PyDict_New'
undefined reference to `_PyDict_SetItem
Hi,
When I run tos-check-env, I got the following problem:
tos-check-env completed with errors:
-- WARNING: No dot in current path.
-- WARNING: tos-check-env could not find the 'dot' executable which is part of
the ATT Graphviz package. Please install version 1.1.0 of Graphviz if you'd
Hi,
It seems that whenever I open cygwin, I have to run the four
export command shown in Step 5: Install the TinyOS-2.x given in the
website
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html
Otherwise, for instance make micaz will not work.
Could you please tell
Hi,
After I installed tinyos-2.x
(http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html)
and run all teh different steps without any erros, I had the following
problems:
1. tos-check-env
tos-check-env completed with errors:
-- WARNING: No dot in current path.
--
Hi,
I want to implement a routing protocol for wireless sensor networks in TinyOS.
As I have no experience, I'd like to ask you if you could give me some
guidelines on how to
start the implementation:
- What directory shall I look into for existing protocols
- How to update existing
15 matches
Mail list logo