Perhaps I'm missing the point...you are using:
   -comm [EMAIL PROTECTED]
which, I think, means you are talking to a simulator
rather than a real system. Am I confused?

If you are using a simulator, as I said I don't use TOSSIM so
I don't know how it works or if 'they' designed the message
passing system to incorporate more than one source. In the
'real' world the PC can only receive messages via a base-station,
which is nominally node 0, so TOSSIM may imitate that.

Also I'm not clear on your multi-hop-debug-packet thing.
Wouldn't you shut off sending at the source? If your
base-station is running TOSBase, all messages addressed to
the BaseID and BCAST will pass-thru to the PC -- however I
believe it may filter out messages addressed to other MoteIDs.

MS

Ray kah wrote:
Hi Michael

I used to forward debug packets multi-hop over the radio to the basestation (node 0), and then towards the PC for displaying. But now, I want to remove the debug from the radio.

I don't understand, so is it possible to receive packets from other nodes ?

Please explain. Thank you.

Ray

On 9/16/07, *Michael Schippling* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    hmmm, I don't use TOSSIM but it's possible that they made the
    assumption that node 0 is the base-station (usually running
    "TOSBase") and that other nodes would talk to the PC through
    that one. In a 'real' mote system that would be the general
    case, although you _can_ assign any ID to the mote in the base
    adapter in order to confuse things.

    MS

    Ray kah wrote:
     > Hi
     >
     > I tried to send packets to the UART. Through SF (java
     > net.tinyos.sf.SerialForwarder -comm [EMAIL PROTECTED]), I used
     > Listen.java to view all the packets . The packet is "7E 00 12 7D
    02 <<
     > 00 FF >>",  where << 00 FF >> is my data. Here 00 is the node Id
    which I
     > set before sending.
     >
     > Unfortunately, I can only view those coming from node 0.
     >
     > Can I also view packets from other nodes too ? How different is this
     > from the real motes?
     >
     > Thank you.
     >
     > Regards,
     > Ray
     >
     >
     >
    ------------------------------------------------------------------------
     >
     > _______________________________________________
     > Tinyos-help mailing list
     > Tinyos-help@Millennium.Berkeley.EDU
    <mailto:Tinyos-help@Millennium.Berkeley.EDU>
     >
    https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

    --
    Platform: WinXP/Cygwin
    TinyOS version: 1.x, Boomerang
    Programmer: MIB510
    Device(s): Mica2, MicaZ, Tmote
    Sensor board: homebrew




--
Regards,
Ray

--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to