DEACentralManager Class Reference

Inherits from YMSCBCentralManager : NSObject
Declared in DEACentralManager.h
DEACentralManager.m

Overview

Application CoreBluetooth central manager service for Deanna.

This class defines a singleton application service instance which manages access to the TI SensorTag via the CoreBluetooth API.

Other Methods

+ initSharedServiceWithDelegate:

Return singleton instance.

+ (DEACentralManager *)initSharedServiceWithDelegate:(id)delegate

Parameters

delegate

UI delegate.

Discussion

Return singleton instance.

Declared In

DEACentralManager.h

+ sharedService

Return singleton instance.

+ (DEACentralManager *)sharedService

Discussion

Return singleton instance.

Declared In

DEACentralManager.h

Other Methods

– startScan

Start CoreBluetooth scan for peripherals. This method is to be overridden.

- (void)startScan

Discussion

Start CoreBluetooth scan for peripherals. This method is to be overridden.

The implementation of this method in a subclass must include the call to scanForPeripheralsWithServices:options:

Declared In

YMSCBCentralManager.h

– handleFoundPeripheral:

Handler for discovered or found peripheral. This method is to be overridden.

- (void)handleFoundPeripheral:(CBPeripheral *)peripheral

Parameters

peripheral

CoreBluetooth peripheral instance

Discussion

Handler for discovered or found peripheral. This method is to be overridden.

Declared In

YMSCBCentralManager.h

– managerPoweredOnHandler

Handler for when manager state is powered on.

- (void)managerPoweredOnHandler

Discussion

Handler for when manager state is powered on.

Declared In

YMSCBCentralManager.h