Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1021 Bytes

sandbox.rst

File metadata and controls

43 lines (29 loc) · 1021 Bytes

Sandbox installation

Usage

git clone https://github.com/maritime-labs/calypso-anemometer
cd calypso-anemometer

It is recommended to use a Python virtualenv. In order to do so, invoke:

python3 -m venv .venv
source .venv/bin/activate

Then, in order to install the project in development mode, and to invoke the test suite, run:

pip install --editable=.[develop,fake,test]
poe test

Notes

Random notes about CLI entrypoints suitable for development.

# Set device data rate to one of HZ_1, HZ_4, or HZ_8.
# Note: Works only for the upcoming conversation. Will be back at HZ_4 afterwards.
calypso-anemometer set-option --rate=hz_1

# Set device mode to one of SLEEP, LOW_POWER, or NORMAL.
# Note: Does not work, the setting is read-only.
calypso-anemometer set-option --mode=normal

# Explore all services and characteristics. Useful for debugging purposes.
calypso-anemometer explore