esp-google-iot
                                
                                 esp-google-iot copied to clipboard
                                
                                    esp-google-iot copied to clipboard
                            
                            
                            
                        smart_outlet_example.c line 317 need "\n" to get the printf to the terminal (CA-108)
line 317 printf("iotc_create_iotcore_jwt returned with error: %ul", state); software looked like stopped at this point because the thread will be killed the next line. I got lost for a while busy looking for where did the program go because it didn't print.
I had to change it to printf("iotc_create_iotcore_jwt returned with error: %u\n", state);
Then I realized that the error happened here.
Hi @bonmotwang , Thanks for reporting the issue. The print statements have been replaced by ESP_LOGX() statements which add a newline character to the prints. The commit a81cf20a6de61bd78b781dfb5b2f6c4bf39c8541 solves this issue.