- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check CyBle_GapSetLocalName because when I change it length of new name can`t over old length.
Looks like bug.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We understand the issue. I have reported this to the software team.
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
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.
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We understand the issue. I have reported this to the software team.
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It will get time...
How I can use my version of function instead of generated ?