@@ -33,6 +33,7 @@ extern "C" {
33
33
#include < rsi_ble.h>
34
34
#include < rsi_ble_apis.h>
35
35
#include < rsi_bt_common.h>
36
+ #include " wfx_sl_ble_init.h"
36
37
#ifdef __cplusplus
37
38
}
38
39
#endif // __cplusplus
@@ -58,12 +59,12 @@ class BLEManagerImpl final : public BLEManager, private BleLayer, private BlePla
58
59
void HandleBootEvent (void );
59
60
60
61
#if (SLI_SI91X_ENABLE_BLE || RSI_BLE_ENABLE)
61
- void HandleConnectEvent (void );
62
- void HandleConnectionCloseEvent (uint16_t reason );
63
- void HandleWriteEvent (rsi_ble_event_write_t evt);
64
- void UpdateMtu (rsi_ble_event_mtu_t evt);
62
+ void HandleConnectEvent (sl_wfx_msg_t * evt );
63
+ void HandleConnectionCloseEvent (sl_wfx_msg_t * evt );
64
+ void HandleWriteEvent (sl_wfx_msg_t * evt);
65
+ void UpdateMtu (sl_wfx_msg_t * evt);
65
66
void HandleTxConfirmationEvent (BLE_CONNECTION_OBJECT conId);
66
- void HandleTXCharCCCDWrite (rsi_ble_event_write_t * evt);
67
+ void HandleTXCharCCCDWrite (sl_wfx_msg_t * evt);
67
68
void HandleSoftTimerEvent (void );
68
69
int32_t SendBLEAdvertisementCommand (void );
69
70
#else
@@ -80,7 +81,7 @@ class BLEManagerImpl final : public BLEManager, private BleLayer, private BlePla
80
81
81
82
#if CHIP_ENABLE_ADDITIONAL_DATA_ADVERTISING
82
83
#if (SLI_SI91X_ENABLE_BLE || RSI_BLE_ENABLE)
83
- static void HandleC3ReadRequest (rsi_ble_read_req_t * rsi_ble_read_req);
84
+ static void HandleC3ReadRequest (sl_wfx_msg_t * rsi_ble_read_req);
84
85
#else
85
86
#if CHIP_ENABLE_ADDITIONAL_DATA_ADVERTISING
86
87
static void HandleC3ReadRequest (volatile sl_bt_msg_t * evt);
@@ -186,7 +187,7 @@ class BLEManagerImpl final : public BLEManager, private BleLayer, private BlePla
186
187
#endif
187
188
188
189
#if (SLI_SI91X_ENABLE_BLE || RSI_BLE_ENABLE)
189
- void HandleRXCharWrite (rsi_ble_event_write_t * evt);
190
+ void HandleRXCharWrite (sl_wfx_msg_t * evt);
190
191
#else
191
192
void HandleRXCharWrite (volatile sl_bt_msg_t * evt);
192
193
#endif
0 commit comments