File tree Expand file tree Collapse file tree 10 files changed +1174
-1162
lines changed
Expand file tree Collapse file tree 10 files changed +1174
-1162
lines changed Original file line number Diff line number Diff line change 5858 "zboss_api_aps.h" : " c" ,
5959 "esp_zigbee_zcl_command.h" : " c" ,
6060 "esp_zigbee_aps.h" : " c" ,
61- "zb_zcl_common.h" : " c"
61+ "zb_zcl_common.h" : " c" ,
62+ "tools.h" : " c" ,
63+ "freertos.h" : " c" ,
64+ "zigbee.h" : " c"
6265 },
6366 "editor.formatOnSave" : true ,
6467 "idf.port" : " /dev/tty.usbmodemflip_Elevlox1" ,
Original file line number Diff line number Diff line change 1515#define OTA_UPGRADE_HW_VERSION 0x0101 /* The parameter indicates the version of hardware */
1616#define OTA_UPGRADE_MAX_DATA_SIZE 64 /* The parameter indicates the maximum data size of query block image */
1717
18+ #define MAX_CHILDREN 10 /* the max amount of connected devices */
19+ #define INSTALLCODE_POLICY_ENABLE false /* enable the install code policy for security */
20+ #define ESP_ZB_PRIMARY_CHANNEL_MASK ESP_ZB_TRANSCEIVER_ALL_CHANNELS_MASK /* Zigbee primary channel mask use in the example */
21+
1822#define HW_MANUFACTURER "xyzroe" /* The parameter indicates the manufacturer of the device */
1923#define HW_MODEL "ZigUSB_C6" /* The parameter indicates the model of the device */
2024
2327#define EXT_LED_ENDPOINT 3 /* the endpoint number for the external LED */
2428#define INV_USB_ENDPOINT 4 /* the endpoint number for the USB switch (inverted logic) */
2529
26- #define OTA_FW_VERSION 0x0000013D /* The attribute indicates the version of the firmware */
27- #define FW_BUILD_DATE "20241018 " /* The parameter indicates the build date of the firmware */
30+ #define OTA_FW_VERSION 0x00000140 /* The attribute indicates the version of the firmware */
31+ #define FW_BUILD_DATE "20241021 " /* The parameter indicates the build date of the firmware */
2832
2933/* GPIO configuration */
3034#define BTN_GPIO_1 5 /* Button from v0.3 */
4650#define SHORT_PRESS_TIME 150 /* to toggle USB power */
4751#define UPDATE_ATTRIBUTE_INTERVAL 600000 /* 10 minutes to FORCE update all states */
4852#define WAIT_BEFORE_FIRST_UPDATE 15000 /* 15 seconds to wait before first update */
53+ #define DEBUG_TASK_INTERVAL 60000 /* Debug task interval */
4954
5055#endif // CONST_H
You can’t perform that action at this time.
0 commit comments