Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Merge requests
!235
Add w1f1 app & replace wifi in settings menu
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add w1f1 app & replace wifi in settings menu
ave/flow3r-firmware:add-wifi-app
into
main
Overview
5
Commits
14
Pipelines
0
Changes
4
Merged
ave
requested to merge
ave/flow3r-firmware:add-wifi-app
into
main
1 year ago
Overview
1
Commits
14
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
version 10
version 18
0ed3b159
1 year ago
version 17
3e4b3bc1
1 year ago
version 16
394c2b6a
1 year ago
version 15
83c3960e
1 year ago
version 14
d01d5d63
1 year ago
version 13
295f6fb8
1 year ago
version 12
c739fbe4
1 year ago
version 11
e7ee7d9a
1 year ago
version 10
f6fb2fb5
1 year ago
version 9
c0eaf83d
1 year ago
version 8
ea6c7efd
1 year ago
version 7
ba9f4eca
1 year ago
version 6
8e537883
1 year ago
version 5
90b44d1a
1 year ago
version 4
7d9209c0
1 year ago
version 3
703bb466
1 year ago
version 2
05554bcf
1 year ago
version 1
5346e2d7
1 year ago
main (base)
and
version 11
latest version
447beb76
14 commits,
1 year ago
version 18
0ed3b159
13 commits,
1 year ago
version 17
3e4b3bc1
15 commits,
1 year ago
version 16
394c2b6a
14 commits,
1 year ago
version 15
83c3960e
13 commits,
1 year ago
version 14
d01d5d63
12 commits,
1 year ago
version 13
295f6fb8
11 commits,
1 year ago
version 12
c739fbe4
10 commits,
1 year ago
version 11
e7ee7d9a
9 commits,
1 year ago
version 10
f6fb2fb5
8 commits,
1 year ago
version 9
c0eaf83d
7 commits,
1 year ago
version 8
ea6c7efd
6 commits,
1 year ago
version 7
ba9f4eca
5 commits,
1 year ago
version 6
8e537883
5 commits,
1 year ago
version 5
90b44d1a
5 commits,
1 year ago
version 4
7d9209c0
4 commits,
1 year ago
version 3
703bb466
2 commits,
1 year ago
version 2
05554bcf
2 commits,
1 year ago
version 1
5346e2d7
1 commit,
1 year ago
Show latest version
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
python_payload/apps/w1f1/__init__.py
+
2
−
1
Options
@@ -163,6 +163,7 @@ class WifiApp(Application):
json
.
dump
(
self
.
_wifi_config
,
f
)
def
connect_wifi
(
self
,
ssid
:
str
,
psk
:
str
=
None
)
->
None
:
self
.
_status_text
=
"
connecting
"
if
ssid
in
self
.
_wifi_config
[
"
networks
"
]:
psk
=
self
.
_wifi_config
[
"
networks
"
][
ssid
][
"
psk
"
]
@@ -175,10 +176,10 @@ class WifiApp(Application):
self
.
update_settings_json
(
ssid
,
psk
)
if
ssid
not
in
self
.
_wifi_config
[
"
networks
"
]:
self
.
add_to_config_json
(
ssid
,
psk
)
self
.
_status_text
=
"
connected
"
except
OSError
as
e
:
self
.
_status_text
=
str
(
e
)
self
.
_is_connecting
=
False
self
.
_status_text
=
"
connecting
"
def
think
(
self
,
ins
:
InputState
,
delta_ms
:
int
)
->
None
:
super
().
think
(
ins
,
delta_ms
)
Loading