Hello,

I found that when I set AM address to a value that is different from
TOS_NODE_ID in TOSSIM, an ack is not received in a sender.

I think it's because of a code in CpmModelC that compares TOS_NODE_ID
to AM ADDRESS:


In CpmModelC.nc
command void Model.putOnAirTo(
...
 sim_gain_put(other, msg, endTime, ack && (other == dest) ...
...
dest is an AM ADDRESS and other is a node id.

When I remove (other == dest), it seemed to work fine.

Jung Woo
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to