プロジェクト番号006: Bluetooth Low Energy Central with Immediate Alert Service | サイプレス セミコンダクタ
プロジェクト番号006: Bluetooth Low Energy Central with Immediate Alert Service
In previous examples we've used the Bluetooth Low Energy Pioneer Kit as a GAP Peripheral device, that will connect to a mobile phone or the CySmart USB Dongle acting as the GAP Central device.
In today's project, we demonstrate how to use the BLE Pioneer Kit to implement a Bluetooth Low Energy GAP Central device. This is useful for cases where the end-application does not connect to a mobile phone, but instead to another embedded controller with Bluetooth Low Energy.
Accordingly, the respective GAP roles are also reversed - the Bluetooth Low Energy Pioneer Kit now acts as the GATT Client, whereas the CySmart USB Dongle acts as the GATT Server.
The project implements a GAP Central device running the Immediate Alert Service. It can write the Alert Level Characteristic to a Peripheral device. Pressing a button on the kit will cause it to connect to the dongle, and the LED on the kit turns to Blue to indicate a successful connection.
One way to think about this project is that its similar to the example in Project #001: BLE Find Me, but with the roles on kit and the dongle reversed.
You can download this PSoC Creator project along with a detailed PDF from GitHub here: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day006_Central_IAS