task ID, cannot receive message, the definition of the UUID

6 posts / 0 new
Last post
z20121202038
Offline
Last seen:3 years 9 months ago
加入:2016-03-30 12:51
task ID, cannot receive message, the definition of the UUID

1) how can get the UUID of different profiles service and their characteristic? especially, those defined by the profiles.

2)A error is existed in the app_ht_task. As follows: the task ID of the ht_task is defined as “APP_HT_TASK” in the "APP_api.h" , but in the app_ht_task and app_ht, it is named “TASK_APP_HT”. So I modified the “APP_HT_TASK” as “TASK_APP_HT” in the "APP_api.h" . Then a new question comes, the "htpt_create_db_cfm_handler (app_ht_task.c)" cannot receive the message from "htpt_create_db_req_handler(ht_task.c)". A solution or a metho to solve it would be expected, thank you.

Device:
MT_dialog
Offline
Last seen:1 month 2 hours ago
工作人员
加入:2015-06-08 11:34
Hi z20121202038,

Hi z20121202038,

1) I dont get the question, what do you mean get the UUID of different profile service ? Can you please share what you are trying to do ?

2) Regarding the Health thermometer service and the implementation, please check the below post, its a guide how to implement it on SDK5, on SDK3 should be quite similar,http://support.dialog-semiconductor。com/health-thermometer-example. Also a good place to look for more info the RW BLE Health Thermometer Profile Interface Specification.

Thanks MT_dialog

z20121202038
Offline
Last seen:3 years 9 months ago
加入:2016-03-30 12:51
Hi, MT_dialog

Hi, MT_dialog
How to lookup the UUID for a specified service, for example the Health thermometer service? And the related characteristics' UUID.
Thanks

MT_dialog
Offline
Last seen:1 month 2 hours ago
工作人员
加入:2015-06-08 11:34
Hi z20121202038,

Hi z20121202038,

I still dont get your question, you would like to traverse in the data base while the code executes and find the UUID of a service or a characteristic, you mean a function where you can give a handle and return the UUID or so ? You can find some functions that you can manipulate the database the the permissions of the database in the attm_db.h header file, perhaps this will give you an insight.

Thanks MT_dialog

z20121202038
Offline
Last seen:3 years 9 months ago
加入:2016-03-30 12:51
Hi MT_dialog

Hi MT_dialog
I found it at "https://developer.bluetooth.org/gatt/characteristics/Pages/Characteristi..." .
The UUID, I think, is the identifier to deciede the message will be sent to which task in our project. So the URL given UUID is all the service?
Thanks

MT_dialog
Offline
Last seen:1 month 2 hours ago
工作人员
加入:2015-06-08 11:34
Hi z20121202038,

Hi z20121202038,

The UUID's are the identifier's of the service's characteristic's etc, each UUID declares a specific service or a specific characteristic. If you talking about the UUID's of different profiles that are adopted by the SIG you can find it herehttps://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx. In the SDK each profile has its own task message all the available task ids are located in the rwip_config.h file.

Thanks MT_dialog

Topic locked