Created
July 27, 2018 07:57
-
-
Save SunXiaoShan/3b5c549200c3049caf3bb18eb70af53d to your computer and use it in GitHub Desktop.
Peripheral
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
_serialQueue = dispatch_queue_create(BLE_MANAGER_DISPATCH_QUEUE, DISPATCH_QUEUE_SERIAL); | |
NSDictionary *options = [@{CBPeripheralManagerOptionShowPowerAlertKey:@YES} mutableCopy]; | |
_peripheralManager = [[CBPeripheralManager alloc] initWithDelegate:self queue:_serialQueue options:options]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment