Tuya iOS Smart Life App SDK 5.15.0
ThingBLEMeshCommand Class Reference

The Bluetooth mesh protocol for certain commands. More...

#import <ThingBLEMeshCommand.h>

Inheritance diagram for ThingBLEMeshCommand:
<ThingBLEMeshCommandProtocol> <ThingBLEMeshCommandProtocol>

Properties

ThingBLEMeshCommandType commandType
 The command type. More...
 
NSString * pcc
 In each product category code (PCC), a small category is followed by a major category. For example, the PCC of a cool white and colored light (RGBC) is 0401. In this case, 04 represents a cool white and colored light (RGBC) and 01 represents the major category of lights. More...
 
uint32_t address
 The address of a device or a group. Valid values of a device address: 1 to 255. Valid values of a group address: 0x8001 and 0x8008. More...
 
BOOL isGroup
 Specifies whether a group command is used. More...
 
NSArray< NSString * > * dataParams
 For more information about the command data, see the documentation. More...
 
NSString * logDescription
 The output of secondary log files. More...
 

Additional Inherited Members

- Instance Methods inherited from <ThingBLEMeshCommandProtocol>
(NSData *) - command
 
(NSString *) - raw
 
(NSData *) - command
 
(NSString *) - raw
 

Detailed Description

The Bluetooth mesh protocol for certain commands.

Definition at line 24 of file ThingBLEMeshCommand.h.

Property Documentation

◆ address

- (uint32_t) address
readwritenonatomicassign

The address of a device or a group. Valid values of a device address: 1 to 255. Valid values of a group address: 0x8001 and 0x8008.

Definition at line 33 of file ThingBLEMeshCommand.h.

◆ commandType

- (ThingBLEMeshCommandType) commandType
readwritenonatomicassign

The command type.

Definition at line 27 of file ThingBLEMeshCommand.h.

◆ dataParams

- (NSArray< NSString * > *) dataParams
readwritenonatomicstrong

For more information about the command data, see the documentation.

Definition at line 39 of file ThingBLEMeshCommand.h.

◆ isGroup

- (BOOL) isGroup
readwritenonatomicassign

Specifies whether a group command is used.

Definition at line 36 of file ThingBLEMeshCommand.h.

◆ logDescription

- (NSString *) logDescription
readwritenonatomicstrong

The output of secondary log files.

Definition at line 42 of file ThingBLEMeshCommand.h.

◆ pcc

- (NSString *) pcc
readwritenonatomicstrong

In each product category code (PCC), a small category is followed by a major category. For example, the PCC of a cool white and colored light (RGBC) is 0401. In this case, 04 represents a cool white and colored light (RGBC) and 01 represents the major category of lights.

Definition at line 30 of file ThingBLEMeshCommand.h.


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