Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/joematpal/vector-bluetooth

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/joematpal/vector-bluetooth

  • v0.0.0-20210225152307-195e2ff3e46f
  • Source
  • Go
  • Socket score

Version published
Created
Source

vector bluetooth

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.

Prerequisites.

  1. You'll need to install libsodium for your OS. Specific instructions vary by OS

Running on Linux

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

Running on OS X

Completely untested, but let me know!

Running on Windows

Doesn't work yet...

CLI

There are more features in the library than are currently available in the CLI, but here's whats currently available

NameDescription
scanruns a BLE scan and displays an appropriate list of devices
connectconnect to a vector via ID (displayed in the scan)
authorizeperforms a cloud authorization (but you'll need to find your token!)
configureallows you to make/change configuration
get-statusdisplays the status of your vector
wifi-scanscan for a list of available wifi networks
wifi-connectconnect to a wifi network
wifi-forgettell vector to forget a wifi network
wifi-ipdisplay IP information of the robot
ota-startperform an OTA code download
ota-cancelstops an in-progress OTA download
logsdownload logs from your robot

Configuration Options

NameDescription
TimezoneInput a valid timezone. A handy list of timezone options are listed under the "TZ Database Name" column on Wikipedia
Default LocationInput a valid location. Format is /<State (if applicable)>/
LocaleDetermines wake word ("Hey Vector") accent detection. Available options are listed in the list_locales file.
Data AnalyticsSet to "true" to allow Vector to upload crash logs and other non-personal logs to DDL. Note: This data is not sold or released to any third party.
Distance UnitsSet to "true" to measure distance in metric units. Set to "false" to measure distance in imperial units.
Temperature UnitsSet to "true" to measure temperature in metric units. Set to "false" to measure distance in imperial units.

Project status

This is an early release, and not all features are implemented in either the CLI or in the library itself.

FAQs

Package last updated on 25 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc