Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CS437-Lab-2
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
royzhao2
CS437-Lab-2
Commits
c3ef0617
Commit
c3ef0617
authored
1 week ago
by
Jiaqi Zhao (Roy)
Browse files
Options
Downloads
Patches
Plain Diff
changed ip address to roy's picar
parent
9b1df28a
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
added wireframe callback function for Step 3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
electron/index.js
+1
-1
1 addition, 1 deletion
electron/index.js
my-electron-app/wifi_client.py
+1
-1
1 addition, 1 deletion
my-electron-app/wifi_client.py
my-electron-app/wifi_server.py
+1
-2
1 addition, 2 deletions
my-electron-app/wifi_server.py
with
3 additions
and
4 deletions
electron/index.js
+
1
−
1
View file @
c3ef0617
...
...
@@ -2,7 +2,7 @@ document.onkeydown = updateKey;
document
.
onkeyup
=
resetKey
;
var
server_port
=
65432
;
var
server_addr
=
"
1
92.168.3.49
"
;
// the IP address of your Raspberry PI
var
server_addr
=
"
1
00.85.99.31
"
;
// the IP address of your Raspberry PI
function
client
(){
...
...
This diff is collapsed.
Click to expand it.
my-electron-app/wifi_client.py
+
1
−
1
View file @
c3ef0617
import
socket
HOST
=
"
1
72.16.213.108
"
# IP address of your Raspberry PI
HOST
=
"
1
00.85.99.31
"
# IP address of your Raspberry PI
# HOST = "10.195.45.171"
PORT
=
65432
# The port used by the server
...
...
This diff is collapsed.
Click to expand it.
my-electron-app/wifi_server.py
+
1
−
2
View file @
c3ef0617
import
socket
HOST
=
"
172.16.213.108
"
# IP address of your Raspberry PI
# HOST = "10.195.45.171"
HOST
=
"
100.85.99.31
"
# IP address of your Raspberry PI
PORT
=
65432
# Port to listen on (non-privileged ports are > 1023)
with
socket
.
socket
(
socket
.
AF_INET
,
socket
.
SOCK_STREAM
)
as
s
:
...
...
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