You have to enable acks using MacControl.enableAck()

On 4/19/06, Roberto <[EMAIL PROTECTED]> wrote:
> Does anyone know if the ack field of AM messages runs ? I tried to use
> it, as in the following example, but I have no ack of the message
> status. The strength or lqi fields, for example, are correctly filled
> when I used them in receive tasks..
>
>    event result_t SendCmdStartRSSImeasuremensts.sendDone( TOS_MsgPtr
> sent, result_t success ) {
>       if( sent->ack == 1 ) {
>          call Leds.yellowOn();
>          call cmdTimer.start( TIMER_ONE_SHOT, 125 );
>       }
>       cmdPending = 0;
>       return SUCCESS;
>    }
>
>
> thank you..
>
> Roberto
>
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

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

Reply via email to