If you are trying to communicate with a classic BT device, then Taifun's link should help you,
if you are using a BT device with BT > 4.0, then you need the extension.
In both cases you will need to find out what the device expects from you. What is the device? Does it have an API or do you have to develop something yourself?
Cheers, Ghica.