/inoli

Linking your computer and wristband

Primary LanguageRustGNU General Public License v3.0GPL-3.0

inoli

Project Status:

Architecture is sound, TUI is wack, it panics! a lot, but we are getting there.

TUI

Architecture

inoli is a tiny server, that interacts with your wristband, and uses Unix socket to transmit messages and receive commands from clients.

Building

Cloning repository
git clone https://github.com/Elvyria/inoli
cd inoli
Server
cargo build --release
TUI Client
cd tui
go build -ldflags "-s -w".

Communication Protocol

Message:

Server emits messages when device reports something, or it received a command.

Name Type Size Value
Magic char[3] 3 MSG
Type uint8 1
Data n

Command

Clients can send commands to server.

Name Type Size Value Notes
Magic char[3] 3 MSG
Type uint8 1
Operation uint8 1 0, 1 Get, Set
Data n

Adding Device

Supported Devices

  • MiBand 1(S)