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)?
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!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.