Skip to content

Commit

Permalink
rename AutoReconnectDelete to AutoReconnectCancel
Browse files Browse the repository at this point in the history
  • Loading branch information
coolnameismy committed Mar 16, 2016
1 parent f55f5f9 commit 00e40d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/objc/BabyBluetooth.h
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ characteristic:(CBCharacteristic *)characteristic
/**
删除断开自动重连的外设
*/
- (void)AutoReconnectDelete:(CBPeripheral *)peripheral;
- (void)AutoReconnectCancel:(CBPeripheral *)peripheral;

#pragma mark - peripheral model

Expand Down
2 changes: 1 addition & 1 deletion Classes/objc/BabyBluetooth.m
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ - (void)AutoReconnect:(CBPeripheral *)peripheral{
/**
删除断开自动重连的外设
*/
- (void)AutoReconnectDelete:(CBPeripheral *)peripheral{
- (void)AutoReconnectCancel:(CBPeripheral *)peripheral{
[babyCentralManager sometimes_never:peripheral];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ - (void)testAutoReConnect {
NSLog(@"设备:%@--已重新连接,测试成功",peripheral.name);
[blockOnReConnectExp fulfill];
//清除自动重连接的状态
[weakSelf.baby AutoReconnectDelete:peripheral];
[weakSelf.baby AutoReconnectCancel:peripheral];
} else {
NSLog(@"设备:%@--已连接",peripheral.name);
//设置重新连接的设备
Expand Down

0 comments on commit 00e40d4

Please sign in to comment.