Custom Advertisement with PSoC4 BLE

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
MKN_4249821
Level 2
Level 2

Hi,

Is it possible to change the advertising name of BLE on CY8C4248LQI-BL583?

I have given only local name to advertise and I want to change it on run time whenever I send data through serially in particular pattern. It is not taking the new data properly

Ex: If I send {CYPRESS_BLE} it should advertise CYPRESS_BLE but I'm getting only CYPRESS in my phone. If I give {PSOC_BLE} it should advertise PSOC_BLE but I'm getting only PSOC. Why is it happening like that?

BLE component version is v3.63.

I am attaching the project and Serial Termial Output for your reference. Please help me as soon as possible.

Regards,

MKN

0 Likes
1 Solution

Hello,

Could you please modify line no: 95 of your main.c as below and see if this issue gets resolved?

"new_advData.advData[ADV_DATA_NAME_START_INDEX+j] = '\0';"

Thanks and Regards,

Sudheesh

View solution in original post

0 Likes
4 Replies