Your understanding seems to be correct.
There's no need to redefine DATA_LENGTH because your
total message payload is smaller than the default value.
Are you having troubles implementing?
If so post your code and the actual errors.
MS
Sam Azzaro wrote:
> Hi all,
> i want to do communicate two mot
Hi all,
i want to do communicate two motes with this way: the first one has to set up a
key, encrypt a plaintext of 16 bytes.
then send it to the second mote which receives the ciphertext, decrypts it,
then prints it.
i follow the lesson 3 of the tutorial, so, when the millitimer fires, the firs
*sim_time()* returns the number of (virtual) ticks spent since the
beginning of simulation.
Its value is only increased upon various *events*, and the incremented
value is determined by respective models (i.e.
tos/lib/tossim/*Model*). For example, the increment of *sim_time*
caused by packet trans
Hi all,
i want to determinate the sim_time of an appliaction on Tossim but i always
get the same one wich is the time when starting boot!
administrat...@v8fmk15ebx5la4b /opt/tinyos-2.x-contrib/crypto/apps/My_app$
pythonPython 2.5.1 (r251:54863, May 18 2007, 16:56:43)[GCC 3.4.4 (cygming
speci
When simulating my program under tossim I note the following fact:
The AMsend () return success however sometimes AMsend. SendDone() event is
not triggered.
And sometimes sendone () event triggered but receiver does not receive the
message (the receive event is not triggered)
Can you explain