This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
More links - | |
http://clover-lemongrass.cloudvent.net/blog/2015/06/11/zero-to-ble-on-ios-part-one/ | |
http://clover-lemongrass.cloudvent.net/blog/2015/10/15/developing-ios-app-using-ble-standard/ | |
Here is the complete code to discover peripheral, connect to it and discover its services and characteristics. | |
1.Connect peripheral | |
func centralManager(central: CBCentralManager, didDiscoverPeripheral peripheral: CBPeripheral, advertisementData: [String : AnyObject], RSSI: NSNumber) { |