- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am trying to send some BLE notifications from PSoC6 MCU (peripheral) to android. Using nrfconnect ble scanner app as central. Whenever I send a notification out, I get CY_BLE_ERROR_INVALID_PARAMETER error code on the device side for Cy_BLE_GATTS_Notification . BLE stack runs on CM0.
The characteristic size is 512 bytes but I am only sending 50 bytes in this notification. Could this be the problem?
Thanks,
Vimal
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The error(CY_BLE_ERROR_INVALID_PARAMETER) will occurs if the parameter 'param' is NULL, 'connHandle' is invalid or if 'param->handleValPair.value.len' value is greater than (Effective GATT MTU-3).
You can refer to the 'CE222046_Throughput_Measurement' code example in the PSoC Creator for your application. This example uses the BLE GATT layer notification to achieve maximum throughput between a GATT server and a GATT client.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The error(CY_BLE_ERROR_INVALID_PARAMETER) will occurs if the parameter 'param' is NULL, 'connHandle' is invalid or if 'param->handleValPair.value.len' value is greater than (Effective GATT MTU-3).
You can refer to the 'CE222046_Throughput_Measurement' code example in the PSoC Creator for your application. This example uses the BLE GATT layer notification to achieve maximum throughput between a GATT server and a GATT client.
Thanks,
P Yugandhar.