Primarily, this is meant to be a set of libraries to connect to vector via BLE. It just so happens that there's also a CLI that utilizes them built in.
- You'll need to install libsodium for your OS. Specific instructions vary by OS
To build the binary, run
$ make build
You'll have to do something like this on the built binary
$ sudo setcap 'cap_net_raw,cap_net_admin+eip' /path/to/file
Completely untested, but let me know!
Doesn't work yet...
There are more features in the library than are currently available in the CLI, but here's whats currently available
Name | Description |
---|---|
scan | runs a BLE scan and displays an appropriate list of devices |
connect | connect to a vector via ID (displayed in the scan) |
authorize | performs a cloud authorization (but you'll need to find your token!) |
configure | allows you to make/change configuration |
get-status | displays the status of your vector |
wifi-scan | scan for a list of available wifi networks |
wifi-connect | connect to a wifi network |
ota-start | perform an OTA code download |
This is an early release, and not all features are implemented in either the CLI or in the library itself.