Procházet zdrojové kódy

v2.3-20201109 remove key

tags/v2.4
elinkthings před 4 roky
rodič
revize
9114d063dd

+ 0
- 3
AIFit-Demo/AppDelegate.m Zobrazit soubor

@@ -18,9 +18,6 @@

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
//apply sdk key website http://sdk.aicare.net.cn/
[INBluetoothManager configAppKey:@"885fd30a19f54fb0" secret:@"000fec8b4dadbca6a3d4e00875"];
return YES;
}

+ 1
- 0
AIFit-Demo/SearchDeviceVC.m Zobrazit soubor

@@ -39,6 +39,7 @@
if ([INBluetoothManager shareManager].bleState == CBCentralManagerStatePoweredOn) {
[[INBluetoothManager shareManager] closeBleAndDisconnect]; //maybe your scale has been connected
[INBluetoothManager shareManager].delegate = self;
[[INBluetoothManager shareManager] startBleScan];
} else {

+ 1
- 3
InetBleSDK/Products/InetBleSDK.framework/Headers/INBluetoothManager.h Zobrazit soubor

@@ -39,8 +39,6 @@ typedef NS_ENUM(NSInteger,BluetoothManagerState) {

@interface INBluetoothManager : NSObject

//apply sdk key website http://sdk.aicare.net.cn/
+ (void)configAppKey:(NSString *)appKey secret:(NSString *)appSecret;

+ (instancetype)shareManager;

@@ -54,7 +52,7 @@ typedef NS_ENUM(NSInteger,BluetoothManagerState) {
- (void)connectToLinkScale:(DeviceModel *)linkScaleDeviceModel;
- (void)handleDataForBroadScale:(DeviceModel *)broadScaleDeviceModel;

//SDK使用者无需调用此方法,直接使用WriteToBLEManager来写入即可
//Don’t invoke this, just use WriteToBLEManager to write data to ble
- (void)sendDataToBle:(NSData *)data;

+ (void)enableSDKLogs:(BOOL)enable;

binární
InetBleSDK/Products/InetBleSDK.framework/InetBleSDK Zobrazit soubor


Načítá se…
Zrušit
Uložit