Commit Graph

53 Commits

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

./setupKit.sh wlan1 reach my_secret_wpa_key

first parameter is the wifi interface
second is the SSID prefix, I use reach for  "reachxx:xx"
last is the WPA KEY to connect to network
2018-09-18 15:53:45 +02:00
Philippe Caseiro 4489f22ac0 Adding experimentation shell scripts ! 2018-09-18 14:36:45 +02:00
Philippe Caseiro 29d5a48440 Upating License 2018-09-18 09:03:49 +02:00