- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am using PSoC 63 as a BLE Peripheral device to advertise. I added "Local Name" in the advertisement packet manually from software (i.e. in BLE_PDL GUI, the name is left blank). However, I see from the app on iOS device that the name appeared to be "P6BLE_PERIPHERAL", which is not what I set in the software, but the UUID and rest of the advertisement packet matches what I set for the PSoC 6 board. Why would this happen? Is there any way to find out whether PSoC puts default name if the name field is left blank?
Another thing is, does anyone know what are the requirements for a iOS device to see my PSoC 6 board in its native settings? I can see the device in some third part app, but not in the iOS settings.
Thanks!
Best,
Joseph
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
WRT the second question, Apple Computer has a spec that might provide enlightenment. See https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf chapter 25.
I haven't changed advertisements on the PSoC 6 yet, but I've been doing it for a while on the PSoC 4. One changes the local name in two places.
First, one wants to change it in the General Access Profile Service which Apple wants you to implement. That's done with the function CyBle_GapSetLocalName() .
Second, one wants to change the advertising itself with the function CyBle_GapUpdateAdvData() . Note that you must call this function when
CyBle_GetBleSsState() == CYBLE_BLESS_STATE_EVENT_CLOSE .
Hope my experience with the '4 helps you with the '6.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
WRT the second question, Apple Computer has a spec that might provide enlightenment. See https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf chapter 25.
I haven't changed advertisements on the PSoC 6 yet, but I've been doing it for a while on the PSoC 4. One changes the local name in two places.
First, one wants to change it in the General Access Profile Service which Apple wants you to implement. That's done with the function CyBle_GapSetLocalName() .
Second, one wants to change the advertising itself with the function CyBle_GapUpdateAdvData() . Note that you must call this function when
CyBle_GetBleSsState() == CYBLE_BLESS_STATE_EVENT_CLOSE .
Hope my experience with the '4 helps you with the '6.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for sharing the experience and the information for Apple devices. I will try it on PSoC 6 to see if it works.
Best,
Joseph