[net2-wg] Collection

Rodrigo Fonseca rfonseca at cs.berkeley.edu
Wed Jun 14 14:55:53 PDT 2006


Hi all.

Kyle, please update cvs as I added the remaining commands for logging.
I changed the log commands you had placed in ForwardingEngineP to the
new format.

As for testing, I am testing on mirage (will have to stop now for 2
hours), and so far couldn't get a topology to form. Nodes are
reporting to the uart over the dbg channel, but may have to change the
radio power so that they can talk. I will try other topology once I
come back.

Thanks,
Rodrigo

On 6/14/06, Philip Levis <pal at cs.stanford.edu> wrote:
> On Wed, 2006-06-14 at 13:55, Rodrigo Fonseca wrote:
> > I added an interface -- CollectionDebug -- which allows for easy
> > calling of debug messages. I have implemented one of the commands in
> > UARTDebugSenderP, and am finishing the others. Should make sending
> > these msgs much easier.
> >
> > Rodrigo
>
>
> Here's a dump of some packets. This is a network of two telos (one is a
> tree root):
>
> 00 FF FF 0C 22 15 01 00 01 AA 00 00 01 00 0A 00 00 FE
> 00 FF FF 07 22 00 01 00 00 64 00 01 FE
> 00 FF FF 07 22 00 01 00 01 AB 00 00 FE
> 00 FF FF 07 22 00 01 00 00 65 00 01 FE
> 00 FF FF 07 22 00 01 00 01 AC 00 00 FE
> 00 FF FF 0C 22 15 01 00 00 66 00 00 00 00 00 00 01 FE
>
> The six byte is the AM type: 00 is link estimation, 15 is routing
> beacon. The 01 following the AM type is the control byte, showing that
> every packet has a single link estimation entry in it. The next two
> bytes show the data-link address: 00 00 is the root, 00 01 is the child.
>
> E.g:
> *** AM Header
> 00 FF FF : sent to broadcast
> 0C : 12 bytes long
> 22 : AM group 0x22 (66)
> 15 : AM type 15 (routing beacon)
> *** LE Header
> 01 : One link estimation entry
> 00 01: Sent by node 0
> AA : sequence number
> *** Routing beacon
> 00 00 : parent
> 01 : hop count
> 00 0A : metric (10, or ETX of 1)
> *** Link estimation entry
> 00 00 : link estimate of node 0 -> node 1 (me)
> FE : it's great
>
> (Note that there are no data packets.)
>
> Basically, what these messages show is that we have routes, but no data
> packets are being sent.
>
> Phil
>
>
>



More information about the net2-wg mailing list