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:
3737
3838You can modify the state names and configurations by changing the following variables:
3939- ` 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 ` ,
4141` ZB_MULTISTATE_APPLICATION_TYPE_X_NUM_STATES ` , ` ZB_MULTISTATE_APPLICATION_TYPE_X_INDEX `
4242- Device descriptions and application types in the setup() function
4343
@@ -46,8 +46,8 @@ You can modify the state names and configurations by changing the following vari
4646To get more information about the Espressif boards see [ Espressif Development Kits] ( https://www.espressif.com/en/products/devkits ) .
4747
4848* 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 `
5151* Select the COM port: ` Tools -> Port: xxx ` where the ` xxx ` is the detected COM port.
5252* Optional: Set debug level to verbose to see all logs from Zigbee stack: ` Tools -> Core Debug Level: Verbose ` .
5353
Original file line number Diff line number Diff line change @@ -80,14 +80,17 @@ void onStateChangeCustom(uint16_t state) {
8080 Serial.println (" On" );
8181 break ;
8282 case 2 :
83- Serial.println (" Slow " );
83+ Serial.println (" UltraSlow " );
8484 break ;
8585 case 3 :
86- Serial.println (" Medium " );
86+ Serial.println (" Slow " );
8787 break ;
8888 case 4 :
8989 Serial.println (" Fast" );
9090 break ;
91+ case 5 :
92+ Serial.println (" SuperFast" );
93+ break ;
9194 default :
9295 Serial.println (" Invalid state" );
9396 break ;
Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ zb_cmd_type_t KEYWORD1
5656
5757# ZigbeeCore
5858begin KEYWORD2
59+ start KEYWORD2
60+ stop KEYWORD2
5961started KEYWORD2
6062connected KEYWORD2
6163getRole KEYWORD2
@@ -241,9 +243,9 @@ setMultistateInputStates KEYWORD2
241243setMultistateOutputApplication KEYWORD2
242244setMultistateOutputDescription KEYWORD2
243245setMultistateOutputStates KEYWORD2
244- getMultistateInputStateNames KEYWORD2
246+ # getMultistateInputStateNames KEYWORD2
245247getMultistateInputStateNamesLength KEYWORD2
246- getMultistateOutputStateNames KEYWORD2
248+ # getMultistateOutputStateNames KEYWORD2
247249getMultistateOutputStateNamesLength KEYWORD2
248250
249251#######################################
You can’t perform that action at this time.
0 commit comments