CYW20819/ timeout_ms value in "wiced_rtos_wait_for_event_flags"

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

cross mob
YoTa_1693656
Level 6
Level 6
Distributor - Marubun (Japan)
250 replies posted 250 sign-ins 100 replies posted

Hello Cypress IoT team

We evaluate CYW20819 with ModusToolBox for their next products. Let us confirm about timeout_ms in "wiced_rtos_wait_for_event_flags".

==

wiced_result_t wiced_rtos_wait_for_event_flags ( wiced_event_flags_t * event_flags,

uint32_t flags_to_wait_for,

uint32_t * flags_set,

wiced_bool_t clear_set_flags,

wiced_event_flags_wait_option_t wait_option,

uint32_t timeout_ms

)

・・・

[in] timeout_ms milliseconds to block

==

[Question]

According to the above description, the unit of timeout_ms is msec.

However, under our evaluation, the unit looks like 10 msec actually. Is it expected behavior?

==example==

timeout_ms = 50

The timeout seems to occur per 500 msec actually. (Not 50msec.)

===========

Thanks,

Yoshinori

0 Likes
1 Solution

Hi YoTa_1693656 ,

I could reproduce similar issue at my side regarding the msec timeout. I believe, the issue is with the API which is not accurately setting the timeout. You can workaround by factoring it down to an appropriate value.

We will communicate the issue with our software team and will be fixing it in the future software releases.

Thanks,

-Dheeraj

View solution in original post

3 Replies