Tuya iOS Smart Life App SDK 5.15.0
<ThingLocalBLEActiveProtocol> Protocol Reference

#import <ThingBLEActiveProtocol.h>

Inheritance diagram for <ThingLocalBLEActiveProtocol>:

Instance Methods

(void) - connectDevice:schemaHandler:success:failure:
 
(void) - configMachineKey:
 
(void) - configSchema:
 
(void) - receiveDevicePubKey:
 
(void) - receiveDeviceMachineKeyCheckResult:
 
(void) - receiveDeviceSchemaCheckResult:
 
(void) - receiveDeviceSchema:
 
(void) - connectDevice:schemaHandler:success:failure:
 
(void) - configMachineKey:
 
(void) - configSchema:
 
(void) - receiveDevicePubKey:
 
(void) - receiveDeviceMachineKeyCheckResult:
 
(void) - receiveDeviceSchemaCheckResult:
 
(void) - receiveDeviceSchema:
 

Properties

BOOL isLocalConnecting
 

Detailed Description

Definition at line 184 of file ThingBLEActiveProtocol.h.

Method Documentation

◆ configMachineKey: [1/2]

- (void) configMachineKey: (NSString *)  machineKey

◆ configMachineKey: [2/2]

- (void) configMachineKey: (NSString *)  machineKey

◆ configSchema: [1/2]

- (void) configSchema: (NSDictionary *)  schema

◆ configSchema: [2/2]

- (void) configSchema: (NSDictionary *)  schema

◆ connectDevice:schemaHandler:success:failure: [1/2]

- (void) connectDevice: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo
schemaHandler: (nullable ThingSuccessDict schemaHandler
success: (nullable ThingSmartLocalBLEDeviceConnectedHandler success
failure: (nullable ThingFailureError failure 

local device connect

  • Parameters:
    • deviceInfo: deviceInfo
    • success: success
    • failure: failure

◆ connectDevice:schemaHandler:success:failure: [2/2]

- (void) connectDevice: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo
schemaHandler: (nullable ThingSuccessDict schemaHandler
success: (nullable ThingSmartLocalBLEDeviceConnectedHandler success
failure: (nullable ThingFailureError failure 

local device connect

  • Parameters:
    • deviceInfo: deviceInfo
    • success: success
    • failure: failure

◆ receiveDeviceMachineKeyCheckResult: [1/2]

- (void) receiveDeviceMachineKeyCheckResult: (NSData *)  data

◆ receiveDeviceMachineKeyCheckResult: [2/2]

- (void) receiveDeviceMachineKeyCheckResult: (NSData *)  data

◆ receiveDevicePubKey: [1/2]

- (void) receiveDevicePubKey: (NSData *)  keyData

◆ receiveDevicePubKey: [2/2]

- (void) receiveDevicePubKey: (NSData *)  keyData

◆ receiveDeviceSchema: [1/2]

- (void) receiveDeviceSchema: (NSData *)  data

◆ receiveDeviceSchema: [2/2]

- (void) receiveDeviceSchema: (NSData *)  data

◆ receiveDeviceSchemaCheckResult: [1/2]

- (void) receiveDeviceSchemaCheckResult: (NSData *)  data

◆ receiveDeviceSchemaCheckResult: [2/2]

- (void) receiveDeviceSchemaCheckResult: (NSData *)  data

Property Documentation

◆ isLocalConnecting

- (BOOL) isLocalConnecting
readwriteoptionalnonatomicassign

Definition at line 188 of file ThingBLEActiveProtocol.h.


The documentation for this protocol was generated from the following files: