- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I have CY8CKIT-042-BLE PIONEER KIT and a Samsung with Android 8.0.
I want to turn on a LED (RGB LED) of CY8CKIT-042-BLE Pioneer Baseboard with a specific string (a word, like "hei" or "light"...)
through bluetooth from ANDROID 8.0.
Example: i send string like "light" from Android's OS and to the Pioneer Baseboard the blue led lights up (see the attached picture).
What i use:
- On Pioneer Baseboard i use PRoC BLE CYBL10563-56LQXI device.
- On Android's OS i use an app to communicate with PRoC BLE, called Serial Bluetooth Terminal (downloaded it from Play Store of Google).
- I use Central-Peripheral firmware (see the attached files), where Pioneer Baseboard is a peripheral and Samsung's Smartphone is a central.
- On the PC i use PSoC Creator 4.2 and Tera Term to emulate the serial port.
Anyone can help me?
Thanks,
Daniele
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Daniele,
Please refer to the attached project. When we write a string data "light" from the Android device then the blue LED will glow on the peripheral device.
In the CYBLE_EVT_GATTS_WRITE_CMD_REQ event please check the write values from the Client device and update it accordingly.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Daniele,
Please refer to the attached project. When we write a string data "light" from the Android device then the blue LED will glow on the peripheral device.
In the CYBLE_EVT_GATTS_WRITE_CMD_REQ event please check the write values from the Client device and update it accordingly.
Thanks,
P Yugandhar.