Created
July 9, 2020 02:22
-
-
Save AminPlusPlus/180ebe3b3f34bb0707723e196898b6dc to your computer and use it in GitHub Desktop.
Discover Services
This file contains 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
func centralManager(_ central: CBCentralManager, didConnect peripheral: CBPeripheral) { | |
//discover all service | |
peripheral.discoverServices(nil) | |
peripheral.delegate = self | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment