Tuya iOS Smart Life App SDK 5.15.0
ThingBLEAdvModel Class Reference

ThingBLEAdvModel provides a model to get the Bluetooth LE device broadcast information. More...

#import <ThingBLEAdvModel.h>

Inheritance diagram for ThingBLEAdvModel:

Properties

ThingBLEPeripheralperipheral
 The Bluetooth peripheral to be scanned. More...
 
NSString * uuid
 The UUID of the Bluetooth LE device. More...
 
NSString * productId
 The product ID of the Bluetooth LE device. More...
 
NSString * mac
 The MAC address of the Bluetooth LE device. More...
 
BOOL isActive
 The activation state of the Bluetooth LE device. More...
 
ThingSmartBLEType bleType
 The type of Bluetooth LE device. More...
 
BOOL isSupport5G
 
BOOL isProuductKey
 Indicates whether the Bluetooth LE device supports the product key. More...
 
int bleProtocolV
 The protocol version of the Bluetooth LE device. More...
 
BOOL isQRCodeDevice
 Whether the device is activated by scanning, such as scanning a QR code.Defaults to NO. More...
 
BOOL isSupportMultiUserShare
 Whether the device is support config by multi user. More...
 
BOOL isRoaming
 Whether the device is support roam. More...
 
BOOL isSupportQueryWifiList
 Whether the device is support wifi list query. More...
 
ThingSmartBLECommunicationCapability bleCommunicationCapability
 The communication capability of Bluetooth LE devices. More...
 
BOOL isExecutedV2Secret
 
BOOL isSupportV2Secret
 

Detailed Description

ThingBLEAdvModel provides a model to get the Bluetooth LE device broadcast information.

All the device information is obtained from the Bluetooth device broadcast packet data. The different types of Bluetooth LE devices. See the following parameter descriptions.

Definition at line 63 of file ThingBLEAdvModel.h.

Property Documentation

◆ bleCommunicationCapability

- (ThingSmartBLECommunicationCapability) bleCommunicationCapability
readwritenonatomicassign

The communication capability of Bluetooth LE devices.

Definition at line 94 of file ThingBLEAdvModel.h.

◆ bleProtocolV

- (int) bleProtocolV
readwritenonatomicassign

The protocol version of the Bluetooth LE device.

Definition at line 83 of file ThingBLEAdvModel.h.

◆ bleType

- (ThingSmartBLEType) bleType
readwritenonatomicassign

The type of Bluetooth LE device.

Definition at line 76 of file ThingBLEAdvModel.h.

◆ isActive

- (BOOL) isActive
readwritenonatomicassign

The activation state of the Bluetooth LE device.

Definition at line 74 of file ThingBLEAdvModel.h.

◆ isExecutedV2Secret

- (BOOL) isExecutedV2Secret
readwritenonatomicassign

Definition at line 96 of file ThingBLEAdvModel.h.

◆ isProuductKey

- (BOOL) isProuductKey
readwritenonatomicassign

Indicates whether the Bluetooth LE device supports the product key.

Definition at line 81 of file ThingBLEAdvModel.h.

◆ isQRCodeDevice

- (BOOL) isQRCodeDevice
readwritenonatomicassign

Whether the device is activated by scanning, such as scanning a QR code.Defaults to NO.

Definition at line 85 of file ThingBLEAdvModel.h.

◆ isRoaming

- (BOOL) isRoaming
readwritenonatomicassign

Whether the device is support roam.

Definition at line 89 of file ThingBLEAdvModel.h.

◆ isSupport5G

- (BOOL) isSupport5G
readwritenonatomicassign

Indicates whether the Bluetooth LE device supports connections through the router on a 5 GHz band.

Note
ThingSmartBLETypeBLEWifi or ThingSmartBLETypeBLEWifiSecurity is only available for bleType.

Definition at line 79 of file ThingBLEAdvModel.h.

◆ isSupportMultiUserShare

- (BOOL) isSupportMultiUserShare
readwritenonatomicassign

Whether the device is support config by multi user.

Definition at line 87 of file ThingBLEAdvModel.h.

◆ isSupportQueryWifiList

- (BOOL) isSupportQueryWifiList
readwritenonatomicassign

Whether the device is support wifi list query.

Definition at line 91 of file ThingBLEAdvModel.h.

◆ isSupportV2Secret

- (BOOL) isSupportV2Secret
readwritenonatomicassign

Definition at line 97 of file ThingBLEAdvModel.h.

◆ mac

- (NSString *) mac
readwritenonatomicstrong

The MAC address of the Bluetooth LE device.

Definition at line 72 of file ThingBLEAdvModel.h.

◆ peripheral

- (ThingBLEPeripheral *) peripheral
readwritenonatomicstrong

The Bluetooth peripheral to be scanned.

Definition at line 66 of file ThingBLEAdvModel.h.

◆ productId

- (NSString *) productId
readwritenonatomicstrong

The product ID of the Bluetooth LE device.

Definition at line 70 of file ThingBLEAdvModel.h.

◆ uuid

- (NSString *) uuid
readwritenonatomicstrong

The UUID of the Bluetooth LE device.

Definition at line 68 of file ThingBLEAdvModel.h.


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