Commit Graph

72 Commits

Author SHA1 Message Date
wpetit 030bb818e1 Add base manual position update example 2018-12-06 16:33:04 +01:00
wpetit 668a33a1a1 Fix reach services discovery 2018-12-06 16:31:23 +01:00
wpetit 4da7f14564 Add method to stream modules status 2018-10-16 19:07:35 +02:00
wpetit 187d53fd29 Fix Reach services discovery
- Use github.com/grandcat/zeroconf lib instead of github.com/oleksandr/bonjour
2018-10-16 15:23:16 +02:00
wpetit 9bd20331ef Add service discovery helper
Use MDNS-SD to discover ReachRS services on the local network
2018-10-09 14:05:38 +02:00
wpetit fd8657a495 Disable golang modules when executing linters 2018-09-26 16:02:43 +02:00
wpetit 599c4cf1d5 Merge branch 'feature/reachview-apply-conf' into develop 2018-09-26 15:57:01 +02:00
wpetit dc4dd7a9fb Lint: disable lll 2018-09-26 15:56:46 +02:00
wpetit 854052bc84 Example: simple cli for automatic configuration of rover/base modules 2018-09-26 15:56:06 +02:00
wpetit e4bb33e895 CI: only lint modified files 2018-09-26 12:08:29 +02:00
wpetit 9367e5e79e Use context.Context to provide timeout detection to websocket calls 2018-09-26 12:05:55 +02:00
wpetit 1dcd03e455 Use pointers to create partial configuration updates 2018-09-25 17:28:12 +02:00
Philippe Caseiro 70ddfe49ed Merge branch 'develop' of https://forge.cadoles.com/Pyxis/orion into develop 2018-09-21 17:00:59 +02:00
Philippe Caseiro 364dfecb31 Cleaning code to please the linter
Added feature for #145
Fix bug #145
2018-09-21 17:00:11 +02:00
wpetit cf58d86eb0 Remove gometalinter install script 2018-09-21 16:56:32 +02:00
wpetit f769ca382e Merge branch 'feature/reachview-api' into develop 2018-09-21 16:07:56 +02:00
wpetit 1a04caafdf Implements full configuration model 2018-09-21 16:07:38 +02:00
wpetit 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
wpetit 77a779aebe Provides a pre-commit git hook to lint Go files 2018-09-21 16:07:38 +02:00
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