When you download the SDK 2.2.1 WICED-Smart-SDK-2.2.1-IDE-Installer (Windows) , take a look at hello_sensor.c application:
extern UINT32 blecm_configFlag ;
blecm_configFlag |= BLECM_DBGUART_LOG | BLECM_DBGUART_LOG_L2CAP | BLECM_DBGUART_LOG_SMP;
From ur suggestion, after checking, it is the BLE debug trace.
Currently we need APP level debug trace, and I find one function call as below in Dbfw_app.h,
extern void trace(UINT32 level_module_id, UINT32 fid, UINT32 line, UINT32 var);
but after I use this function, it doesn't have UART trace so dont know any problem of my configuration.
trace() from dbfw.h is currently not available to the application. You can only use ble_trace*() functions in the app.