Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gamera_videos_no_ui
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liusq
gamera_videos_no_ui
Commits
73ca8100
Commit
73ca8100
authored
Oct 11, 2024
by
“liusq”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增WIFI配置返回状态
parent
c893fa4a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
CameraHandle.cpp
+1
-2
No files found.
CameraHandle.cpp
View file @
73ca8100
...
@@ -1129,12 +1129,11 @@ bool CameraHandle::sdkWifi(QString &pwd,QString &ssid){
...
@@ -1129,12 +1129,11 @@ bool CameraHandle::sdkWifi(QString &pwd,QString &ssid){
char
szOutBuffer
[
512
]
=
{
0
};
char
szOutBuffer
[
512
]
=
{
0
};
int
nLen
=
sizeof
(
szOutBuffer
);
int
nLen
=
sizeof
(
szOutBuffer
);
int
res
=
XSDK_DevSetSysConfigSyn
(
hDevice
,
JK_NetWork_Wifi
,
wipCfg
,
strlen
(
wipCfg
),
szOutBuffer
,
&
nLen
,
3000
,
EXCMD_CONFIG_SET
);
int
res
=
XSDK_DevSetSysConfigSyn
(
hDevice
,
JK_NetWork_Wifi
,
wipCfg
,
strlen
(
wipCfg
),
szOutBuffer
,
&
nLen
,
3000
,
EXCMD_CONFIG_SET
);
qInfo
()
<<
QString
(
"SN(%1): 修改WIFI结果:%2"
).
arg
(
sSn
).
arg
(
res
);
if
(
res
<
0
){
if
(
res
<
0
){
qInfo
()
<<
QString
(
"SN(%1): 修改wifi失败:%2"
).
arg
(
sSn
).
arg
(
res
);
qInfo
()
<<
QString
(
"SN(%1): 修改wifi失败:%2"
).
arg
(
sSn
).
arg
(
res
);
return
false
;
return
false
;
}
}
deviceReboot
();
return
true
;
return
true
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment