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: content/hardware/03.nano/boards/nano-matter/tutorials/user-manual/content.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -827,9 +827,9 @@ With this done, Home Assistant should be forwarding the Nano Matter sensor data
827
827
828
828
## Bluetooth® Low Energy
829
829
830
-
### Silicon Labs BLE
830
+
### Silicon Labs BLE Library
831
831
832
-
To enable Bluetooth® Low Energy communication on the Nano Matter, you must enable the "BLE" protocol stack in the Arduino IDE board configurations.
832
+
To enable Bluetooth® Low Energy communication on the Nano Matter, you must enable the "BLE" protocol stack in the Arduino IDE board configurations. In this section we will use the official Silabs Bluetooth library.
833
833
834
834
In the upper menu, navigate to **Tools > Protocol stack** and select **BLE(Silabs)**.
835
835
@@ -1171,7 +1171,7 @@ The `ble_initialize_gatt_db()` function is responsible for:
1171
1171
1172
1172
***Note that if you want to implement a different or custom Bluetooth® Low Energy service or characteristic, the UUID arrays have to start with the least significant bit (LSB) from left to right.***
1173
1173
1174
-
After uploading the sketch to the Nano Matter, it is time to communicate with it via Bluetooth® Low Energy. For this, Silicon Labs has developed a **mobile app** that you can download from here:
1174
+
After uploading the sketch to the Nano Matter, it is time to communicate with it via Bluetooth® Low Energy. To do this Silicon Labs has developed a **mobile app** that you can download from here:
As you can see, using the `ArduinoBLE` library makes everything easier and cleaner. We end up with a simple `setup()` and `loop()` sketch.
1300
+
As you can see, using the `ArduinoBLE` library makes the Bluetooth example more similar to the Bluetooth implementation of other Arduino boards, making it easier to migrate code from one board to another. We end up with a simple `setup()` and `loop()` sketch.
1299
1301
1300
1302
- In the `setup()` function the board outputs and inputs are set and configured alongside the BLE service and characteristics.
1301
1303
- In the `loop()` function we continuously ask if the peripheral is properly connected to a central and then start notifying the push button status and retrieving the app LED status.
1302
1304
1303
-
After uploading the sketch to the Nano Matter, it is time to communicate with it via Bluetooth® Low Energy. For this, Silicon Labs has developed a **mobile app** that you can download from here:
1305
+
After uploading the sketch to the Nano Matter, it is time to communicate with it via Bluetooth® Low Energy. To do this Silicon Labs has developed a **mobile app** that you can download from here:
0 commit comments