Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
73 lines (72 sloc) 3.17 KB
<?xml version="1.0" encoding="UTF-8"?>
<Characteristic xsi:noNamespaceSchemaLocation="http://schemas.bluetooth.org/Documents/characteristic.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Xiaomi advertised events data"
type="com.xiaomi.bluetooth.characteristic.events_data" uuid="FE95FE95" last-modified="2018-02-01"
approved="No">
<Value>
<Field name="Flags">
<Requirement>Mandatory</Requirement>
<Format>16bit</Format>
<BitField>
<Bit index="0" size="16" name="EventID">
<Enumerations>
<Enumeration key="4" value="Temperature flag" requires="C4"/>
<!-- Mi Smart Kettle-->
<Enumeration key="5" value="Temperature and status" requires="C5"/>
<Enumeration key="6" value="Humidity flag" requires="C6"/>
<Enumeration key="7" value="Sunlight flag" requires="C7"/>
<Enumeration key="8" value="Moisture flag" requires="C8"/>
<Enumeration key="9" value="Fertility flag" requires="C9"/>
<Enumeration key="10" value="Battery flag" requires="C10"/>
<Enumeration key="13" value="Temperature and humidity flag" requires="C4,C6"/>
</Enumerations>
</Bit>
</BitField>
</Field>
<Field name="Event" system="true">
<Requirement>Mandatory</Requirement>
<Format>uint8</Format>
</Field>
<Field name="Temperature">
<Requirement>C4</Requirement>
<Format>uint16</Format>
<DecimalExponent>-1</DecimalExponent>
<Unit>org.bluetooth.unit.thermodynamic_temperature.degree_celsius</Unit>
</Field>
<Field name="Status">
<Requirement>C5</Requirement>
<Format>uint8</Format>
</Field>
<Field name="Temperature">
<Requirement>C5</Requirement>
<Format>uint8</Format>
<Unit>org.bluetooth.unit.thermodynamic_temperature.degree_celsius</Unit>
</Field>
<Field name="Humidity">
<Requirement>C6</Requirement>
<Format>uint16</Format>
<DecimalExponent>-1</DecimalExponent>
<Unit>org.bluetooth.unit.percentage</Unit>
</Field>
<Field name="Sunlight">
<Requirement>C7</Requirement>
<Format>uint24</Format>
<Unit>org.bluetooth.unit.illuminance.lux</Unit>
</Field>
<Field name="Moisture">
<Requirement>C8</Requirement>
<Format>uint8</Format>
<Unit>org.bluetooth.unit.percentage</Unit>
</Field>
<Field name="Fertility">
<Requirement>C9</Requirement>
<Format>uint16</Format>
<Unit>org.bluetooth.unit.electric_conductance.siemens</Unit>
</Field>
<Field name="Battery">
<Requirement>C10</Requirement>
<Format>uint8</Format>
<Unit>org.bluetooth.unit.percentage</Unit>
</Field>
</Value>
</Characteristic>
You can’t perform that action at this time.