From 457cb2377a17a6c625e187909e1b9bbc3c80aeec Mon Sep 17 00:00:00 2001 From: wyhong Date: Sat, 9 Sep 2023 11:59:25 +0800 Subject: [PATCH] add comments --- src/platform/bouffalolab/BL602/NetworkCommissioningDriver.h | 1 + src/platform/bouffalolab/BL702/NetworkCommissioningDriver.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/platform/bouffalolab/BL602/NetworkCommissioningDriver.h b/src/platform/bouffalolab/BL602/NetworkCommissioningDriver.h index 21bfc8d79b6a25..5ae1c9a610ef73 100644 --- a/src/platform/bouffalolab/BL602/NetworkCommissioningDriver.h +++ b/src/platform/bouffalolab/BL602/NetworkCommissioningDriver.h @@ -142,6 +142,7 @@ class BLWiFiDriver final : public WiFiDriver NetworkStatusChangeCallback * mpStatusChangeCallback = nullptr; int32_t mLastDisconnectedReason; + /** +1 byte for string termination */ char mScanSSID[DeviceLayer::Internal::kMaxWiFiSSIDLength + 1]; uint32_t mScanType; }; diff --git a/src/platform/bouffalolab/BL702/NetworkCommissioningDriver.h b/src/platform/bouffalolab/BL702/NetworkCommissioningDriver.h index 193ce0049f2498..5c9e5637857a14 100644 --- a/src/platform/bouffalolab/BL702/NetworkCommissioningDriver.h +++ b/src/platform/bouffalolab/BL702/NetworkCommissioningDriver.h @@ -135,6 +135,7 @@ class BLWiFiDriver final : public WiFiDriver NetworkStatusChangeCallback * mpStatusChangeCallback = nullptr; int32_t mLastDisconnectedReason; + /** +1 byte for string termination */ char mScanSSID[chip::DeviceLayer::Internal::kMaxWiFiSSIDLength + 1]; bool mScanSpecific = false; };