How to extend Eclipse SmartHome Bindings

I’m keen to develop a new binding for a Bluetooth device, Holman BTX1, and I’m planning on extending org.eclipse.smarthome.binding.bluetooth.ConnectedBluetoothHandler.

Initially I created a new binding within org.eclipse.smarthome.binding Eclipse SmartHome project, however this project did not want to build nicely, so I decided to keep it simple for my first binding and develop it for openHAB only.

I’ve added org.eclipse.smarthome.binding.bluetooth to my manifest’s Import-Package, which is all good in the IDE, but when I attempt to do a build I receive

[ERROR]   Missing requirement: org.openhab.binding.holman 2.4.0.qualifier requires 'java.package; org.eclipse.smarthome.binding.bluetooth 0.0.0' but it could not be found

I’m assuming I’m not handling the imports or dependencies correctly.

Any assistance would be greatly appreciated.

I also need assistance in this. Help is appreciated.

Thanks in advance.

You shouldn’t try to “extend” the existing binding. If possible, you should just expand the capabilities of the binding to work with your new device.