switchbot

Crates.ioswitchbot
lib.rsswitchbot
version0.1.2
sourcesrc
created_at2023-04-10 02:29:03.121982
updated_at2023-04-10 03:31:31.06946
descriptionA library for interacting with SwitchBot devices
homepagehttps://github.com/steveatinfincia/switchbot_rs
repositoryhttps://github.com/steveatinfincia/switchbot_rs.git
max_upload_size
id834676
size17,282
Stephen Oliver (steveatinfincia)

documentation

README

Switchbot-rs

A library for interacting with SwitchBot devices via Bluetooth LE.

The code is currently able to decode Bluetooth LE service data packets for the bot, meter/plus, humidifier, and plug mini devices.

There are tests for a few specific cases, written using manually captured data from real SwitchBot devices.

The constant module contains a few useful values, but the process of connecting to a Bluetooth LE device is not specific to SwitchBot devices, so this crate is solely intended for processing the data and does not contain code for connecting to actual devices.

Determining which device to connect to and handling those connections is the responsibility of another crate, you can see an example of how to do that in ble_bridge_rs.

Commit count: 4

cargo fmt