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
Copy file name to clipboardexpand all lines: examples/lighting-app/bouffalolab/README.md
+104-83
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# `Bouffalo Lab`
2
2
3
-
This example functions as a light bulb device type, with on/off and level capabilities and uses a test Vendor ID (VID) and a Product ID (PID)
3
+
This example functions as a light bulb device type, with on/off and level
4
+
capabilities and uses a test Vendor ID (VID) and a Product ID (PID)
4
5
of **0x8005**.
5
6
6
7
Current supported boards:
@@ -9,8 +10,10 @@ Current supported boards:
9
10
-`BL706DK`
10
11
-`BL704LDK`
11
12
12
-
Lagacy supported boards:
13
-
-`BL602-IoT-Matter-V1`, [here](https://www.amazon.com/dp/B0B9ZVGXD8) to purchase.
13
+
Legacy supported boards:
14
+
15
+
-`BL602-IoT-Matter-V1`, [here](https://www.amazon.com/dp/B0B9ZVGXD8) to
16
+
purchase.
14
17
-`BL602-NIGHT-LIGHT`
15
18
-`XT-ZB6-DevKit`
16
19
-`BL706-NIGHT-LIGHT`
@@ -28,26 +31,35 @@ BL602/BL604 is combo chip-set for Wi-Fi 802.11b/g/n and BLE 5.0 base-band/MAC.
28
31
29
32
BL70x is combo chip-set for BLE and IEEE 802.15.4/ZigBee/Thread.
30
33
31
-
- BL702/BL706 has 14dbm tx power and is recommended for routing devices. SDK uses BL702 as a general name.
32
-
- BL702L/BL704L is designed for low power application. SDK uses BL702L as a general name.
34
+
- BL702/BL706 has 14dbm tx power and is recommended for routing devices. SDK
35
+
uses BL702 as a general name.
36
+
- BL702L/BL704L is designed for low power application. SDK uses BL702L as a
37
+
general name.
33
38
34
-
BL70x has fully certified with all Thread 1.3 features, included Thread `SSED` and Thread Border Router.
39
+
BL70x has fully certified with all Thread 1.3 features, included Thread `SSED`
40
+
and Thread Border Router.
35
41
36
42
## Solutions introduction
37
43
38
44
`Bouffalo Lab` has full connectives support for Matter Applications.
39
45
40
-
- Wi-Fi 4/6 application, we have
41
-
- BL602, Wi-Fi 4 application.
42
-
- BL706 + BL602, Wi-Fi 4 application. BL602 runs as a normal WLAN transceiver; TCP/IP stack runs as BL706 side. We recommend this solution is for Openthread Border Router application and Matter ZigBee bridge.
- `-wifi`, to specify that connectivity Wi-Fi is enabled for Matter application.
115
+
- `-wifi`, to specify that connectivity Wi-Fi is enabled for Matter
116
+
application.
117
+
104
118
- BL602 uses `-wifi` by default
105
-
- BL702 needs specify to use BL706 + BL602 for Wi-Fi connectivity.
119
+
- BL702 needs specify to use BL706 + BL602 for Wi-Fi connectivity.
120
+
121
+
- `-thread`, to specify that connectivity Thread is enabled for Matter
122
+
application.
106
123
107
-
- `-thread`, to specify that connectivity Thread is enabled for Matter application.
108
124
- BL70X uses `-thread` by default.
109
125
110
-
- `-ethernet`, to specify that connectivity Ethernet is enabled for Matte application.
111
-
- BL706 needs specify to use Ethernet connectivity.
126
+
- `-ethernet`, to specify that connectivity Ethernet is enabled for Matte
127
+
application.
128
+
129
+
- BL706 needs specify to use Ethernet connectivity.
112
130
113
-
- `-littlefs`, to specify that littlefs is used for flash storage access.
114
-
- `-easyflash`, to specify that easyflash is used for flash storage access.
115
-
- for platform BL602/BL70X, it is necessary to specify one of `-easyflash` and `-littlefs` is used.
116
-
- for platform BL61X, `-littlefs` is used by default, and please specify `-easyflash` if you want to use easyflash.
117
-
- `-mfd`, enable Matter factory data feature, which load factory data from `MFD` partition
118
-
- Please refer to [Bouffalo Lab Matter factory data guide](../../../docs/guides/bouffalolab/matter_factory_data.md) or contact to `Bouffalo Lab` for support.
131
+
- `-easyflash`, to specify that `easyflash` is used for flash storage access.
132
+
- `-mfd`, enable Matter factory data feature, which load factory data from
133
+
`MFD` partition
119
134
- `-shell`, enable command line
120
135
- `-rpc`, enable Pigweed RPC feature
121
136
- `-115200`, set UART baudrate to 115200 for log and command line
122
-
- `-cdc`, enable USB CDC feature, only support for BL706, and can't work with Ethernet Board
137
+
- `-cdc`, enable USB CDC feature, only support for BL706, and can't work with
138
+
Ethernet Board
123
139
- `-resetCnt`, enable feature to do factory reset when continues power cycle
124
140
is greater than 3
125
-
- `-mot`, to specify to use openthread stack under `third_party/openthread/repo`
141
+
- `-mot`, to specify to use openthread stack under
142
+
`third_party/openthread/repo`
126
143
- Without `-mot` specified, Matter Thread will use openthread stack under
127
144
`Bouffalo Lab` SDK
128
145
- `-fp`, to specify to enable frame pointer feature to print call stack when
129
146
hit an exception for debug purpose.
130
147
131
148
## Download image
132
149
133
-
- Using script `*.flash.py`.
150
+
- Using script `*.flash.py`.
134
151
135
-
After building gets done, python script `*.flash.py` will generate under
136
-
build output folder, such as
152
+
After building gets done, python script `*.flash.py` will generate under
153
+
build output folder, such as
137
154
138
-
- `chip-bl602-lighting-example.flash.py` for BL602
139
-
- `chip-bl702-lighting-example.flash.py` for BL702
140
-
- `chip-bl702l-lighting-example.flash.py` for BL702L
155
+
- `chip-bl602-lighting-example.flash.py` for BL602
156
+
- `chip-bl702-lighting-example.flash.py` for BL702
157
+
- `chip-bl702l-lighting-example.flash.py` for BL702L
141
158
142
-
Download operation steps as below, please check `help` option of script for
143
-
more detail.
159
+
Download operation steps as below, please check `help` option of script for
160
+
more detail.
144
161
145
-
- Connect the board to your build machine
162
+
- Connect the board to your build machine
146
163
147
-
- Put the board to the download mode:
164
+
- Put the board to the download mode:
148
165
149
-
- Press and hold the **BOOT** button.
150
-
- Click the **RESET** or **EN** button.
151
-
- Release the **BOOT** button.
166
+
- Press and hold the **BOOT** button.
167
+
- Click the **RESET** or **EN** button.
168
+
- Release the **BOOT** button.
152
169
153
-
- Type following command for image download. Please set serial port
154
-
accordingly, here we use /dev/ttyACM0 as a serial port example.
170
+
- Type following command for image download. Please set serial port
171
+
accordingly, here we use /dev/ttyACM0 as a serial port example.
Script `*.flash.py` builds Bouffalo Lab bootable image and call [ota_image_tool.py](../../../docs/guides/openthread_border_router_pi.md) to add Matter recognition header. Take `BL602DK` as example.
304
+
Script `*.flash.py` builds `Bouffalo Lab` bootable image and call
305
+
[ota_image_tool.py](../../../docs/guides/openthread_border_router_pi.md) to add
306
+
Matter recognition header. Take `BL602DK` as example.
0 commit comments