Skip to content

Commit dc71928

Browse files
chirag-silabsaustina-csa
authored andcommitted
wifi fixes for soc and ncp devices (project-chip#34132)
1 parent df208e4 commit dc71928

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

examples/platform/silabs/FreeRTOSConfig.h

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ extern "C" {
106106
#include <CHIPProjectConfig.h>
107107

108108
#include <stdint.h>
109+
#include <stdio.h>
109110

110111
#ifdef SLI_SI91X_MCU_INTERFACE
111112
#include "si91x_device.h"

examples/platform/silabs/SiWx917/SiWx917/sl_wlan_config.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
#define RSI_CONFIG_H
2020

2121
#include "ble_config.h"
22+
#if SLI_SI91X_MCU_INTERFACE
2223
#include "rsi_wisemcu_hardware_setup.h"
23-
#include "rsi_wlan_defines.h"
24+
#endif // SLI_SI91X_MCU_INTERFACE
2425
#include "sl_wifi_device.h"
2526

2627
//! Enable feature

src/platform/silabs/BLEManagerImpl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class BLEManagerImpl final : public BLEManager, private BleLayer, private BlePla
8080

8181
#if CHIP_ENABLE_ADDITIONAL_DATA_ADVERTISING
8282
#if (SLI_SI91X_ENABLE_BLE || RSI_BLE_ENABLE)
83-
static void HandleC3ReadRequest(void);
83+
static void HandleC3ReadRequest(rsi_ble_read_req_t * rsi_ble_read_req);
8484
#else
8585
#if CHIP_ENABLE_ADDITIONAL_DATA_ADVERTISING
8686
static void HandleC3ReadRequest(volatile sl_bt_msg_t * evt);

src/platform/silabs/CHIPDevicePlatformConfig.h

+9
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@
6969
#define CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS 1
7070
#endif
7171

72+
/**
73+
* CHIP_DEVICE_CONFIG_ROTATING_DEVICE_ID_UNIQUE_ID_LENGTH
74+
*
75+
* Unique ID length in bytes. The value should be 16-bytes or longer.
76+
*/
77+
#ifndef CHIP_DEVICE_CONFIG_ROTATING_DEVICE_ID_UNIQUE_ID_LENGTH
78+
#define CHIP_DEVICE_CONFIG_ROTATING_DEVICE_ID_UNIQUE_ID_LENGTH 32
79+
#endif
80+
7281
#if CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS
7382
/**
7483
* @brief Fallback value for the basic information cluster's Vendor name attribute

0 commit comments

Comments
 (0)