Christopher Young
980977146e
Remove debugging code.
2016-04-01 18:42:28 -04:00
Christopher Young
8cc6534761
Remove debugging code.
2016-04-01 18:33:01 -04:00
Christopher Young
62dd58b07f
Use batched inserts instead of prepared statements.
2016-04-01 18:25:53 -04:00
cyoung
8b56f1f6de
Merge pull request #359 from peepsnet/patch-1
...
Bash script to modify hostapd.conf and hostapd-edimax.conf
2016-04-01 16:53:16 -04:00
Christopher Young
f1f3977e5b
Used prepared statements for SQLite inserts.
2016-04-01 15:42:46 -04:00
peepsnet
47bc631568
Completely rewritten for command line flags
...
Help documentation for go.sh.
Basic usage: hostapd_manager.sh -s ssid -c chan -e pass
Command line switches are optional. The following switches are recognized.
-s --Sets the SSID to ssid. "-s stratux"
-c --Sets the channel to chan. "-c 1"
-e --Turns on encryption with passphrase pass. 8-13 Printable Characters. Cannot be used with -o. "-e password!"
-o --Turns off encryption and sets network to open. Cannot be used with -e.
-h --Displays this help message. No further functions are performed.
Example: hostapd_manager.sh -s stratux -c 1 -e N3558D
2016-04-01 15:00:51 -04:00
Christopher Young
dbacc6b6e7
Move db writes to a separate goroutine.
2016-04-01 14:05:23 -04:00
peepsnet
cb8a531710
Update hostapd_manager.sh
...
typo
2016-04-01 12:37:28 -04:00
Christopher Young
044a95d801
Stratux shutdown and archive log database when upgrading.
2016-04-01 12:00:21 -04:00
Christopher Young
268ea23ce5
Use tmp variable to assign.
2016-04-01 08:40:09 -04:00
Christopher Young
2bfb5d8c33
Typo.
2016-04-01 08:36:10 -04:00
Christopher Young
fdbde39e96
Extrapolate GPS timestamps with stratuxClock.
2016-04-01 08:34:37 -04:00
Christopher Young
b87aa52044
Batch data writes.
...
This will be done as part of a system where the database file is
compressed and moved periodically.
2016-04-01 08:26:37 -04:00
peepsnet
93841cc4f5
Update hostapd_manager.sh
2016-04-01 01:48:49 -04:00
peepsnet
267c906354
Update hostapd_manager.sh
2016-04-01 01:45:50 -04:00
peepsnet
6a8eb2b3c9
Update hostapd_manager.sh
2016-04-01 01:44:59 -04:00
peepsnet
5612e70e27
Update hostapd_manager.sh
2016-04-01 01:44:23 -04:00
peepsnet
039e0c231e
Hostapd_manager.sh
...
File to modify:
/etc/hostapd/hostapd.conf
/etc/hostapd/hostapd-edimax.conf
This is a improvement on the script that was uploaded to reddit.
https://www.reddit.com/r/stratux/comments/4c0ffw/change_ssid_bash_script/
usage:
hostapd_manager.sh ssid channel passphrase
2016-04-01 00:59:50 -04:00
Christopher Young
4e5513ce95
Send traffic update to logTraffic().
2016-03-31 20:39:02 -04:00
Christopher Young
7ad31e9414
Temp.
2016-03-26 17:25:32 -04:00
Christopher Young
ce1617af93
Remove further remnants of replay logging.
2016-03-26 17:24:08 -04:00
Christopher Young
c6c8c22b63
Stratux plugin beginning.
2016-03-26 17:23:08 -04:00
Christopher Young
480426cdd1
Remove further remnants of replay logging.
2016-03-26 17:19:59 -04:00
Christopher Young
e0f82b0a29
Data logging graceful shutdown.
2016-03-26 17:15:59 -04:00
Christopher Young
0199d49238
Move dump1090 terminal logging to datalog package. Remove remnants of replay logging.
2016-03-26 17:12:26 -04:00
Christopher Young
fa28ac210c
Remove UAT and ES replay logging. Add datalog functions for UAT and ES messages.
2016-03-26 16:49:57 -04:00
Christopher Young
cb113cb804
Remove AHRS replay log.
2016-03-26 16:37:33 -04:00
Christopher Young
aa2bd06fd0
Remove GPS replay log.
2016-03-26 16:34:02 -04:00
Christopher Young
bcf20249e8
Don't log situation or traffic data unless globalSettings.ReplayLog is true.
2016-03-25 11:58:44 -04:00
Christopher Young
8de91a55f0
Remove extra help info.
...
PR #268 .
2016-03-24 19:31:42 -04:00
Christopher Young
7c5da8ab55
Newline.
2016-03-24 18:08:42 -04:00
Christopher Young
32097e3b61
Debug output cleanup.
2016-03-24 17:28:00 -04:00
Christopher Young
a86314e883
Cleanup.
2016-03-24 17:26:59 -04:00
Christopher Young
ce566ae5d3
Use stratuxClock to check timestamp age.
2016-03-24 12:59:29 -04:00
Christopher Young
d9bbe5881c
Revert PR #352 .
2016-03-24 12:39:26 -04:00
Christopher Young
fbc7c6f168
Typo.
2016-03-24 12:13:08 -04:00
Christopher Young
bd4f4c8743
Log status.
2016-03-24 10:51:12 -04:00
Christopher Young
5680908301
Track the last NMEA message in SituationData.
2016-03-24 10:37:24 -04:00
cyoung
5073fdadb6
Merge pull request #352 from jpoirier/go-checker
...
check for the go command not GOROOT
2016-03-24 10:34:44 -04:00
Christopher Young
937bbecd28
Refactoring and cleanup.
2016-03-24 10:23:29 -04:00
Joseph Poirier
a1ee8dd5e1
check for the go command not GOROOT
2016-03-24 08:45:59 -05:00
Christopher Young
854b96f608
More data logger boilerplate. Add to Makefile and init in main().
2016-03-24 09:33:11 -04:00
Christopher Young
67d62184d3
Save GPSTime in SituationData struct.
2016-03-24 08:59:34 -04:00
Christopher Young
bcef2ba823
Improve main logger goroutine.
2016-03-24 01:14:48 -04:00
Christopher Young
275c1740f0
Export all possible status fields.
2016-03-24 00:29:08 -04:00
Christopher Young
0a26cfc240
Export all possible SituationData fields.
2016-03-24 00:26:56 -04:00
Christopher Young
934c24ee71
Generalized logData(), added test code.
2016-03-24 00:23:12 -04:00
Christopher Young
80f1007a6a
Add struct .String() marshaling. Insert data function.
2016-03-23 23:08:00 -04:00
Christopher Young
e12611e8d4
Initial commit: data logger functions.
2016-03-23 12:31:13 -04:00
cyoung
3272867964
Merge pull request #349 from jpoirier/circleci-prs
...
circleci: allows PRs to correctly build themselves when the PR happens
2016-03-23 11:08:42 -04:00