# POSBLEManagerDelegate Protocol Reference

Conforms to | NSObject
Declared in | POSBLEManager.h

### `– POSdidUpdatePeripheralList:RSSIList:` required method

Discover the surroundings

`- (void)POSdidUpdatePeripheralList:(NSArray *)peripherals RSSIList:(NSArray *)rssiList`

#### Parameters

`peripherals` | Device array
`rssiList` | Signal strength array

#### Discussion

Discover the surroundings

#### Declared In

`POSBLEManager.h`

### `– POSdidConnectPeripheral:` required method

连接成功

`- (void)POSdidConnectPeripheral:(CBPeripheral *)peripheral`

#### Parameters

`peripheral` | Device Information

#### Discussion

连接成功

#### Declared In

`POSBLEManager.h`

### `– POSdidFailToConnectPeripheral:error:` required method

连接失败

`- (void)POSdidFailToConnectPeripheral:(CBPeripheral *)peripheral error:(NSError *)error`

#### Parameters

`peripheral` | Device Information
`error` | Error

#### Discussion

连接失败

#### Declared In

`POSBLEManager.h`

### `– POSdidDisconnectPeripheral:isAutoDisconnect:` required method

断开连接

`- (void)POSdidDisconnectPeripheral:(CBPeripheral *)peripheral isAutoDisconnect:(BOOL)isAutoDisconnect`

#### Parameters

`peripheral` | Device Information
`isAutoDisconnect` | Auto disconnect

#### Discussion

断开连接

#### Declared In

`POSBLEManager.h`

### `– POSdidWriteValueForCharacteristic:error:` required method

发送数据成功

`- (void)POSdidWriteValueForCharacteristic:(CBCharacteristic *)character error:(NSError *)error`

#### Parameters

`character` | character
`error` | Error

#### Discussion

发送数据成功

#### Declared In

`POSBLEManager.h`