On Feb 5, 2009, at 2:30 PM, Jung Woo Lee wrote:

> 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.

Nice catch. The (other == dest) check is redundant due to the up-call  
to shouldAck. I'll check in a fix.

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

Reply via email to