Blame view

HDFwear/3rd/RTKOTASDK/RTKLEFoundation.framework/Headers/RTKPeripheralCharacteristicOperation.h 932 Bytes
75d24c15   yangbin   123
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  //
  //  RTKPeripheralCharacteristicOperation.h
  //  RTKLEFoundation
  //
  //  Created by jerome_gu on 2019/1/7.
  //  Copyright © 2019 Realtek. All rights reserved.
  //
  
  #ifndef RTKPeripheralCharacteristicOperation_h
  #define RTKPeripheralCharacteristicOperation_h
  
  #import <CoreBluetooth/CoreBluetooth.h>
  
  NS_ASSUME_NONNULL_BEGIN
  
  @protocol RTKPeripheralCharacteristicRead <NSObject>
  @property (readonly, nonatomic) CBCharacteristic *readCharacteristic;
  - (void)didUpdateValueForCharacteristic:(CBCharacteristic *)characteristic;
  - (void)didUpdateNotificationStateForCharacteristic:(CBCharacteristic *)characteristic;
  @end
  
  
  @protocol RTKPeripheralCharacteristicWrite <NSObject>
  @property (readonly, nonatomic) CBCharacteristic *writeCharacteristic;
  - (void)didWriteValueForCharacteristic:(CBCharacteristic *)characteristic error:(nullable NSError *)error;
  @end
  
  
  NS_ASSUME_NONNULL_END
  
  #endif /* RTKPeripheralCharacteristicOperation_h */