Thank you for the suggestion.
Please check the description about the CyBle_GapSetLocalName( ): " This API is used to set the local device name - a Characteristic of the
* GAP Service. If the characteristic length entered in the component customizer
* is shorter than the string specified by the "name" parameter, the local device
* name will be cut to the length specified in the customizer."
So this seems to be an expected behavior. However, we thank you for giving the feedback.
It`s behavior expected by programmer created this function but not user.
Why you need to cut name? If I used name "BLE1" and user want change to "Beacon placed near kitchen" ?
What a problem with this ? You can read inside function : "First need to get the maximum length of the characteristic data in the GATT database to make sure there is enough place for the data. The length can't be longer than 248 "
Just make buffer big enough and don`t cut.
We understand the issue. I have reported this to the software team.
It will get time...
How I can use my version of function instead of generated ?