Migrating from WiSeConnect SDK v4.1.1 to v4.1.2#
Overview#
This guide describes how to update an existing application from WiSeConnectâ„¢ SDK v4.1.1 to v4.1.2.
WiSeConnect SDK v4.1.2 is backward compatible with v4.1.1. No public APIs were removed or deprecated. Before you update your application, note the following API additions, behavior changes, and project updates.
Migration Steps#
New APIs#
Module | API | Description |
|---|---|---|
BLE |
| Issues a disconnect request for each BLE peer tracked by the driver. Before you call this API, stop advertising and scanning. Wait for the disconnect events before you deinitialize Wi-Fi, NWP, or BLE. Deinitialization APIs don't call this helper automatically. |
Updated APIs#
Module | v4.1.1 | v4.1.2 |
|---|---|---|
HTTP Client |
| On SiWx91x, set a |
MQTT Client |
| For |
BLE GATT Client | The synchronous GATT API callback path was not explicitly constrained by the asynchronous-GATT configuration. | When you use synchronous GATT Client APIs such as |
New Structures and Fields#
Module | Structure / Field | Description |
|---|---|---|
MQTT Client |
| Provides error information with |
New Macros and Enums#
Module | Macro / Enum | Description |
|---|---|---|
HTTP Client |
|
|
HTTP Client |
|
|
Platform |
| Use these macros to place initialized or zero-initialized variables in internal RAM when DATA_SEGMENT_IN_PSRAM is enabled and the variables are required during sleep entry or wakeup. These macros are LTO-safe for GCC and LLVM PSRAM builds. |
Wi-Fi |
| These existing open-security feature macros now support AP mode and client mode. |
Project and Board Updates#
Area | v4.1.2 Update | Migration Guidance |
|---|---|---|
PSRAM projects | PSRAM project variants are added for WLAN and Wi-Fi + BLE examples. | If an existing example that needs PSRAM, select the supplied |
Board support | BRD2605B is enabled across Wi-Fi, BLE, and coexistence examples. BRD9084B adds support for boards with 16 MB GD flash. | Select the matching board component or example configuration. You don't need to change the application source solely to migrate from an earlier supported board. |