Wykres commitów

1496 Commity (ed53ecf3d86a1a08f93b6dd6daf0850b3c04638c)

Autor SHA1 Wiadomość Data
peepsnet ed53ecf3d8 typo 2017-07-10 23:01:22 -04:00
peepsnet 5d13c10a58 Updated Help also 2017-07-10 22:56:39 -04:00
peepsnet f5e1ec828f Tweak look feel 2017-07-10 21:42:28 -04:00
peepsnet dca880738d class to grey out div 2017-07-10 20:40:26 -04:00
peepsnet f42bb4d47f cleaned up application constants 2017-07-10 20:39:25 -04:00
peepsnet dc14b9dd80 HTML/JS Prop for WiFI Settings
added js code for error checking and formatting the JSON string for the call to /setSettings
{"WiFiSSID":"stratux","WiFiSecurityEnabled":true,"WiFiPasscode":"h98tdjepi","WiFiChannel":"5"}

 $scope.WiFiSSID = "stratux"; //settings.WiFiSSID;
 $scope.WiFiSecurityEnabled = true; //settings.WiFiSecurityEnabled;
$scope.WiFiPasscode = Math.random().toString(36).substring(4); //settings.WiFiPasscode;
$scope.WiFiChannel = "5"; //settings.WiFiChannel;    

I have hardcoded the values till they are included in the /getSettings JSON string
2017-07-10 20:38:22 -04:00
peepsnet aad4dc53ec HTML/JS Prep for WiFi Settings and StaticIP value fix
FIrst, I added the missing code to pull in the Static IP info the input field from the JSON string

Second and biggest:
This is the code to add the WiFi Settings to the Settings Page. In preparation for the GO code behind the scenes

Before it is live/working a few lines should be removed and the modals cleaned up. 

I had some issues getting the ng-bind working in the modalErrorWiFi modal. There is an update issue. Something about being outside of the digest.  I'm not sure.

The code sends a JSON string:  {"WiFiSSID":"stratux","WiFiSecurityEnabled":true,"WiFiPasscode":"h98tdjepi","WiFiChannel":"5"} to /setSettings

I also did some cleanup in the HTML.
2017-07-10 20:32:40 -04:00
peepsnet e43f09395f added hostpad_manager_quiet.sh 2017-07-08 18:55:57 -04:00
peepsnet d47bea63c9 added hostpad_manager_quiet.sh 2017-07-08 18:55:07 -04:00
peepsnet 4d26ba2c48 added hostpad_manager_quiet.sh 2017-07-08 18:54:07 -04:00
peepsnet 3bd913ecb6 added hostpad_manager_quiet.sh 2017-07-08 18:52:46 -04:00
peepsnet c8c43e6638 A quiet hostpad_manager script for app calls
# This script is almost identical to hostapd_manager.sh except all the
# screen outputs are supplressed except for error messages. 
#
# Usage:
# hostapd_manager_quiet.sh -s Stratux-N12345 -p SquawkDirty! -c 5
# Command above sets the SSID to "Stratux-N12345, secures the network with the passphrase "SquawkDirty!, and changes the network channel to "5"
#
# hostapd_manager_quiet.sh -o
# Command above opens the network(removes any passphrase)
#
# hostapd_manager_quiet.sh -e
# Command above secures the WiFi network using the default passphrase "SquawkDirtyToMe!"

# Options:
# -s	--Sets the SSID to ${BOLD}ssid${NORM}. -s stratux
# -c	--Sets the channel to chan. -c 1
# -o	--Turns off encryption and sets network to open. Cannot be used with -e or -p.
# -e	--Turns on encryption with passphrase SquawkDirtyToMe!. Cannot be used with -o or -p
# -p	--Turns on encryption with your chosen passphrase pass. 8-63 Printable Characters(ascii 32-126). Cannot be used with -o or -e. -p password!
#
# Important:
# After each call of this script the wifi network will disconnect and restart all associated services to apply the changes
2017-07-08 18:49:23 -04:00
peepsnet 6e9c86eeb6 Merge pull request #10 from cyoung/master
update
2017-07-08 17:57:21 -04:00
cyoung 3871279473 Merge pull request #619 from jamez70/move_structs
Move structs to the top of the file
2017-06-14 10:33:44 -04:00
Jim Jacobsen 545343332e Move structs to the top of the file 2017-06-11 17:50:34 +00:00
Christopher Young 5f1ebfbe70 Removed ForeFlight GDL90 parsing bug workaround.
#348, 604.
2017-06-09 10:49:25 -04:00
Christopher Young 7fd67ccbc1 Stop fancontrol service before replacing binary.
#612.
2017-06-06 14:48:06 -04:00
cyoung e2b3529f95 Merge pull request #611 from peepsnet/master
Hostapd_manager.sh, sdr-tool.sh and  .stxAliases updates
2017-06-04 00:35:34 -04:00
peepsnet da8c3a74fd Restart Stratux on exit
The script will now restart your stratux service if you exit the script before completing.

And some aesthetics things
2017-06-03 11:27:50 -04:00
peepsnet 94d8f8813e Update hostapd_manager.sh 2017-06-01 15:20:01 -04:00
peepsnet 321273f8d4 added an easy alias for securing/opening WiFI
Added "open" and "secure" as aliases to easily open or secure your WiFi

It simply calls the hostapd_manager.sh script with either -o or -e
2017-06-01 10:49:55 -04:00
peepsnet a72219bae5 Added encryption back to script
Help documentation for hostapd_manager.sh.

Basic usage: hostapd_manager.sh -s ssid -c chan -p pass

The following command line switches are recognized.
-s  --Sets the SSID to ssid. "-s stratux"
-c  --Sets the channel to chan. "-c 1"
-o  --Turns off encryption and sets network to open. Cannot be used with -e or -p.
-e  --Turns on encryption with passphrase SquawkDirtyToMe!. Cannot be used with -o or -p
-p  --Turns on encryption with your chosen passphrase pass. 8-63 Printable Characters(ascii 32-126). Cannot be used with -o or -e. "-p password!"
-q  --Run silently. Still a work in progress, but quieter.
-h  --Displays this help message. No further functions are performed.

Example: hostapd_manager.sh -s Stratux-N3558D -c 5 -p SquawkDirty!
2017-06-01 10:28:22 -04:00
peepsnet 95d0b97564 updating to add encryption back.
It seems to work in my testing!!

#### Stratux HOSTAPD Settings ####


Help documentation for hostapd_manager.sh.

Basic usage: hostapd_manager.sh -s ssid -c chan -p pass

The following command line switches are recognized.
-s  --Sets the SSID to ssid. "-s stratux"
-c  --Sets the channel to chan. "-c 1"
-o  --Turns off encryption and sets network to open. Cannot be used with -e or -p.
-e  --Turns on encryption with passphrase SquawkDirtyToMe!{NORM}. Cannot be used with -o or -p
-p  --Turns on encryption with your chosen passphrase pass. 8-63 Printable Characters(ascii 32-126). Cannot be used with -o or -e. "-p password!"
-q  --Run silently. Still a work in progress, but quieter.
-h  --Displays this help message. No further functions are performed.

Example: hostapd_manager.sh -s Stratux-N3558D -c 5 -p SquawkDirtyToMe!
2017-06-01 10:15:23 -04:00
peepsnet b5f18aa529 Merge pull request #9 from cyoung/master
updating
2017-06-01 10:05:45 -04:00
Christopher Young 053d60110f Typo fix. 2017-05-25 21:48:23 -04:00
Christopher Young c3e4d613ca Remove full speed defaults.
#599, #595, #593.
2017-05-24 21:42:11 -04:00
Christopher Young daee7316f5 Switch from "BAL" mode to "MS" PWM modes. #599, #595, #593. 2017-05-24 13:25:52 -04:00
Christopher Young 4c854999bb Reduce number of fan modes to 10 from 256. Add five second run-up at startup. #599, #595, #593. 2017-05-24 13:24:46 -04:00
Christopher Young f2c311db6d If temperature rises after ramping to 100% PWM, then stop controlling the fan and set it to full ON.
#599, #595, #593.
2017-05-17 17:18:00 -04:00
Christopher Young 0d146d1747 Set GDL90 traffic alert bit always when bearing/distance is not available. #580, #582. 2017-05-17 15:25:14 -04:00
Christopher Young 83f0c6843f Suppress detected ownship traffic target, but don't use received data for GDL90 ownship message.
#590.
2017-05-17 15:12:22 -04:00
Christopher Young 7ef5efdd6e Make fancontrol a static executable (for systems without wiringPi installed). 2017-05-13 18:43:43 -04:00
Christopher Young d242233e6d Ignore errors on 'remove'. #593. 2017-05-13 12:21:41 -04:00
Christopher Young ae03336a0b Reduce CPU temperature target to 50ºC. #593. 2017-05-13 12:16:20 -04:00
Christopher Young eebb040e1e Remove GPS power save mode. 2017-05-13 12:15:42 -04:00
Christopher Young b423c4e48e Change pinout. Increase PWM frequency. Decrease min duty cycle.
#593.
2017-05-13 12:11:31 -04:00
Christopher Young 5a83452c64 Skip fancontrol build on CircleCI - no wiringPi equivalent on x86.
#593.
2017-05-13 11:01:52 -04:00
Christopher Young 200b3fcf57 Add wiringPi to CircleCI install.
#593.
2017-05-13 10:40:56 -04:00
Christopher Young c7f0ed1245 Re-add CircleCI hack.
#593.
2017-05-13 10:35:21 -04:00
Christopher Young 29c86d0343 Formatting.
#593.
2017-05-13 10:33:09 -04:00
Christopher Young 0264383389 Add new fancontrol install to .sh update packager and image maker script.
#593.
2017-05-13 10:24:12 -04:00
cyoung 5ae514e5ce Merge pull request #593 from lukepalmer/master
Rework fan PWM control
2017-05-13 10:15:27 -04:00
Luke Palmer 01cc01f8fa Rework fan PWM control 2017-05-11 00:32:45 -04:00
Christopher Young 7d7c2abe35 Gofmt. Typo fix. Comment change. 2017-04-21 14:16:21 -04:00
cyoung 1934d858de Merge pull request #586 from kjablonski/master
Enable Galileo and updates to stratux-help
2017-04-21 14:08:39 -04:00
kjablonski e3fcadb4ba Update gps.go
Fixed undeclared variable updatespeed
2017-04-21 06:57:18 -05:00
kjablonski a8bd9a28f9 Update gps.go
Added logic to only slow down to 2Hz for UBX8 using Galileo
2017-04-20 21:42:45 -05:00
Christopher Young 176cf42f2e Blink ACT LED ten times per second when there is a system error.
#567.
2017-04-19 17:04:12 -04:00
Christopher Young c0b6e9a93b Set "Maintenance Req'd" bit in GDL90 heartbeat when there exists a system error.
#567.
2017-04-19 16:49:35 -04:00
Christopher Young b431187d7a Use isGPSValid(). 2017-04-19 16:01:29 -04:00