Part Number:LAUNCHXL-CC26X2R1
Hi,
When you use uartlog as it is set up in project zero the logs are only flushed (uartLog_flush) with the idle task. When you use Util_convertBdAddr2Str 2 times the idle task run you will get the same string printed in the log because Util_convertBdAddr2Str uses a pointer to a static local variable in its context to keep the string alive when you leave the context. A bandaid fix would be to just use uartLog_flush right after you log a char pointer. A better yet more complicated approach would be to have a list of the char pointers on the heap and clear them after uartLog_flush is called. Am I missing an easier approach?
Best Regards