CYBT-343026-EVAL: how to use WICED_BT_TRACE outputs for debug purposes?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Greetings,

What must I do in order to be able to visualize the WICED_BT_TRACE output messages with the CYBT-343026-EVAL so that I can debug my application?

What I have made so far is opening the COM port that corresponds to the HCI_UART in tera term at a baudrate of 115200 (the same as I set in the application I am testing).

However, all I get to see is a bunch of unanderstandable data and some chunks of the SDP Database, like the SDP_ATTR_SERVICE_NAME.

I attatch a capture of what is displayed in tera termwhenever I connect to the module from my phone.

Thanks in advance for your help.

Regards.

0 Likes
1 Solution
LJYe_2922526
Level 5
Level 5
25 likes received 10 likes received 5 likes given

Try opening PUART. HCI UART is normally used for WICED HCI control messages.

Alternatively call wiced_set_debug_uart() to change where debug traces are routed.

If you run the demo client_control program, use BTSpy to look at debug traces.

Good luck!

View solution in original post

2 Replies
LJYe_2922526
Level 5
Level 5
25 likes received 10 likes received 5 likes given

Try opening PUART. HCI UART is normally used for WICED HCI control messages.

Alternatively call wiced_set_debug_uart() to change where debug traces are routed.

If you run the demo client_control program, use BTSpy to look at debug traces.

Good luck!

Anonymous
Not applicable

That works just fine.

Thank you very much!

Best regards.

0 Likes