Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which point to start with BLE technology on iOS

I need to develop with BLE technology. I found some introductions and source code:

http://processors.wiki.ti.com/index.php/Category:IPhone4SBLEDemo

but I didn't find any tutorial to start from scratch with this technology (CoreBluetooth framework) from choose the sensor for testing, also WWDC 2011

Is there any tutorial to start with BLE technology on iOS?

Many Thanks!

like image 531
vietstone Avatar asked Jun 01 '12 13:06

vietstone


People also ask

What is the use of BLE?

Bluetooth low energy technology is primarily used for novel applications, such as access control and door entry, blood pressure monitors, smart watches and wearables, public transportation apps, etc. 56/128-bit and application layer user defined. 128-bit AES in CCM mode and application layer user defined.

What is core Bluetooth?

Overview. The Core Bluetooth framework provides the classes needed for your apps to communicate with Bluetooth-equipped low energy (LE) and Basic Rate / Enhanced Data Rate (BR/EDR) wireless technology. Don't subclass any of the classes of the Core Bluetooth framework.


1 Answers

Unfortunately there isn't much out there for the core bluetooth framework as it is relatively new. I would suggest acquiring a very solid understand of how bluetooth low energy works before writing any code.

A couple of decent resources:

Research around this site to start seeing where services and characteristics are located, and what they do.

http://developer.bluetooth.org/gatt/Pages/GATT-Specification-Documents.aspx

This site has the actual firmware implementation code of the services you will see on the bluetooth sites along with a more thorough explanation of how these things work with the supplied documentation.

http://www.ti.com/tool/cc2540dk

If all of that makes sense to you then I would obtain a device and start hacking away. The core bluetooth framework has sparse documentation but relies heavily on delegation. You will find that once you start discovering services in the delegate methods, that discovering and using characteristic values is a piece of cake.

like image 63
Greg Price Avatar answered Oct 02 '22 20:10

Greg Price