Hi,

thank you Wasif, but it doesn’t work. The ‘bad packet’ error still appears. I’m 
working with micaz motes( baud rate: 57600).
Which can be the source of this error?

Thanks,
Felipe.

From: wasif masood 
Sent: Friday, August 03, 2012 7:07 PM
To: Felipe Cruz Martínez 
Cc: TinyOS HELP 
Subject: Re: [Tinyos-help] Bad packet




try using this baud rate :  115200  

i.e.  serial@/dev/ttyUSB1:115200





On Fri, Aug 3, 2012 at 5:35 PM, Felipe Cruz Martínez <[email protected]> 
wrote:

  Hi all,

  i am a little confused. I don’t know the reason why when i add/delete a 
printf for debug my app, i get the following error:

      serial@/dev/ttyUSB1:57600: bad packet

  it’s very strange. When i delete the three lines that contains the event, bad 
packet error does not appears.

  
<8-------------------------------------------------------------------------------------------------
  event void MLME_START.confirm(ieee154_status_t status) 
  {
      #ifdef DEBUG_802154
          printf(“MLME_START.confirm(status: %d) \n”,status); printfflush();
      #endif
  }
  
----------------------------------------------------------------------------------------------------8>

  Any help would be very appreciated. I’m desperate because in tinyos-help all 
threads about ‘bad packet’ are unresolved.

  Thanks,
  Felipe.

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





-- 
Wasif Masood

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

Reply via email to