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

#import <ThingBLEWriteNotifyProtocol.h>

Inheritance diagram for <ThingBLEWriteNotifyProtocol>:

Instance Methods

(void) - writeDataWithDeviceInfo:type:data:success:failure:
 < 接受数据代理 More...
 
(void) - writeDataWithDeviceInfo:type:data:success:failure:
 < 接受数据代理 More...
 

Properties

ThingBLEWriteNotify * writeNotify
 
id< ThingBLEWriteNotifyDelegatedelegate
 

Detailed Description

Definition at line 26 of file ThingBLEWriteNotifyProtocol.h.

Method Documentation

◆ writeDataWithDeviceInfo:type:data:success:failure: [1/2]

- (void) writeDataWithDeviceInfo: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo
type: (ThingBLEConfigType type
data: (NSData *)  data
success: (ThingSuccessData success
failure: (ThingFailureError failure 

< 接受数据代理

向蓝牙设备下发数据

Parameters
deviceInfodeviceInfo
typetype
datadata
successsuccess
failurefailure

◆ writeDataWithDeviceInfo:type:data:success:failure: [2/2]

- (void) writeDataWithDeviceInfo: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo
type: (ThingBLEConfigType type
data: (NSData *)  data
success: (ThingSuccessData success
failure: (ThingFailureError failure 

< 接受数据代理

向蓝牙设备下发数据

Parameters
deviceInfodeviceInfo
typetype
datadata
successsuccess
failurefailure

Property Documentation

◆ delegate

- (id< ThingBLEWriteNotifyDelegate >) delegate
readwritenonatomicweak

Definition at line 30 of file ThingBLEWriteNotifyProtocol.h.

◆ writeNotify

- (ThingBLEWriteNotify *) writeNotify
readwritenonatomicstrong

Definition at line 28 of file ThingBLEWriteNotifyProtocol.h.


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