- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Does that custom service have a "User Chatracteristic Descriptor"?
If not, please add one. (In the BLE Component Configuration Wizard, in the Profiles Tab, Select the Custom Service and then the custom characterisitc. Right click it , select add descriptor and select -> Chavracteristc user description.In that enter the name you wish.
Now check in your Tablet software whether this name is seen.
Regards,
- Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think that is something not provided by the BLE / GATT spec. AFAICS the names come from translating the service UUIDs into something useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look at the (official) guide for defining custom services: https://developer.bluetooth.org/DevelopmentResources/Pages/Custom-Profile-Development.aspx
There are no display names in the service configm (OK; there is one in the profile definition, but I don't see a use for it)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What exactly are you using to see the service names? Are you able to see them with the CySmart tool on a PC? (It shows you the complete GATT structure so maybe you can see there what to do)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would suggest creating a support case (top right menu, "MyCases"). Please report back here if you get a solution...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Has this problem been solved? I have the exact same issue. Trying to develop a custom profile with custom services for a customer and only see Uknown Services on the Cysmart App. Please let me know what the solution is. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jeff et al,
It is not possible to name a service in the same way that you can name a characteristic. There is no provision in the Bluetooth spec for storing a custom name for a service; honestly, even custom names for characteristics have relatively little utility in most applications. The only reason that the CySmart BLE app (or any app) has a "friendly" name for any service is that the app has its own internal UUID-to-name lookup table for known services.
Mobile apps intended for end-users generally abstract the GATT structure away from the user interface enough that there is no reason to expose any names, whether for services or for characteristics. The user simply performs actions and the app transfers the relevant data to and from the remote GATT server using whatever characteristics and operations are needed. The mobile app developer should have knowledge of the GATT structure at the time of development, and any services and characteristics (whether custom or standard) will be identified uniquely by their UUID, not by any custom name or description that might optionally be also present in the GATT definition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've been using custom BLE services with Android apps and agree with what jrow said, the app identifies the name of the service by association with it's UUID.
I'm not sure if it will help, but it you develop an app using Bluetooth Developer Studio, you can name your service and it is used in the generated Android code (which is then ported into Android Developer Studio to build). The service name clearly appears in the generated app, along with the characteristics in the service and the names you give them.