More Demos and Examples#
Because starting application development from scratch is difficult, the Bluetooth SDK comes with a number of built-in demos and examples covering the most frequent use cases, as shown in the following figure. Demos are pre-built application images that you can run immediately. Software examples (example projects) can be modified before building the application image. See Getting Started with Application Development for more information about configuring and customizing examples.
Demos with the same name as examples are built from their respective example. Click View Project Documentation to see additional information about some examples. This is also displayed on a readme tab when you create a project based on the example.
Use the Demos and Example Projects switches to filter on only examples or only demos. Demos are also noted by the blue Demo tag in the upper left of the card. The Solution Examples are primarily for use with multiprotocol applications.
Note: The demos and examples you see are determined by the part selected. If you are using a custom solution with more than one part, click on the part you are working with to see only the items applicable to that part.
Demo and Example Descriptions#
The following examples are provided as part of the Bluetooth SDK. Examples with (*) in their names have a matching pre-built demo.
Silicon Labs Gecko Bootloader Examples#
See UG266: Silicon Labs Gecko Bootloader User’s Guide for GSDK 3.2 and Lower or UG489: Silicon Labs Gecko Bootloader User’s Guide for GSDK 4.0 and Higher, and AN1086: Using the Gecko Bootloader with Silicon Labs Bluetooth Applications.
Bluetooth Examples#
Bluetooth – RCP(*): Radio Co-Processor (RCP) target application. Runs the Bluetooth Controller (i.e. the Link Layer only) and provides access to it using the standard HCI (Host-Controller Interface) over a UART connection.
Bluetooth – RCP CPC(*): Radio Co-Processor (RCP) target application. Runs the Bluetooth Controller (i.e. the Link Layer only) and provides access to it using the standard HCI (Host-Controller Interface) over CPC (Co-Processor Communication) protocol through a UART connection.
Bluetooth – NCP(*): Network Co-Processor (NCP) target application. Runs the Bluetooth stack dynamically and provides access to it via the Bluetooth API (BGAPI) using a UART connection. NCP mode makes it possible to run your application on a host controller or PC.
Bluetooth – NCP Host: Reference implementation of an NCP (Network Co-Processor) host, which typically runs on a central MCU without radio. It can connect to an NCP target via UART to access the Bluetooth stack of the target and to control it using BGAPI.
Bluetooth AoA – NCP Locator(*): Network Co-Processor (NCP) target application extended with CTE Receiver support. It enables Angle of Arrival (AoA) calculation. Use this application with Direction Finding host examples.
Bluetooth AoA –Asset Tag(*): Demonstrates a CTE (Constant Tone Extension) transmitter that can be used as an asset tag in a Direction Finding setup estimating Angle of Arrival (AoA).
Bluetooth – SoC Application OTA DFU: A minimal project structure that serves as a starting point for custom Bluetooth applications providing Over-the-Air device firmware update in the user application runtime.
Bluetooth – SoC Application OTA DFU FreeRTOS: Demonstrates the integration of FreeRTOS into Bluetooth applications. RTOS is added to the Bluetooth - SoC Application OTA DFU sample application that realizes over-the-air device firmware updates in user application scope.
Bluetooth – SoC Application OTA DFU MicriumOS: Demonstrates the integration of MicriumOS into Bluetooth applications. RTOS is added to the Bluetooth - SoC Application OTA DFU sample application that realizes over-the-air device firmware updates in user application scope.
Bluetooth – SoC Blinky(*): The classic blinky example using Bluetooth communication. Demonstrates a simple two-way data exchange over GATT. This can be tested with the EFR Connect mobile app.
Bluetooth – SoC Certificate-Based Authentication and Pairing: Demonstrates Certificate-Based Authentication and Pairing over Bluetooth LE.
Bluetooth – SoC CSR Generator: Certificate-generating firmware example. Software generates the device EC key pair, the signing request for the device certificate, and other related data. The generated data can be read out by the Central Authority. See Bluetooth – SoC Certificate Based Authentication and Pairing.
Bluetooth – SoC DTM: This example implements the direct test mode (DTM) application for radio testing. DTM commands can be called via UART. See AN1267: Radio Frequency Physical Layer Evaluation in Bluetooth® SDK v3.x for more information.
Bluetooth – SoC Empty: A minimal project structure that serves as a starting point for custom Bluetooth applications. The application starts advertising after boot and restarts advertising after a connection is closed.
Bluetooth – SoC Interoperability Test(*): A test procedure containing several test cases for Bluetooth Low Energy communication. This sample app (also provided as a demo) is meant to be used with the EFR Connect mobile app, through the "Interoperability Test" tile on the Develop view of the app.
Bluetooth – SoC Thermometer(*): Implements a GATT Server with the Health Thermometer Profile, which enables a Client device to connect and get temperature data. Temperature is rea