BWPeripheralManager Class Reference
Publishes a service and any of its associated characteristics and characteristic descriptors to the local GATT database.
- (void)addService:(CBMutableService *)service
The service you want to publish.
Removes all published services from the local GATT database.
Removes a specified published service from the local GATT database.
- (void)removeService:(CBMutableService *)service
The service you want to remove.
Advertises peripheral manager data.
- (void)startAdvertising:(NSDictionary *)advertisementData
An optional dictionary containing the data you want to advertise.
Stops advertising peripheral manager data.
Sends an updated characteristic value to one or more subscribed centrals, via a notification or indication.
- (BOOL)updateValue:(NSData *)value forCharacteristic:(CBMutableCharacteristic *)characteristic onSubscribedCentrals:(NSArray *)centrals
The characteristic value you want to send via a notification or indication.
The characteristic whose value has changed.
A list of centrals (represented by CBCentral objects) that have subscribed to receive updates of the characteristic’s value.
YES if the update is successfully sent to the subscribed central or centrals. NO if the update is not successfully sent because the underlying transmit queue is full.