1 of 1 people found this helpful
Yes you can use so by using wiced_set_debug_uart( WICED_ROUTE_DEBUG_TO_HCI_UART );
Please refer wiced_bt_trace.h for more info.
This related thread might be helpful: CYBT-343026-EVAL: how to use WICED_BT_TRACE outputs for debug purposes?
Thank you for your response. Could you tell me more specifically?
1) Where does the WICE_BT_TRAC message(routed HCI UART) appear in the ModusToolbox window?
Please point it in the bellow screenshot.
I think HCI UART will be used for FW download.
I expect that WICE_BT_TRAC message(routed HCI UART) will be appeared in the ModusToolbox window seamlessly after downloading.
2) Which source code file should I touch to fix 'wiced_set_debug_uart(WICED_ROUTE_DEBUG_TO_HCI_UART)'?
I am using the demo application: BLE Mesh Temperature Sensor.
1. Yes HCI UART is used for FW downloading. So while programming, do not open the HCI UART in teraterm or putty. After downloading, open HCI COM port and you should be able to see the logs.
2. Just put below API in your code as shown in snapshot-
and change the baudrate to 115200.
Note that after resetting you wont be able to see logs on HCI UART because device will enter in recovery mode.