- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sir,
This situation is hard to describe. First, we observe one case. If we show up too much message in HCI UART, the device will reboot.
So we want to use BLE_APP_DISABLE_TRACING() to disable console output. But we found that other case.
if the puart_control.exe send the command to WICED (20736), it will no response to send information back to puart_control.exe.
But if we add some code in puart_control_rx_callback. Like .
test_puart_write(PUART_CONTROL_EVENT_CONTINUE);
test_puart_write(PUART_CONTROL_EVENT_CONTINUE);
test_puart_write(PUART_CONTROL_EVENT_CONTINUE);
test_puart_write(PUART_CONTROL_EVENT_CONTINUE);
test_puart_write(PUART_CONTROL_EVENT_CONTINUE);
test_puart_write(PUART_CONTROL_EVENT_CONTINUE);
test_puart_write(PUART_CONTROL_EVENT_CONTINUE);
test_puart_write(PUART_CONTROL_EVENT_CONTINUE);
test_puart_write(PUART_CONTROL_EVENT_CONTINUE);
test_puart_write(PUART_CONTROL_EVENT_CONTINUE);
It will back to normal. It is very strange.
Do you know the way to close HCI UART safely ?
Best Regards,
Rush Chen
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not sure I understand as both UARTs are being discussed here.
HCI Uart and PUART.
The puart_control application and peer app is designed to be used on the puart. Is this application functioning properly on the PUART?
It sounds like you believe the traces from the HCI UART (used for programming only) are interfering with the puart and the associated puart_control application.
Have you verified that traces are disabled?
This is a good thread for disabling traces: Re: How to disable 20737S SDK trace, BLE_TRACE_DISABLE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sir,
You can test this case. Using puart_control (without any changed) and scan the 20 tags (advertisement interval: 100ms). The puart_control will crash.
Best Regards,
Rush Chen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do not have the resource to scan 20 tags. Any update to this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for late.
We turn off HCI debug message to fix the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the update Rush.