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
|
//
// RTKOTAUpgradeBin+Available.h
// RTKLEFoundation
//
// Created by jerome_gu on 2020/9/23.
// Copyright © 2020 jerome_gu. All rights reserved.
//
#ifdef RTK_SDK_IS_STATIC_LIBRARY
#import "RTKOTAUpgradeBin.h"
#import "RTKOTAPeripheral.h"
#import "RTKOTADeviceInfo.h"
#else
#import <RTKOTASDK/RTKOTAUpgradeBin.h>
#import <RTKOTASDK/RTKOTAPeripheral.h>
#import <RTKOTASDK/RTKOTADeviceInfo.h>
#endif
NS_ASSUME_NONNULL_BEGIN
@interface RTKOTAUpgradeBin (Available)
@property (nonatomic, readonly) BOOL ICDetermined;
// Assign the OTA target peripheral IC subjectively.
// @discussion You should call this method only if property ICDetermined is NO. You should make sure the upgrade Bin matches target peripheral, otherwise, the behaviour is not determined.
- (void)assertAvailableForPeripheral:(RTKOTAPeripheral *)peripheral;
- (void)assertAvailableForPeripheralInfo:(RTKOTADeviceInfo *)info;
@end
NS_ASSUME_NONNULL_END
|