Nguyen  Minh Binh
Nguyen Minh Binh

Reputation: 24423

Standard and custom GATT characteristic

I'm writing apps for android phone and android watch (wearOS). The apps will communicate with each other via bluetooth. Basically the app on android phone will bond with the WearOS device and then communicate with the app on WearOS to start specified function, get battery information, ...

I know I should use GATT characteristics for standards information like battery, device name, ...

Please help to advise on these two questions:

Where can I get the full list of standard characteristics UUIDs?

How can I define custom characteristics for custom informations/features like "Show photo" or "Play a sound"?

Many thanks

Upvotes: 3

Views: 1175

Answers (1)

Youssif Saeed
Youssif Saeed

Reputation: 13285

Where can I get the full list of standard characteristics UUIDs?

This is the document found at the link that Markus Kauppinen shared:-

https://btprodspecificationrefs.blob.core.windows.net/assigned-values/16-bit%20UUID%20Numbers%20Document.pdf

At around page 12, you'll find the beginning of "GATT Characteristic and Object Type". At around page 19, you'll find the beginning of "GATT Services".

How can I define custom characteristics for custom informations/features like "Show photo" or "Play a sound"?

I recommend the following links which cover how to create a BLE GATT Table on Android:-

Additional Resources

Upvotes: 7

Related Questions