- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using PSoC 6 Kit CYBLE-416045-02 and CySmart BLE Dongle CY5677 (which is based on PSoC 4200).
I used the code example here for PSoC 6 as GATT OUT (Data Sender)
and used Project #24 for CY5677 as GATT IN (Data Reciever). I select the address of PSoC 6 from the list
The throughput is always 0 kpbs. What do I need to change for the GATT OUT on the PSoC 6 to make the data transfer work correctly?
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The both the code examples you are referring to were aimed to two different code examples. So in order to use them you need to make some small changes. In PSoC 6 based GATT_OUT example, please make the flag char NotificationEnabled = true; in the CY_BLE_EVT_GATT_CONNECT_IND event. Otherwise the server expects it to happen in the CY_BLE_EVT_GATTS_WRITE_REQ event.
Please find the attached projects with the above modification. Use them at your side and see if you are able to get non-zero throughput.
Thanks
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The both the code examples you are referring to were aimed to two different code examples. So in order to use them you need to make some small changes. In PSoC 6 based GATT_OUT example, please make the flag char NotificationEnabled = true; in the CY_BLE_EVT_GATT_CONNECT_IND event. Otherwise the server expects it to happen in the CY_BLE_EVT_GATTS_WRITE_REQ event.
Please find the attached projects with the above modification. Use them at your side and see if you are able to get non-zero throughput.
Thanks
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks GaneshD_41 for your response. I was able to see non-zero numbers, however, only 128 kpbs? Isn't that too slow for BLE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In PSoC 6 project please remove the UART print statement just before sending the Notification packet in the SendNotification function().
Also, please note that the throughput measurement depends on the environment as well as the distance between the Client and the server devices.
Thanks
Ganesh