You are here

Bluetooth SDK Code Examples | サイプレス セミコンダクタ

Bluetooth SDK Code Examples

最終更新日: 
2020 年 10 月 20 日

Bluetooth SDK v2.8 is now available and changes how code examples are delivered. Examples are now delivered individually via GitHub repositories, rather than as collections of related examples. To see examples available for each kit, use the Project Creator, select your kit to see available examples.

If you are using an older version of the Bluetooth SDK, read on.


Most examples are organized by kit and by application group. Each kit supports some subset of the application groups, depending on kit features. There are multiple examples in each group. For detailed information on the specific examples in each group, see the BT SDK Technical Brief on the Cypress Developer Community. There are some additional Bluetooth SDK examples that are not part of a group.

Use the ModusToolbox IDE New Application wizard to create these examples.

See other ModusToolbox Software code examples.

Code Examples by Kit

CYW920706WCDEVAL CYW920719B2Q40EVB-01 CYW920819EVB-02 CYW920819REF-KB-01
CYW920721B2EVK-01 CYW920721B2EVK-02 CYW920721B2EVK-03 CYW989820EVB-01
CYW920820EVB-02 CYBT-213043-EVAL CYBT-213043-MESH CYBT-353027-EVAL

Code Examples by Application Group (lists each kit that supports the group of examples)

Application Group 説明
Mesh Network Demonstrates implementation of BLE Mesh Models.
Mesh Snippets Each app demonstrates the use of one SIG BLE mesh model.
Bluetooth Low Energy Demonstrates BLE protocols and functionality.
Over-the-Air Demonstrates Over-the-Air firmware updates.
Human Interface Devices Demonstrates Human Interface Devices, like a keyboard.
RFComm Demonstrates use of Bluetooth RFCOMM profiles.
Hardware Abstraction Layer Demonstrates the HAL.
Empty Contains an empty starter application, a starting point for adding new code and functionality.

Additional Bluetooth SDK Examples

タイトル 説明
mtb-example-btsdk-motion-sensor This example demonstrates using the motion sensor with the CYW208xx and CYW207xx devices using ModusToolbox IDE.
mtb-example-btsdk-cyw208xx-data-logger This code example includes two applications that demonstrate the operation of multiple Serial Peripheral Interface (SPI) interfaces using the CYW208XX Bluetooth SoC and ModusToolbox™.
mtb-example-btsdk-peripheral-privacy This code example demonstrates the privacy features available to users in Bluetooth 5.0 and above using ModusToolbox™ Software.
mtb-example-btsdk-ble-throughput This code example demonstrates the maximum BLE throughput (using GATT layer notifications and writes) that can be obtained with Cypress Bluetooth devices (CYW208xx and CYW207xx) using ModusToolbox™ IDE.
mtb-example-btsdk-cyw20719b2-spi This code example includes two applications that demonstrate the operation of Serial Peripheral Interface (SPI) interface using the CYW20719B2 Bluetooth SoC and ModusToolbox™ IDE.
mtb-example-btsdk-pwm-gpio This Code Example demonstrates the configuration of PWM (pulse width modulation) to control the brightness of an LED, and configuration of GPIO to toggle an LED ON and OFF using Eclipse IDE for ModusToolbox. This application also demonstrates how to the invert PWM signals which would be helpful for applications such as motor speed and direction control.
mtb-example-btsdk-cyw208xx-keyboard-scanner This code example demonstrates the dedicated keyscan hardware which processes key press events from LHL GPIOs without interrupting the CPU core. This code example also demonstrates low power entry when the system is idle (no activity/keypress) and wakes up when there is key press.
mtb-example-btsdk-sensorhub This code example demonstrates the interfacing of Multiple sensors, Motion, Temperature, and 3D magnetic sensor with CYW208xx and CYW207xx devices and sends the data over GATT custom service.
mtb-example-btsdk-cyw208xx-data-logger This code example includes two applications that demonstrate the operation of multiple Serial Peripheral Interface (SPI) interfaces using the CYW208XX Bluetooth SoC and ModusToolbox™.
mtb-example-btsdk-peripheral-privacy This code example demonstrates the privacy features available to users in Bluetooth 5.0 and above using ModusToolbox™ Software.