Commit Graph

58 Commits

Author SHA1 Message Date
364dfecb31 Cleaning code to please the linter
Added feature for #145
Fix bug #145
2018-09-21 17:00:11 +02:00
f769ca382e Merge branch 'feature/reachview-api' into develop 2018-09-21 16:07:56 +02:00
1a04caafdf Implements full configuration model 2018-09-21 16:07:38 +02:00
6e9df8d386 Refactor reach package
- Rename reach package to emlid
- Create generic Reach websocket client
- Add 2 new subpackages 'updater' and 'reachview' to provides specific
API
2018-09-21 16:07:38 +02:00
77a779aebe Provides a pre-commit git hook to lint Go files 2018-09-21 16:07:38 +02:00
2c7aad91c6 Use golangci-lint instead of gometalinter 2018-09-21 16:07:38 +02:00
f67724dc3a Add another checkpoint to ReachView.Configuration() test 2018-09-21 16:07:38 +02:00
e3672cc6d7 Add basic Configuration() method 2018-09-21 16:07:38 +02:00
ff13693f69 Add ReachView client 2018-09-21 16:07:38 +02:00
ba3d85f48b Create generic method to implements the request/response pattern 2018-09-21 16:07:38 +02:00
a44e40eea2 Merge branch 'feature/uciClient' into develop 2018-09-21 16:05:16 +02:00
17487dd7a6 Spliting complex function parseWifiCells 2018-09-21 15:42:48 +02:00
b34ccd3dee Improving network_test.go ...
This way we don't need a real wifi card
2018-09-21 14:36:06 +02:00
1dbb62c490 Add /proc/net/wireless sample 2018-09-21 14:33:17 +02:00
ec26c74ae8 Spliting "complex" methods to please go linter ! 2018-09-21 13:42:43 +02:00
de0255fd03 Cleaning lint issue : openwrt/wifi.go:39:⚠️ declaration of res shadows declaration at openwrt/wifi.go:31 (vetshadow) 2018-09-21 13:42:43 +02:00
3f36175f1a Cleaning test data 2018-09-21 13:42:43 +02:00
b680e256b9 Updating executor to remove old util.go
Adding new Network interaction "class"
2018-09-21 13:42:43 +02:00
735bc8d19e Adding DHCP Client and new Wifi stack 2018-09-21 13:42:43 +02:00
e1f0c68630 Object oriented UCI + Executor interface 2018-09-21 13:42:43 +02:00
b8f0a554c1 Adding begin of openwrt manipulation module 2018-09-21 13:42:43 +02:00
1aa77c90ab Add Jenkinsfile for continuous integration 2018-09-21 10:13:08 +02:00
3c8f85dcff Lint: sort struct attributes to reduce memory usage 2018-09-20 15:46:32 +02:00
3adfc2a5bb Remove redundant return 2018-09-20 15:45:52 +02:00
425d139b1c Fix error event unbinding 2018-09-20 15:44:34 +02:00
a968004d4e Lint: sort struct attributes to reduce memory usage 2018-09-20 15:43:34 +02:00
5f6dcd2253 Rename ConnectToWifiNetwork() to JoinWifiNetwork() for brevety and clarity 2018-09-20 12:08:20 +02:00
13267b2d5a Rename TimeSyncStatus() to TimeSynced() for API clarity 2018-09-20 11:36:48 +02:00
6534c51fe4 Rename SavedWifiNetworks() to WifiNetworks() for consistency 2018-09-20 11:33:51 +02:00
5008dfbd56 Add Updater CLI example 2018-09-20 11:22:03 +02:00
964e1d713e Allow RebootNow() to wait for disconnection 2018-09-20 11:20:35 +02:00
f24f697a3d Allow ConnectToWifiNetwork() to wait for disconnection 2018-09-20 10:59:39 +02:00
52bac70174 Merge branch 'feature/reach-updater-client' into develop 2018-09-19 17:47:49 +02:00
ee3113ed80 Add package documentation and usage example of UpdaterClient 2018-09-19 17:45:38 +02:00
582e362aae Add WEP wifi network security 2018-09-19 17:25:11 +02:00
403e14c320 Rename OPKGUpdate() to Update() 2018-09-19 17:24:50 +02:00
2d0c3d9de9 Fix flag message to run updater integration tests 2018-09-19 17:24:17 +02:00
998f718354 Add doc command to Makefile 2018-09-19 17:23:28 +02:00
dd0a466bd3 Namespaces updaters API in its own client 2018-09-19 17:13:45 +02:00
48db0458c0 Add OPKGUpdate() API 2018-09-19 16:30:37 +02:00
fc4e50bf08 Use internal logger to display results info 2018-09-19 15:54:11 +02:00
1e16779c52 Add ReachViewVersion() API 2018-09-19 15:53:40 +02:00
055ee0000d Add ReceiverUpradeAvailable() API 2018-09-19 15:46:15 +02:00
1bf205347e Add TimeSyncStatus() API 2018-09-19 15:35:56 +02:00
23aee0fb68 Add flag to execute integration tests 2018-09-19 15:29:44 +02:00
505d462352 Remove Probe() method 2018-09-19 13:04:56 +02:00
a2d1c675d7 WiFi networks management API 2018-09-19 13:00:08 +02:00
e7831091ad Restrict linting domain 2018-09-19 10:33:50 +02:00
55e74355bf Update forge.cadoles.com/Pyxis/golang-socketio dep 2018-09-19 10:26:55 +02:00
68371cb7c7 Add reach.Option comments 2018-09-19 10:02:09 +02:00