Skip to content

AAUCrisp/P4-B450

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P4-B450

P4 Project
Group 450, Spring Semester 2022

Control Unit:

Has many argument settings

Use -help for full info on arguments.

If running Signal Monitoring on it's own it takes:

-t <arg> to force the use of specific technology; no arguments or b / both for both LTE & WiFi , w / wifi for WiFi & l / lte for LTE
-vto print out shit... no arguments for all, or m for important messages
-s <int> to set how often it monitors

WiFi: 192.168.1.136
LTE: 10.20.0.16
Eth: 192.168.1.185

Sensor:

Has argument settings

-b to force both LTE & WiFi
-i <int> to run a specific amount of times
-m to disable the Signal Monitor process

WiFi: 192.168.1.160
LTE: 10.20.0.10
Eth: 192.168.1.119

Actuator:

WiFi: 192.168.1.143
LTE: 10.20.0.13
Eth: 192.168.1.117

Reminders:

Server must not be started with sudo: "./[ServerName]"
Client must be started with sudo: "./[ClientName]"

Git: - sudo apt-get install git Install Git on your machine
- git clone https://github.com/AAUCrisp/P4-B450.git To get the repository to your computer
- git pull Get the latest version from GitHub

- `git add -A`      To add new files to the commit  
- `git commit`      Tell GitHub what changes you've made  
- `git push`        Push the changes to GitHub  

- `git mv 'dirname_nopath' 'newname_nopath'`        Renames the folder without removing file-history

-  sudo nmcli c modify 4G apn mda.aau.i40                   Set apn, incase it doesn't work this can be done for a "reset"
- `sudo ifconfig wwan0 [4G IP] netmask 255.255.255.0`       Add netmask for wwan0
- `sudo ip route add 10.20.0.0/24 dev wwan0`                Add ip routing for wwan0
- `sudo mmcli -m 0 --signal-setup=1`                        LTE refresh rate

About

P4 Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published