Hi all, I have been trying to program an application with the TKN154 MAC implementation, intending to associate a device with the coordinator and send packets periodically. It does work, but not very well, cause the device misses some beacons periodically as well (I think that is because it tries to send something while it should be in rx mode). I have notice that after commenting some printf's the time at which the device loses sync is different (altough periodically).
So, I thought that maybe it could have something related with the printf's, and that these could made that the TKN154 implementation doesn't work as it would. I have read that I should just use the printfflush() in non-time critical operations, but even with no printf's my device is losing synchronization with the coordinator (but not so often). Hence, I would like to ask: has anyone experienced sync problems using the printf function in time critical areas or know why I could have these problems? How could I solve that? Is there another way to debug the application without running a simulation with TOSSIM? Thank you ver much in advance. Regards, Pablo
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
