POSBLEManagerDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | POSBLEManager.h |
– POSdidUpdatePeripheralList:RSSIList:
required method
Discover the surroundings
- (void)POSdidUpdatePeripheralList:(NSArray *)peripherals RSSIList:(NSArray *)rssiListParameters
peripherals |
Device array |
|---|---|
rssiList |
Signal strength array |
Discussion
Discover the surroundings
Declared In
POSBLEManager.h
– POSdidConnectPeripheral:
required method
连接成功
- (void)POSdidConnectPeripheral:(CBPeripheral *)peripheralParameters
peripheral |
Device Information |
|---|
Discussion
连接成功
Declared In
POSBLEManager.h
– POSdidFailToConnectPeripheral:error:
required method
连接失败
- (void)POSdidFailToConnectPeripheral:(CBPeripheral *)peripheral error:(NSError *)errorParameters
peripheral |
Device Information |
|---|---|
error |
Error |
Discussion
连接失败
Declared In
POSBLEManager.h
– POSdidDisconnectPeripheral:isAutoDisconnect:
required method
断开连接
- (void)POSdidDisconnectPeripheral:(CBPeripheral *)peripheral isAutoDisconnect:(BOOL)isAutoDisconnectParameters
peripheral |
Device Information |
|---|---|
isAutoDisconnect |
Auto disconnect |
Discussion
断开连接
Declared In
POSBLEManager.h
– POSdidWriteValueForCharacteristic:error:
required method
发送数据成功
- (void)POSdidWriteValueForCharacteristic:(CBCharacteristic *)character error:(NSError *)errorParameters
character |
character |
|---|---|
error |
Error |
Discussion
发送数据成功
Declared In
POSBLEManager.h