File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed
examples/Zigbee_Multistate_Input_Output Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ The example creates two multistate devices:
37
37
38
38
You can modify the state names and configurations by changing the following variables:
39
39
- ` multistate_custom_state_names[] ` : Array of custom state names
40
- - Application type and lenght macros: ` ZB_MULTISTATE_APPLICATION_TYPE_X_STATE_NAMES ` ,
40
+ - Application type and length macros: ` ZB_MULTISTATE_APPLICATION_TYPE_X_STATE_NAMES ` ,
41
41
` ZB_MULTISTATE_APPLICATION_TYPE_X_NUM_STATES ` , ` ZB_MULTISTATE_APPLICATION_TYPE_X_INDEX `
42
42
- Device descriptions and application types in the setup() function
43
43
@@ -46,8 +46,8 @@ You can modify the state names and configurations by changing the following vari
46
46
To get more information about the Espressif boards see [ Espressif Development Kits] ( https://www.espressif.com/en/products/devkits ) .
47
47
48
48
* Before Compile/Verify, select the correct board: ` Tools -> Board ` .
49
- * Select the End device Zigbee mode: ` Tools -> Zigbee mode: Zigbee ED (end device ) `
50
- * Select Partition Scheme for Zigbee: ` Tools -> Partition Scheme: Zigbee 4MB with spiffs `
49
+ * Select the Coordinator/Router Zigbee mode: ` Tools -> Zigbee mode: Zigbee ZCZR (coordinator/router ) `
50
+ * Select Partition Scheme for Zigbee: ` Tools -> Partition Scheme: Zigbee ZCZR 4MB with spiffs `
51
51
* Select the COM port: ` Tools -> Port: xxx ` where the ` xxx ` is the detected COM port.
52
52
* Optional: Set debug level to verbose to see all logs from Zigbee stack: ` Tools -> Core Debug Level: Verbose ` .
53
53
Original file line number Diff line number Diff line change @@ -80,14 +80,17 @@ void onStateChangeCustom(uint16_t state) {
80
80
Serial.println (" On" );
81
81
break ;
82
82
case 2 :
83
- Serial.println (" Slow " );
83
+ Serial.println (" UltraSlow " );
84
84
break ;
85
85
case 3 :
86
- Serial.println (" Medium " );
86
+ Serial.println (" Slow " );
87
87
break ;
88
88
case 4 :
89
89
Serial.println (" Fast" );
90
90
break ;
91
+ case 5 :
92
+ Serial.println (" SuperFast" );
93
+ break ;
91
94
default :
92
95
Serial.println (" Invalid state" );
93
96
break ;
Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ zb_cmd_type_t KEYWORD1
56
56
57
57
# ZigbeeCore
58
58
begin KEYWORD2
59
+ start KEYWORD2
60
+ stop KEYWORD2
59
61
started KEYWORD2
60
62
connected KEYWORD2
61
63
getRole KEYWORD2
@@ -241,9 +243,9 @@ setMultistateInputStates KEYWORD2
241
243
setMultistateOutputApplication KEYWORD2
242
244
setMultistateOutputDescription KEYWORD2
243
245
setMultistateOutputStates KEYWORD2
244
- getMultistateInputStateNames KEYWORD2
246
+ # getMultistateInputStateNames KEYWORD2
245
247
getMultistateInputStateNamesLength KEYWORD2
246
- getMultistateOutputStateNames KEYWORD2
248
+ # getMultistateOutputStateNames KEYWORD2
247
249
getMultistateOutputStateNamesLength KEYWORD2
248
250
249
251
#######################################
You can’t perform that action at this time.
0 commit comments