sputnikdev / eclipse-smarthome-bluetooth-binding

Eclipse SmartHome Bluetooth Binding
46 stars 10 forks source link

Add support for BitFields #26

Open vkolotov opened 6 years ago

vkolotov commented 6 years ago

Some GATT characteristics contain special type of fields - BitField. These are fields that normally readonly and define structure of a characteristic (if a field is present or omitted). Sometimes it also used as a normal characteristic field to indicate device state. Internally it is implemented as a bitmap.