- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been working on AnyCloud_BLE_Battery_Server project using PSoC6 Wifi-BT kit (CY8CKIT-062-Wifi-BT Pioneer kit) from MTB version 2.2. When I upgraded the MTB to version 2.4, this project longer works correctly. In MTB version 2.4, the main function cannot be initialized properly. The project seems to hang at the following line.
result = wiced_bt_stack_init (app_bt_management_callback, &wiced_bt_cfg_settings);
When I try to get a newer version of this project from MTB 2.4 Project Creator, the AnyCloud_BLE_Battery_Server is no longer listed in the Template Application.
Please advice. Thanks.
Regards,
Gary
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @GaryLim ,
This is expected since the newer version of the stack is not BWC with the older versions. Attached is an updated version of Battery Server example code that is tested to work with CY8CKIT-062-Wifi-BT Pioneer kit in MTB 2.4 with BTSTACK 3.2 (latest).
Please let us know if you have any questions.
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @GaryLim ,
The latest version of the CE AnyCloud_BLE_Battery_Server supports OTA using the anycloud-ota library. Currently, the OTA library does not support CY8CKIT-062-Wifi-BT kit and hence CY8CKIT-062-Wifi-BT kit is removed from the list of supported kits in the CE (See supported kits section of Readme). You should be able to still use the AnyCloud_BLE_Battery_Server example, remove OTA related sections and port it to CY8CKIT-062-Wifi-BT kit using Library manager. Let us know if you face any difficulties.
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For my case, I do not think OTA is causing the problem because my project is based on AnyCloud BLE battery server project release version 2.0 which does not have any OTA function.
https://github.com/Infineon/mtb-example-anycloud-ble-battery-server/tree/release-v2.0.0
Please have a look from this branch and advice what causes the stack to hang on Modustoolbox version 2.4 compared to Modustoolbox version 2.3.
Regards,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @GaryLim , can you please let us know if you used the library manager to update the BTSTACK version to 3.X?
Bragadeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bragadeesh,
My BTSTACK version is still version 1.5. Should I update it so that the issue can be resolved?
Thanks.
Regards,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @GaryLim ,
We recommend you to update to the latest version of the BTSTACK using the library manager and update your battery server project according to v3.0.0 version of the CE for proper functioning.
Bragadeesh
- 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 @GaryLim ,
This is expected since the newer version of the stack is not BWC with the older versions. Attached is an updated version of Battery Server example code that is tested to work with CY8CKIT-062-Wifi-BT Pioneer kit in MTB 2.4 with BTSTACK 3.2 (latest).
Please let us know if you have any questions.
Bragadeesh