Hello,
I am trying to use pytos to debug a telosb mote that runs a tinyos 1.x
application.
When I connect to the mote, I see no error messages. SerialForwarder
also does not show any problem. However, I see only "[]" when I try
to call peek() under pytos.
For example:
>>> app.DrainM
<class 'pytos.util.NescApp.Shortcut'> object at -0x559d09f4:
Module DrainM
uint8_t : backoff
bool : baseAcks
uint16_t : forwardDrops
uint16_t : forwardPackets
TOS_Msg[12] : fwdBuffers
uint8_t : fwdQueueCount
uint8_t : fwdQueueIn
uint8_t : fwdQueueOut
uint16_t : linkAckedPackets
uint16_t : linkBackoffExpires
uint16_t : linkSendPackets
uint8_t : queueChoice
bool : queuesBusy
bool : radioBusy
uint16_t : sendDrops
uint16_t : sendPackets
uint8_t : sendQueueCount
uint8_t : sendQueueIn
uint8_t : sendQueueOut
>>> app.DrainM.sendPackets
<class 'pytos.tools.RamSymbols.RamSymbol'> object at -0x559d0c54:
uint16_t : DrainM.sendPackets
>>> app.DrainM.sendPackets.peek()
[]
>>>
This happens to every peek() call. Here is the sf output:
"""
Listening to serial@/dev/ttyS3:telos
Platform telos
Listening for client connections on port 9001
serial@/dev/ttyS3:57600: resynchronising
"""
It says 50 packets have been written.
I'm invoking pytos in this way:
PytosShell.py telosb [EMAIL PROTECTED]:9001
I'm at a loss trying to understand the empty brackets. Please help.
Thanks,
-Deepak
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help