Architecture is sound, TUI is wack, it panics! a lot, but we are getting there.
inoli is a tiny server, that interacts with your wristband, and uses Unix socket to transmit messages and receive commands from clients.
git clone https://github.com/Elvyria/inoli
cd inoli
cargo build --release
cd tui
go build -ldflags "-s -w".
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 |
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 |
- MiBand 1(S)