- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi sir/madam,
in my project we are sending image data to cybt and cybt send that data to printer.
wiced_bool_t spp_rx_data_callback(uint16_t handle, uint8_t* p_data, uint32_t data_len)
{
unsigned long int i;
for(i = 0; i < data_len; i++)
{
wiced_hal_puart_write(p_data);
}
WICED_BT_TRACE(" "); //hci uart trace
}
1)if i am using wiced_bt_trace image(460567 byte) data passing completly other wise we are getting 16000 bytes data and not accepting next data also.
here whats happening exacle with WICED_BT_TRACE.
2) how WICED_BT_TRACE. is working.
3)when i am using wiced_hal_puart_synchronous_write(&p_data[0],data_len); for normal text data of 1000 bytes but i am receiving 260 bytes only.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
watchdog default timeout cannot be changed from the application. It is set in the lower stack FW code and used to detect and recover from malfunctions.
Please see more details here.
CYW20719 and CYW20735 Clocks, RTC, WatchDog Timer, Application Timer and PWM
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As I said in data from mobile to cybt-343026 please try using wiced_hal_wdog_restart() periodically.
WICED_BT_TRACE also pets the watchdog. This can be the reason why the issue does not occure when you use WICED_BT_TRACE in the code.
I would recommend you to use wiced_hal_puart_write() instead of wiced_hal_puart_synchronous_write(). Because wiced_hal_puart_synchronous_write() does not check whether the FIFO is empty or not. It should be used when the user is sure that the FIFO has enough space to store the data. The PUART has 256 Bytes in PUART IN/OUT FIFO register.
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for your reply sir,
how can i change watchdog timer default timeout.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
watchdog default timeout cannot be changed from the application. It is set in the lower stack FW code and used to detect and recover from malfunctions.
Please see more details here.
CYW20719 and CYW20735 Clocks, RTC, WatchDog Timer, Application Timer and PWM
Thanks,
-Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
THANK YOU SIR