1
wei
2021-01-21 62d098cb78296feaa6f786a20748921338db838c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
//
// TYBLEMeshCommandType.h
// TuyaSmartBLEMeshKit
//
// Copyright (c) 2014-2021 Tuya Inc. (https://developer.tuya.com)
 
#ifndef TYBLEMeshCommandType_h
#define TYBLEMeshCommandType_h
 
typedef NS_ENUM(NSUInteger, TYBLEMeshCommandType) {
    
    /// Modify device address.
    TYBLEMeshSetDeviceAddressCommand = 0xAA,
    
    /// Group operations, such as adding, deleting, and adding devices to a group.
    TYBLEMeshGroupHandlingCommand,
    
    /// Get the address of the device group.
    TYBLEMeshFetchGroupAddressCommand,
    
    /// Kick the device out of the network.
    TYBLEMeshKickedOutCommand,
    
    /// Get the ID of all devices in the group.
    TYBLEMeshFetchAllDeviceIdFromGroupCommand,
    
    /// Request auth key.
    TYBLEMeshRequestAuthKeyCommand,
    
    /// Switch command.
    TYBLEMeshTurnOnAndOffCommand,
    
    /// Get status of all devices in mesh.
    TYBLEMeshFetchAllStateCommand,
    
    /// Set brightness value.
    TYBLEMeshSetBrightnessValueCommand,
    
    /// Set RGBWCL value.
    TYBLEMeshSetRGBWCLCommand,
    
    /// Set the light on mode, color light / white light.
    TYBLEMeshSetLightModelCommand,
    
    /// Control sub row insertion.
    TYBLEMeshControlSubSwitchCommand,
    
    /// Set countdown.
    TYBLEMeshSetCountDownCommand,
    
    /// Read countdown.
    TYBLEMeshFetchCountDownCommand,
    
    /// Read sensor value.
    TYBLEMeshFetchSensorValueCommand,
    
    /// Send DP point.
    TYBLEMeshSendDPSCommand,
    
    /// Gets one or two states.
    TYBLEMeshFetchStateCommand,
    
    /// Modify the current mesh light scene mode data.
    TYBLEMeshSetLightSceneModelCommand,
    
    /// Get the current mesh light scene mode data.
    TYBLEMeshGetLightSceneModelCommand,
    
    /// time synchronization.
    TYBLEMeshTimeSynchronizationCommand,
    
    /// Setting timing.
    TYBLEMeshSetTimerCommand,
    
    /// Read timing.
    TYBLEMeshGetTimerCommand,
    
};
 
#endif /* TYBLEMeshCommandType_h */