Blame view

HDFwear/3rd/RTKOTASDK/RTKLEFoundation.framework/Headers/RTKCharacteristicReadWrite.h 1.1 KB
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
32
33
34
35
36
37
38
39
40
41
42
  //
  //  RTKCharacteristicReadWrite.h
  //  RTKLEFoundation
  //
  //  Created by jerome_gu on 2019/1/10.
  //  Copyright © 2019 Realtek. All rights reserved.
  //
  
  #import <UIKit/UIKit.h>
  #import <CoreBluetooth/CoreBluetooth.h>
  
  #ifdef RTK_SDK_IS_STATIC_LIBRARY
  #import "RTKLEPeripheral.h"
  #import "RTKPackageCommunication.h"
  #import "RTKPeripheralCharacteristicOperation.h"
  #else
  #import <RTKLEFoundation/RTKLEPeripheral.h>
  #import <RTKLEFoundation/RTKPackageCommunication.h>
  #import <RTKLEFoundation/RTKPeripheralCharacteristicOperation.h>
  #endif
  
  
  NS_ASSUME_NONNULL_BEGIN
  
  @interface RTKCharacteristicReadWrite : RTKPackageCommunication <RTKPeripheralCharacteristicRead, RTKPeripheralCharacteristicWrite>
  
  - (instancetype)initWithPeripheral:(RTKLEPeripheral*)peripheral read:(nullable CBCharacteristic *)readCharacteristic write:(nullable CBCharacteristic *)writeCharacteristic;
  
  @property (class, readonly) BOOL writeReliably;
  
  @end
  
  @interface RTKCharacteristicReadWriteWithoutResponse : RTKCharacteristicReadWrite
  
  @end
  
  @interface RTKCharacteristicReadWriteArbitrarily : RTKCharacteristicReadWrite
  
  @end
  
  
  NS_ASSUME_NONNULL_END