For debug data_stream, I added Log_printf in app_data_stream.c
char printData[len+1]; ... Log_printf(LogModule_App2, Log_DEBUG, "Data: %s", "Print the incoming data"); Log_printf(LogModule_App2, Log_DEBUG, "Data len: %d", len); Log_printf(LogModule_App2, Log_DEBUG, "Data: %s", printData);
But I found Log_printf couldn't show printData content correctly, it always show "char". If I used larger size sting, it would showed "_AL_POLICY_AL_SCAN_REQ", any idea about thie issue ?