#bluetooth #temperature-sensor #temperature #sensor #bluetooth-le #xiaomi

atc_mi_thermometer

A parser for the Bluetooth Low Energy adverts emitted by the ATC custom firmware for Xiaomi thermometers

1 unstable release

0.1.0 May 11, 2024

#960 in Parser implementations

Download history 151/week @ 2024-05-06 22/week @ 2024-05-13

173 downloads per month

WTFPL license

37KB
908 lines

A parser for the Bluetooth Low Energy adverts emitted by the ATC custom firmware for Xiaomi thermometers.

This is just a parser, it does not include any code to read the adverts from a bluetooth adapter.

Project status

Experimental. Unstable and not well tested.

Supported Advert Formats

All formats produced by the current firmware are supported, in both encrypted and non-encrypted forms:

  • ATC1441
  • Custom
  • BtHome V2
  • Mi Like

lib.rs:

A parser for the Bluetooth Low Energy adverts emitted by the ATC custom firmware for Xiaomi thermometers.

The singular function is self::parse_advert.

Dependencies

~1.5MB
~27K SLoC