[Tinyos-help] About a data judgement condition
Michael Schippling
schip at santafe.edu
Wed Oct 24 16:47:44 PDT 2007
I will spare the air in respect to MHO of the beauty of this demo app
vis TOSfucation of functionality...
In RfmToIntM.nc::ReceiveIntMsg.receive(TOS_MsgPtr m)
m is the full message being received from another mote.
m->data is the IntMsg 'payload', defined in tos/lib/Counters/IntMsg.h.
(IntMsg*)message->val is the actual integer of interest.
Congratulations on having found RfmToIntM.nc in the first place. The best
starting tool for tracing TOS code is the "make [platform] docs" target
that may, sometimes, point you in the direction of the actual code being
executed.
MS
SS C wrote:
> Hi all,
>
> I'm modifying the code "RfmToLeds" and hoping I can add a data condition
> judgement in it. I'm adding it at the module "RfmToIntM", but I don't
> know which variable means the data I'm getting from my transmitter. Does
> anyone know? Or how to find such definition information? Thanks,
>
> Jessie
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list