- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The product under development uses a CYW4343W and WICED Version: Wiced_006.004.000.0061
The product provides both a BLE server and client for interfacing with other proprietary devices. The server is used for communications with a beacon while the client interfaces to a periodically Advertising device. The product also uses the CYW4343W WiFi.
While debugging the application, a direct LE connection to the BLE Address of the Advertising device is initiated with a scan window of 120ms in an interval of 190ms using wiced_bt_gatt_le_connect() that returns WICED_TRUE. This call results in a Divide by Zero Exception. The debugger shows the call stack to be:- btu_hcif_process_event(), btm_ble_conn_complete(), btm_identity_addr_to_random_pseudo(), btm_ble_read_resolving_list_entry(), btm_ble_enq_resolving_list_pending() where the exception occurs. A BLE sniffer shows that Advertisements were being issued by the device at the time of the exception.
If the product is allowed to run the same code without the debugger being connected multiple BLE connection are made with the Advertising device before a WICED_TIMEOUT occurs as described in an issue raised by a RoHe_4370821 on 28th Dec 2020: -
BTM_ENABLED_EVT with status WICED_TIMEOUT
(https://community.cypress.com/t5/WICED-Studio-Wi-Fi-Combo/BTM-ENABLED-EVT-with-status-WICED-TIMEOUT/...)
Is this a known bug?
Could the issue be caused by the window and interval timings or other settings?
Is there any documentation available about setting scanning windows, intervals and the supervision timer values?
If there is no documentation please could give some guidance on typical settings know to work?
Regards,
Solved! Go to Solution.
- Labels:
-
WICED Studio Wi-Fi Combo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @NiHe_4756201 ,
As this issue is getting discussed in a technical case, I am closing this thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @NiHe_4756201 ,
Are you facing issues with WICED 6.6 as well?
There is no document as such but you can check the settings in configuration file wiced_bt_cfg.c and refer those values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Upgrading to WICED 6.6 is likely to involve a lot of effort on our side and unless you can reassure us that it would fix this divide by zero exception then it is not something we would do in the short term.?
I have some Blutooth debug logs and screen shots in a debugger from when the problem occurs but I need to check with the BLE advertising device owners that we can share this information, we have a meeting this afternoon.
Regards
- 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
Hi @NiHe_4756201 ,
As this issue is getting discussed in a technical case, I am closing this thread.