Reputation: 24423
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
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:-
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