Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1593804

Browse files
jczhang777pull[bot]
authored andcommittedSep 15, 2023
[BL602] Fix wifi dhcp failed (#21622)
1 parent 4fb721d commit 1593804

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed
 

‎examples/lighting-app/bouffalolab/bl602/include/AppTask.h

-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ class AppTask
7171
static void FactoryResetButtonEventHandler(void);
7272
static void LightingActionButtonEventHandler(void);
7373
static void InitButtons(void);
74-
static void StoreWifiConfig();
7574
void StartTimer(uint32_t aTimeoutMs);
7675

7776
enum Function_t

‎examples/lighting-app/bouffalolab/bl602/src/AppTask.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ CHIP_ERROR AppTask::Init()
152152
PrintOnboardingCodes(chip::RendezvousInformationFlag(chip::RendezvousInformationFlag::kBLE));
153153

154154
InitButtons();
155-
StoreWifiConfig();
156155

157156
#if PW_RPC_ENABLED
158157
chip::rpc::Init();
@@ -556,11 +555,6 @@ void AppTask::InitButtons(void)
556555
Button_Configure_LightingActionEventHandler(&LightingActionButtonEventHandler);
557556
}
558557

559-
void AppTask::StoreWifiConfig(void)
560-
{
561-
wifi_mgmr_scan(NULL, NULL);
562-
}
563-
564558
void AppTask::LightStateUpdateEventHandler(void)
565559
{
566560
uint8_t onoff, level;

0 commit comments

Comments
 (0)
Please sign in to comment.