eclipse-smarthome-bluetooth-binding icon indicating copy to clipboard operation
eclipse-smarthome-bluetooth-binding copied to clipboard

Create a new template project (bluetooth binding extension) which demonstrates how to create custom bluetooth bindings

Open vkolotov opened this issue 6 years ago • 0 comments

A new project should be created to demonstrate how to create custom bluetooth bindings based on the Bluetooth Manager API. This template binding must provide some clear instructions/guidelines for the binding developers.

Building custom bluetooth bindings is required for some bluetooth devices that does not conform to BLE specification (GATT spec) and therefore the approach (non programmatic) with custom XML GATT definitions could not be used and some coding required.

A good example of the such device (non standard) can be the eQ-3 Radiator Thermostat. The initial research #13 shows that this device provides GATT API that does not conform to official GATT specification. To be more precise, the main characteristic (3fa4585a-ce4a-3bad-db4b-b8df8179ea09) has different data structure for read, write and notify operations. This makes impossible to use "configuration approach" (to come up with XML GATT definitions for the such characteristic), therefore "coding approach" (a custom bluetooth binding) must be used to implement read/write/notify operations (serialization/deserialization) for the device.

Unfortunately I do not have eQ-3 thermostat device, therefore the template project will use just a standard heart rate monitor as the target device.

vkolotov avatar Jan 16 '18 19:01 vkolotov