Skip to content

Commit 06d2cfd

Browse files
Bluetooth Applications v2.0.0 (#163)
1 parent 5cba423 commit 06d2cfd

File tree

239 files changed

+5164
-2748
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+5164
-2748
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313

1414
# Silicon Labs Bluetooth Applications #
1515

16+
[![Version Badge](https://img.shields.io/badge/-v2.0.0-green)](https://github.com/SiliconLabs/bluetooth_applications/releases)
17+
[![GSDK Badge](https://img.shields.io/badge/GSDK-v4.4.0-green)](https://github.com/SiliconLabs/gecko_sdk/releases)
18+
[![TPHD Version Badge](https://img.shields.io/badge/TPHD-v2.0.0+-green)](https://github.com/SiliconLabs/third_party_hw_drivers_extension/releases)
19+
![License badge](https://img.shields.io/badge/License-Zlib-green)
20+
1621
The Silicon Labs Bluetooth stack allows for a wide variety applications to be built on its foundation. This repo showcases some example applications using the Silicon Labs Bluetooth stack.
1722

1823
This repository provides both SLCP projects (as External Repositories) and SLS projects as standalone projects, which are configured for development boards.
@@ -75,14 +80,15 @@ This repository provides both SLCP projects (as External Repositories) and SLS p
7580
| 52 | Bluetooth - HID Tripwire | [Click Here](./bluetooth_hid_tripwire) |
7681
| 53 | Bluetooth - Ir Generator | [Click Here](./bluetooth_ir_generator) |
7782
| 54 | Bluetooth - BTHome v2 - Server Example | [Click Here](./bluetooth_bthome_v2_server/) |
78-
83+
| 55 | Bluetooth - HID Multiple Reports | [Click Here](./bluetooth_hid_multiple_reports/) |
84+
| 56 | Bluetooth - ESL Tag with E-Paper display 1,54inch 200x200 dots from Mikroe | [Click Here](./bluetooth_esl_tag_mikroe_eink154_e_paper_display) |
7985

8086
## Requirements ##
8187

8288
1. Silicon Labs EFR32 Development Kit
8389
2. Simplicity Studio 5
84-
3. Gecko SDK Suite 4.2.1, available via Simplicity Studio or [here](https://github.com/SiliconLabs/gecko_sdk)
85-
4. Third-Party Hardware Drivers extension, available [here](https://github.com/SiliconLabs/third_party_hw_drivers_extension)
90+
3. Compatible GSDK version that specified in each project's readme file. You can install it via Simplicity Studio or download it from our GitHub [gecko_sdk](https://github.com/SiliconLabs/gecko_sdk)
91+
4. Compatible Third-Party Hardware Drivers extension that also specified in each project's readme file, available [here](https://github.com/SiliconLabs/third_party_hw_drivers_extension)
8692

8793
## Working with Projects ##
8894

bluetooth_accelerometer_bma400/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ The following picture shows the system view of how it works.
1717

1818
## Gecko SDK Suite version ##
1919

20-
- GSDK v4.2.3
21-
- Third party hardware drivers extension v1.3.0
20+
- GSDK v4.4.0
21+
- [Third-Party Hardware Drivers v2.0.0.0](https://github.com/SiliconLabs/third_party_hw_drivers_extension)
2222

2323
## Hardware Required ##
2424

@@ -80,7 +80,7 @@ To test this application, you can either create a project based on an example pr
8080

8181
- Select the **CONFIGURATION TOOLS** tab and open the **Bluetooth GATT Configurator**.
8282

83-
- Find the Import button and import the attached [gatt_configuration.btconf](config/btconf/gatt_configuration.btconf) file.
83+
- Find the Import button and import the attached `config/gatt_configuration.btconf` file.
8484

8585
- Save the GATT configuration (ctrl-s).
8686

@@ -126,10 +126,10 @@ Follow the below steps to test the example:
126126

127127
4. Enable notify on the unknown characteristic. Try to move your kit in some direction and check the value.
128128

129-
![](image/unknown_service.png)
129+
![](image/unknown_service.png)
130130

131-
You can launch the Console that is integrated in Simplicity Studio or can use a third-party terminal tool like TeraTerm to receive the logs from the virtual COM port.
131+
5. You can launch the Console that is integrated in Simplicity Studio or can use a third-party terminal tool like TeraTerm to receive the logs from the virtual COM port.
132132

133-
![](image/console.png)
133+
![](image/console.png)
134134

135135
*Note*: The LED blinks once if the accelerometer initialization is successful. If the LED stays on, the initialization has been failed. The reason is typically wrong sensor I2C address (see "I2C ADD" resistors) or wrongly configured Click board mode (SPI-mode instead I2C) or if using some own ways to connect the sensor.

bluetooth_accelerometer_bma400/SimplicityStudio/bluetooth_accelerometer_bma400_i2c.slcp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ config_file:
6969

7070
sdk_extension:
7171
- id: third_party_hw_drivers
72-
version: 1.3.0
72+
version: 2.0.0
7373

7474
tag:
7575
- hardware:rf:band:2400
@@ -98,6 +98,6 @@ configuration:
9898

9999
ui_hints:
100100
highlight:
101-
- path: ../config/gatt_configuration.btconf
101+
- path: config/btconf/gatt_configuration.btconf
102102
- path: README.md
103103
focus: true

bluetooth_accelerometer_bma400/SimplicityStudio/bluetooth_accelerometer_bma400_spi.slcp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ config_file:
6969

7070
sdk_extension:
7171
- id: third_party_hw_drivers
72-
version: 1.3.0
72+
version: 2.0.0
7373

7474
tag:
7575
- hardware:rf:band:2400
@@ -98,6 +98,6 @@ configuration:
9898

9999
ui_hints:
100100
highlight:
101-
- path: ../config/gatt_configuration.btconf
101+
- path: config/btconf/gatt_configuration.btconf
102102
- path: README.md
103103
focus: true

bluetooth_ai_ml_hand_signal_recognition/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ The hand gestures:
2020

2121
## Gecko SDK Suite version ##
2222

23-
- GSDK v4.2.1
24-
- [Third Party Hardware Drivers v1.2.0](https://github.com/SiliconLabs/third_party_hw_drivers_extension)
23+
- GSDK v4.4.0
24+
- [Third Party Hardware Drivers v2.0.0](https://github.com/SiliconLabs/third_party_hw_drivers_extension)
2525

2626
## Hardware Required ##
2727

@@ -73,7 +73,6 @@ Listed below are the port and pin mappings for working with this example.
7373

7474
To test this application, you can either create a project based on an example project or start with a "Bluetooth - SoC Empty" project based on your hardware.
7575

76-
7776
**NOTE:**
7877

7978
- Make sure that the [SDK extension](https://github.com/SiliconLabs/third_party_hw_drivers_extension) is already installed and this repository is added to [Preferences > Simplicity Studio > External Repos](https://docs.silabs.com/simplicity-studio-5-users-guide/latest/ss-5-users-guide-about-the-launcher/welcome-and-device-tabs).

bluetooth_ai_ml_hand_signal_recognition/SimplicityStudio/bt_hand_signal_recognition.slcp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ toolchain_settings:
108108

109109
sdk_extension:
110110
- id: third_party_hw_drivers
111-
version: 1.2.0
111+
version: 2.0.0
112112

113113
other_file:
114114
- path: ../images/app_loop.png

bluetooth_ai_ml_hand_signal_recognition/inc/recognize_commands.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <cstdint>
2121

2222
#include "tensorflow/lite/c/common.h"
23-
#include "tensorflow/lite/micro/micro_error_reporter.h"
23+
#include "tensorflow/lite/micro/tflite_bridge/micro_error_reporter.h"
2424
#include "hand_signal_app.h"
2525

2626
#define MAX_RESULT_COUNT 32

bluetooth_ai_ml_hand_signal_recognition/src/hand_signal_app.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
#include "sl_sleeptimer.h"
3939

40-
#include "tensorflow/lite/micro/micro_error_reporter.h"
40+
#include "tensorflow/lite/micro/tflite_bridge/micro_error_reporter.h"
4141
#include "tensorflow/lite/micro/micro_interpreter.h"
4242
#include "tensorflow/lite/micro/micro_mutable_op_resolver.h"
4343
#include "tensorflow/lite/schema/schema_generated.h"

bluetooth_ai_ml_hand_signal_recognition/src/output_handler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void hand_signal_characteristic_status(sl_bt_msg_t *evt)
9090
{
9191
// Notification or Indication status changed for Hand signal
9292
if (evt->data.evt_gatt_server_characteristic_status.status_flags
93-
== gatt_server_client_config) {
93+
== sl_bt_gatt_server_client_config) {
9494
notifications_enabled
9595
= evt->data.evt_gatt_server_characteristic_status.client_config_flags;
9696
}

bluetooth_air_quality_monitor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ This code example referred to the following code examples. More detailed informa
2626

2727
## Gecko SDK version ##
2828

29-
- GSDK v4.3.1
30-
- [Third-Party Hardware Drivers v1.8.0](https://github.com/SiliconLabs/third_party_hw_drivers_extension)
29+
- GSDK v4.4.0
30+
- [Third-Party Hardware Drivers v2.0.0.0](https://github.com/SiliconLabs/third_party_hw_drivers_extension)
3131

3232
## Hardware Required ##
3333

0 commit comments

Comments
 (0)