[Tinyos-help] ActiveMessage in TOSSIM

naveen somasundaram naveen.at.ceg at gmail.com
Tue Jul 7 04:58:26 PDT 2009


hi,
    I'm using TOSSIM to simulate a custom MAC protocol. I want to add
a new function to the AMSend interface.
    I read through the tinyos documentation and figured out that
AMSenderC provides an abstraction. I also understood that
    TossimActiveMessageC.nc is the file which acts as the
activemessage module in TOSSIM. Now when I try
    to add a new method, AMSend.sendxxxx[am_id_t id](...), I get this error,

    /opt/tinyos-2.1.0/tos/lib/tossim/TossimActiveMessageC.nc: At top level:
    /opt/tinyos-2.1.0/tos/lib/tossim/TossimActiveMessageC.nc:82:
`sendxxxx' is not in interface `AMSend'

    which AMSend interface is it referring to ?.  I really don't get
the wiring properly.
    Any help would be greatly appreciated :)

    thanks,
    --
   Naveen Somasundaram
   College Of Engineering, Guindy.



More information about the Tinyos-help mailing list