You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example could also run on a single SoC which supports both Wi-Fi and Zigbee (e.g., ESP32-C6), but since there is only one RF path in ESP32-C6, which means Wi-Fi and Zigbee can't receive simultaneously, it has a significant impact on performance. Hence the two SoCs solution is recommended.
30
30
31
+
## Configure the RCP
32
+
33
+
The `OPENTHREAD_NCP_VENDOR_HOOK` of `ot_rcp` should be selected via menuconfig when the [ot_rcp](../../openthread/ot_rcp/) example is built. Then use `idf.py -p PORT erase-flash` to flash the RCP firmware to ESP32-H2-DevKitC.
34
+
31
35
## Configure the project
32
36
33
37
Before project configuration and build, make sure to set the correct chip target using `idf.py set-target <chip_name>`.
@@ -50,19 +54,80 @@ As you run the example, you will see the following log:
50
54
51
55
esp_zigbee_gateway:
52
56
```
53
-
I (660) ESP_ZB_GATEWAY: status: -1
54
-
I (670) ESP_ZB_GATEWAY: Zigbee stack initialized
55
-
I (680) ESP_ZB_GATEWAY: Zigbee rcp device booted
56
-
I (1280) ESP_ZB_GATEWAY: Start network formation
57
-
I (3060) ESP_ZB_GATEWAY: Formed network successfully (Extended PAN ID: f9:54:2d:01:a0:03:f7:84, PAN ID: 0x8651, Channel:13, Short Address: 0x0000)
58
-
I (4060) ESP_ZB_GATEWAY: status: 0
59
-
I (4400) ESP_ZB_GATEWAY: Network steering started
57
+
I (499) main_task: Calling app_main()
58
+
I (519) ESP_RADIO_SPINEL: spinel UART interface initialization completed
59
+
I (519) ESP_RADIO_SPINEL: Spinel UART interface has been successfully enabled
60
+
I (519) ZB_ESP_SPINEL: Spinel UART interface enable successfully
I (5509) example_common: Connected to example_netif_sta
114
+
I (5519) example_common: - IPv4 address: 192.168.200.133,
115
+
I (5519) example_common: - IPv6 address: fe80:0000:0000:0000:f612:faff:fe41:a7f4, type: ESP_IP6_ADDR_IS_LINK_LOCAL
116
+
I (5529) wifi:Set ps type: 0, coexist: 0
117
+
118
+
I (5539) ESP_ZB_GATEWAY: Initialize Zigbee stack
119
+
I (5549) ESP_ZB_GATEWAY: Device started up in factory-reset mode
120
+
I (5549) ESP_ZB_GATEWAY: Start network formation
121
+
W (5729) ESP_ZB_GATEWAY: Network(0xb8e9) closed, devices joining not allowed.
122
+
I (5729) ESP_ZB_GATEWAY: Formed network successfully (Extended PAN ID: 60:55:f9:ff:fe:f7:73:e8, PAN ID: 0xb8e9, Channel:13, Short Address: 0x0000)
123
+
I (6339) ESP_ZB_GATEWAY: Network(0xb8e9) is open for 180 seconds
124
+
I (6339) ESP_ZB_GATEWAY: Network steering started
60
125
```
61
126
62
127
## Gateway Functions
63
128
64
-
*After Zigbee gateway starts up, it will read MAC ieee address and Zigbee stack version number from the Zigbee rcp and start working together with Zigbee rcp via UART communication to form a Zigbee network
65
-
*More Gateway functionalities supporting Wi-Fi interaction will come later
129
+
*When the device starts up, it will attempt to connect to a Wi-Fi network and then interface with the OT-RCP via UART to form a Zigbee network.
130
+
*For more Gateway functionalities, please refer to [matter zigbee bridge](https://github.com/espressif/esp-matter/tree/main/examples/bridge_apps/zigbee_bridge/) and [Rainmaker Zigbee Gateway](https://github.com/espressif/esp-rainmaker/tree/master/examples/zigbee_gateway) examples.
0 commit comments