0
votes

I was looking at a couple CoreBluetooth tutorials for iOS. Based on the tutorials, it looks like one device is transmitting data and the other device is receiving. Like in this example: http://www.raywenderlich.com/52080/introduction-core-bluetooth-building-heart-rate-monitor the heart rate monitor is transmitting and the iphone is receiving. Is there a way to just connect to device to control it?

For example, I have a soundbar that is Bluetooth and can I write an app to do the same thing the remote it comes with does (volume up, volume down, input source change, power off)?

1
Yes, you can. If your soundbar is Bluetooth Low-Energy compliant and give the possibility to control it. - Larme

1 Answers

0
votes

Adafruit proposes a lot of tutorials / material to learn how to use BLE (Bluetooth low energy)

If you need one way transmission with the maximun data rate you need to read this article: http://www.tbideas.com/blog/2013/04/Optimizing-Bluetooth-Low-Energy-Performance/ it talks about CBCharacteristicWriteWithoutResponse

Stackoverflow thread about the same one way communication subject: iOS. BLE. CBCharacteristicWriteWithoutResponse - How to make it work?

Hope this helps!