Good afternoon. I have four esp32-c6 boards. I tried to create a centralized network through the example cli (the code is given below), so that later I could connect to it with the remaining three, but I can't do it. Any idea why?
ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0xc (SW_CPU),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x4001975a
SPIWP:0xee
mode:DIO, clock div:2
load:0x4086c410,len:0xb58
load:0x4086e610,len:0x2b5c
load:0x40875728,len:0x12e8
entry 0x4086c410
I (288) cpu_start: Unicore app
I (289) cpu_start: Pro cpu up.
W (299) clk: esp_perip_clk_init() has not been implemented yet
I (305) cpu_start: Pro cpu start user code
I (305) cpu_start: cpu freq: 160000000 Hz
I (305) cpu_start: Application information:
I (308) cpu_start: Project name: cli
I (313) cpu_start: App version: 1
I (317) cpu_start: Compile time: May 21 2024 15:06:21
I (323) cpu_start: ELF file SHA256: d131d97e62be8d49...
I (329) cpu_start: ESP-IDF: v5.1.1
I (334) cpu_start: Min chip rev: v0.0
I (339) cpu_start: Max chip rev: v0.99
I (344) cpu_start: Chip rev: v0.0
I (348) heap_init: Initializing. RAM available for dynamic allocation:
I (356) heap_init: At 40814A00 len 00067C10 (415 KiB): D/IRAM
I (362) heap_init: At 4087C610 len 00002F54 (11 KiB): STACK/DIRAM
I (369) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM
I (376) spi_flash: detected chip: generic
I (380) spi_flash: flash io: dio
W (384) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (397) sleep: Configure to isolate all GPIO pins in sleep state
I (404) sleep: Enable automatic switching of GPIO sleep configuration
I (411) coexist: coex firmware version: 80b0d89
I (416) coexist: coexist rom version 5b8dcfa
I (421) app_start: Starting scheduler on CPU0
I (426) main_task: Started on CPU0
I (426) main_task: Calling app_main()
I (436) Zigbee CLI: Command history disabled
Type 'help' to get the list of commands.
Use UP/DOWN arrows to navigate through command history.
Press TAB when typing command name to auto-complete.
I (556) phy_init: phy_version 202,b4b3263,May 17 2023,20:14:14
I (596) phy: libbtbb version: b684fcb, May 17 2023, 20:14:35
I (606) main_task: Returned from app_main()
> bdb -r zr
I (45956) : Router role set
> bdb -c 11
I (84516) : Setting channel to 11
> bdb -t get
I (89866) : Centralized network
I (89866) : Done
> bdb -t c
I (99226) : Set centralized network
I (99226) : Done
> bdb -h 0x00000800 0x00000000
E (212876) : Bitmask invalid
I (212876) : Failed
> bdb -h 0x00000800
I (232156) : Set primary channel: 0x00000800
I (232156) : Done
> bdb -s
I (263156) : Started router
I (263166) : Done
I (263176) ESP_ZB_CLI: ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
I (263176) ESP_ZB_CLI: Zigbee stack startup
> bdb -a init
I (268686) : Done
I (268696) ESP_ZB_CLI: Device started up in factory-reset mode
> bdb -a help
I (272386) :
init: network initialized
steering: network steering
form: network formation
binding: finding N binding
initiator: touchlink initiator commissioning
target: touchlink target commissioning
I (272396) : Done
> bdb -a form
I (277236) : Done
I (277246) ESP_ZB_CLI: Formed network successfully (Extended PAN ID: 00:00:00:00:00:00:00:00, PAN ID: 0xffff, Channel:255, Short Address: 0xfffe)
I (277256) ESP_ZB_CLI: Join or form centralized network
E (277256) ESP_ZIGBEE_CORE: Device not in a network, failed to open network
Formation of a centralized network zigbee
-
- Posts: 5
- Joined: Sat Nov 18, 2023 12:44 pm
-
- Posts: 5
- Joined: Sat Nov 18, 2023 12:44 pm
Re: Formation of a centralized network zigbee
It turned out to create a network! It is not possible to join the centralized network.
Coordinator:
>
> bdb -r zc
I (7636) : Coordinator role set
> bdb -t c
I (23866) : Set centralized network
I (23866) : Done
> bdb -c 11
I (35326) : Setting channel to 11
> bdb -h 0x00000800
I (53026) : Set primary channel: 0x00000800
I (53026) : Done
> bdb -s
I (87026) : Started coordinator
I (87036) : Done
I (87046) ESP_ZB_CLI: ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
I (87046) ESP_ZB_CLI: Zigbee stack startup
> bdb -i init
> bdb -a init
I (100086) : Done
I (100096) ESP_ZB_CLI: Device started up in factory-reset mode
> bdb -a form
I (110196) : Done
> W (110356) ESP_ZB_CLI: Network(0xb78d) closed, devices joining not allowed.
I (110356) ESP_ZB_CLI: Formed network successfully (Extended PAN ID: 40:4c:ca:ff:fe:4d:c7:80, PAN ID: 0xb78d, Channel:11, Short Address: 0x0000)
I (110366) ESP_ZB_CLI: Join or form centralized network
I (111116) ESP_ZB_CLI: Network(0xb78d) is open for 180 seconds
Target:
> bdb -r zr
I (10156) : Router role set
> bdb -t c
I (20616) : Set centralized network
I (20616) : Done
> bdb -p b78d
I (33726) : set panid: 0xb78d
> bdb -e 404ccafffe4dc780
I (43086) : set extpanid: 0x404ccafffe4dc780
> bdb -c 11
I (55536) : Setting channel to 11
> bdb -h 0x00000800
I (64936) : Set primary channel: 0x00000800
I (64936) : Done
> tlk -t 60
I (76136) : Duration: 60 seconds
I (76136) : Done
>
> bdb -s
I (88696) : Started router
I (88716) : Done
I (88726) ESP_ZB_CLI: ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
I (88726) ESP_ZB_CLI: Zigbee stack startup
> bab -a init
Unrecognized command
> bdb -a init
I (106586) : Done
I (106596) ESP_ZB_CLI: Device started up in factory-reset mode
>
> bdb -a target
I (131956) : Done
I (131966) ESP_ZB_CLI: Touchlink target is ready, awaiting commissioning
Coordinator:
>
> bdb -r zc
I (7636) : Coordinator role set
> bdb -t c
I (23866) : Set centralized network
I (23866) : Done
> bdb -c 11
I (35326) : Setting channel to 11
> bdb -h 0x00000800
I (53026) : Set primary channel: 0x00000800
I (53026) : Done
> bdb -s
I (87026) : Started coordinator
I (87036) : Done
I (87046) ESP_ZB_CLI: ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
I (87046) ESP_ZB_CLI: Zigbee stack startup
> bdb -i init
> bdb -a init
I (100086) : Done
I (100096) ESP_ZB_CLI: Device started up in factory-reset mode
> bdb -a form
I (110196) : Done
> W (110356) ESP_ZB_CLI: Network(0xb78d) closed, devices joining not allowed.
I (110356) ESP_ZB_CLI: Formed network successfully (Extended PAN ID: 40:4c:ca:ff:fe:4d:c7:80, PAN ID: 0xb78d, Channel:11, Short Address: 0x0000)
I (110366) ESP_ZB_CLI: Join or form centralized network
I (111116) ESP_ZB_CLI: Network(0xb78d) is open for 180 seconds
Target:
> bdb -r zr
I (10156) : Router role set
> bdb -t c
I (20616) : Set centralized network
I (20616) : Done
> bdb -p b78d
I (33726) : set panid: 0xb78d
> bdb -e 404ccafffe4dc780
I (43086) : set extpanid: 0x404ccafffe4dc780
> bdb -c 11
I (55536) : Setting channel to 11
> bdb -h 0x00000800
I (64936) : Set primary channel: 0x00000800
I (64936) : Done
> tlk -t 60
I (76136) : Duration: 60 seconds
I (76136) : Done
>
> bdb -s
I (88696) : Started router
I (88716) : Done
I (88726) ESP_ZB_CLI: ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
I (88726) ESP_ZB_CLI: Zigbee stack startup
> bab -a init
Unrecognized command
> bdb -a init
I (106586) : Done
I (106596) ESP_ZB_CLI: Device started up in factory-reset mode
>
> bdb -a target
I (131956) : Done
I (131966) ESP_ZB_CLI: Touchlink target is ready, awaiting commissioning
Who is online
Users browsing this forum: No registered users and 86 guests