A simple tool to send messages into FreakWAN over Bluetooth low energy.
Project description
freakble
A simple tool to send messages into FreakWAN over Bluetooth low energy.
This is still a work in progress and it's not complete.
Installation
Using pipx
The best way to install freakble is using pipx:
$ pipx install freakble
Using pip
$ python -m pip install freakble
From source
freakble uses Poetry as dependency management and packaging tool, you need to install it first.
Then:
- Clone this repository.
- From the root of the repository run:
$ poetry build
- Install using pipx or pip (it's better to use pipx):
$ pipx install dist/freakble-0.1.0-py3-none-any.whl
Usage
At the moment only the command send
used to send a message to the board is
implemented. You need to already know the address of the device.
For example:
$ freakble send --device AA:AA:AA:AA:AA:AA Hello, there!
where you have to substitute AA:AA:AA:AA:AA:AA
with your device's address.
The --loop
flag will make freakble to send continuosly the message until
CTRL + C
is pressed. Right now the resend interval is hardcoded and its value
is 0.1 seconds.
$ freakble send --device AA:AA:AA:AA:AA:AA --loop FREAKNET
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.