- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have my GAPP advertising set up with the local device name in full checked for the advertisement packet, but although CySmart finds the device, it cannot read the name, and neither can my custom android app.
In the Android app, the name string should be 'RGB LED', but shows up as char '\u0002' which returns a garbage string.
Any ideas?
Thank you,
Tom
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I got this to work by placing the name modification code in the correct location - AFTER the CyBLE_Start().
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you modifying the advertisement name at some point?
Without seeing your project/settings it would be hard to guess the problem.
Double check you: set the name in the BLE component, the data in the advertisement packet looks correct (raw data that is), and that you aren't changing the value with software later.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tom,
Could you please share your project for us to test?
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I got this to work by placing the name modification code in the correct location - AFTER the CyBLE_Start().
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tom,
Yes , you should keep the changes in BLE adv data or device name only after BLE start.
Thanks,
Anjana