- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am configuring the GATT settings in the PSoC creator (BLE component).
I set the "Artibute MTU size (bytes)" to be 512. At the same time, I made a custom service that is containing 7 custom characteristics, as shown in the following figure.
My question is: is it Ok to set the field length of each characteristic to be 500? Because the Attribute MTU size is set to be 512. Seven characteristics with 500 bytes each will be 3500 bytes in total, which is larger than the Attribute MTU size.
When I set it as 500, and build the project, the PSoC Creator shows the project is successfully built. However, the BLE stack seems stuck during running (sending notifications).
Thank you very much for your kindly help!
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Jiabin
Please let me know how you are accessing the seven characteristics at a time or connected to seven different device at a time. Please can you give us more details??.Also please can you go through the BLE component datasheet below is the snapshot.
Thanks & Regards
Pratiksha V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Jiabin
Please can you go through the CE222046 – PSoC 6 BLE Throughput Measurement code example and also can you give us more information about the Seven characteristics that how are you sending data? are you trying to send at a time? .
Thanks & Regards
Pratiksha V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @PratikshaV
Thank you very much for your reply!
I use the following code to send the notification to the peer device.
cy_stc_ble_gatt_handle_value_pair_t customIndicationHandle =
{
.attrHandle = BLECommand.charHandle,
.value.val = BLECommand.value,
.value.len = BLECommand.len
};
Cy_BLE_GATTS_SendNotification(&cy_ble_connHandle[0],&customIndicationHandle);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Jiabin
Please let me know how you are accessing the seven characteristics at a time or connected to seven different device at a time. Please can you give us more details??.Also please can you go through the BLE component datasheet below is the snapshot.
Thanks & Regards
Pratiksha V