# BleManagerDiscoverPeripheralCallBack Block Reference

Declared in | BLEManager.h

#### Block Definition

### BleManagerDiscoverPeripheralCallBack

- # define kBLEM [BLEManager sharedBLEManager]

  if (kBLEM.isConnected) { [kBLEM writeDataToDevice:@[@(0)] command:1]; [kBLEM writeDataToDevice:@[@(1),@(2)] command:2]; } * *

`typedef void (^BleManagerDiscoverPeripheralCallBack) (NSArray *peripherals)`

#### Discussion

- # define kBLEM [BLEManager sharedBLEManager]

  if (kBLEM.isConnected) { [kBLEM writeDataToDevice:@[@(0)] command:1]; [kBLEM writeDataToDevice:@[@(1),@(2)] command:2]; } * *

#### Declared In

`BLEManager.h`