Hello!
What's on tos/lib/net/ctp is the default that comes with tos 2.0.1, i havent
touched it.
The applications is basically TestNetwork:
#include Timer.h
#include TestNetwork.h
#include CtpDebugMsg.h
module TestNetworkC {
uses interface Boot;
uses interface SplitControl as RadioControl;
uses
If you look in the code below in TestNetworkC.nc, you will notice that
we take msg out of the queue but try to send recvPtr on the UART. We
should send msg on the UART. This fix was discovered a long time ago
but we had forgotten to update the CVS. I committed a fix for this
problem to the CVS.
Omprakash!
Thank you a lot for you interest and help in the subject!
I'll correct it in the code and see the result. I thought, when observing
that behaviour, it was just a delay till the ctp tree was fully
established...
I'll see how this goes now, thanks!
Very best regards,
Pedro Almeida
On
If you post those messages you get on the serial port and if I
recognize them, I will tell you what they are.
- om_p
Hello, Omprakash, thank you for your answer!
I have commented everything related to collection debug and debug overall
code, but something might have slipped, it's
Hello, Omprakash!
The messages are basically like this:
7E 45 00 FF FF 00 00 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 53 63 7E
In the 0's there should be the CTP header and data structures (they get
correctly populated after 14 receives from the network).
Thanks,
Could you please send the sequence of 14 pkts? Also, the node id's of
all the nodes in the network.
Thanks.
- om_p
--Boundary_(ID_fV07YJXUQXrxAiWVf3N4vw)
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
Content-disposition: inline
Hello,
Well,
It's this 14 times,one message every time a node sends a data packet (the
CRC bytes there are wrong, i just put 0's in the middle using a normal
message as a starting point):
7E 45 00 FF FF 00 00 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 53 63 7E
the node id's are
Could you also post the tarball of tos/lib/net/ctp and the application
you are using?
- om_p
Well,
It's this 14 times,one message every time a node sends a data packet (the
CRC bytes there are wrong, i just put 0's in the middle using a normal
message as a starting point):
7E 45 00
Alright, sorry, i just read the CTP a bit better and understood this:
The routing frames are returned to a node when requested by another node by
enabling the P bit (routing pull) in the data frame.
The LEEP frames are periodical and should (i believe) be sent by default to
measure link quality