- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to use the example Project "UART_to_BLE_peripheral" with an Android Device.
I've made the following steps:
- First I tested communication between central and peripheral (both implemented on the CYBLE-022001-00 available on board of CY8CKIT-145). Uart has been connected to Kitprog through the on board CY8C4045.
Everithing worked Fine.
- Then I disconnected central Devices and tried connection with a smartphone.
Connection was established
- I tried to send data from Android Device to peripheral CYBLE-022001-00
I was able to see data on an Teraterm connected to peripheral device.
- Finally I tried to send data back from peripheral device to Android Phone.
NO WAY!!!
I seems as Server_UART_Tx_Data characteristic cannot be read from the other peer (Android Devce)
Can You please Help?
Thanks,
Alfonso
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Tags:
- UART-BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alfonso,
Please ensure that you have enabled notifications on the characteristic of the peripheral device. Otherwise the notifications will fail.
Please find the attached project which I tried at my side and I am able to send characteristics from CySmart to the PSoC 4 BLE and from PSoC 4 BLE to CySmart application in the mobile after enabling the notifications.
Please check with the attached project once and update us.
Thanks
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alfonso,
Please ensure that you have enabled notifications on the characteristic of the peripheral device. Otherwise the notifications will fail.
Please find the attached project which I tried at my side and I am able to send characteristics from CySmart to the PSoC 4 BLE and from PSoC 4 BLE to CySmart application in the mobile after enabling the notifications.
Please check with the attached project once and update us.
Thanks
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ganesh,
Thanks for Your Reply,
I've one more question.
Enabling Notifications on the characteristic of the peripheral device is an action that must be performed on Central Side or on Peripheral Side?
Thanks,
Alfonso
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alfonso,
On Central Side, you have to send a write request to the peripheral that enables the notifications in the Client Characteristic configuration descriptor of the GATT database generally stored on the peripheral side.
Thanks
Ganesh