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
Commits
f6fb2fb5
Commit
f6fb2fb5
authored
1 year ago
by
ave
Browse files
Options
Downloads
Patches
Plain Diff
w1f1: fix connections
parent
c0eaf83d
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
python_payload/apps/w1f1/__init__.py
+3
-1
3 additions, 1 deletion
python_payload/apps/w1f1/__init__.py
python_payload/apps/w1f1/flow3r.toml
+1
-1
1 addition, 1 deletion
python_payload/apps/w1f1/flow3r.toml
with
4 additions
and
2 deletions
python_payload/apps/w1f1/__init__.py
+
3
−
1
View file @
f6fb2fb5
...
@@ -231,7 +231,9 @@ class WifiApp(Application):
...
@@ -231,7 +231,9 @@ class WifiApp(Application):
self
.
_waiting_for_password
=
True
self
.
_waiting_for_password
=
True
self
.
vm
.
push
(
KeyboardView
(
self
.
_password_model
))
self
.
vm
.
push
(
KeyboardView
(
self
.
_password_model
))
if
self
.
_waiting_for_password
and
not
self
.
vm
.
_history
:
if
self
.
_waiting_for_password
and
(
not
self
.
vm
.
_history
or
not
isinstance
(
self
.
vm
.
_history
[
-
1
],
WifiApp
)
):
ssid
=
self
.
_nearby_wlans
[
self
.
_wlan_offset
][
0
].
decode
()
ssid
=
self
.
_nearby_wlans
[
self
.
_wlan_offset
][
0
].
decode
()
psk
=
self
.
_password_model
.
text
psk
=
self
.
_password_model
.
text
print
(
ssid
,
psk
)
print
(
ssid
,
psk
)
...
...
This diff is collapsed.
Click to expand it.
python_payload/apps/w1f1/flow3r.toml
+
1
−
1
View file @
f6fb2fb5
...
@@ -10,4 +10,4 @@ author = "ave"
...
@@ -10,4 +10,4 @@ author = "ave"
license
=
"LGPL-3.0-only"
license
=
"LGPL-3.0-only"
url
=
"https://git.flow3r.garden/flow3r/flow3r-firmware"
url
=
"https://git.flow3r.garden/flow3r/flow3r-firmware"
description
=
"Lets you use multiple wireless networks."
description
=
"Lets you use multiple wireless networks."
version
=
2
version
=
3
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment