Skip to content

Instantly share code, notes, and snippets.

@AminPlusPlus
Created July 9, 2020 02:22
Show Gist options
  • Save AminPlusPlus/180ebe3b3f34bb0707723e196898b6dc to your computer and use it in GitHub Desktop.
Save AminPlusPlus/180ebe3b3f34bb0707723e196898b6dc to your computer and use it in GitHub Desktop.
Discover Services
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