- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using CYBLE-014008-EVAL for my development.
I have developed my project based on the 'BLE_Heart_Rate_Sensor' code example.
I want to add the 'Health Thermometer' service to the existing 'Heart Rate Sensor' profile by just adding the service (BLE module -> Profiles -> Add Service).
Then, I add several lines of code to the main() as below:
main()
{
...
/* Register service specific callback function */
CyBle_HtsRegisterAttrCallback(HtsCallBack);
...
while(1)
{
...
/* Send temperature to client */
apiResult = CyBle_HtssSendIndication(cyBle_connHandle, CYBLE_HTS_TEMP_MEASURE, sizeof(temp_data), temp_data);
...
}
}
However, after I established the BT connection with my android mobile which was running CySmart app, I did not find the 'Health Thermometer' service on the CySmart app.
In addition, when I tapped the 'GATT DB' icon, I did not find the 'Health Thermometer' service there.
Are there I missed? / Did I make any mistakes?
Please help.
Thanks!
Terry
Solved! Go to Solution.
- Labels:
-
BLE
-
ispn:40064:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hima,
Thank you for your quick response.
I solved the problem after I cleaned all previous built stuffs and re-built the project.
Thanks,
Terry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you please mention the following details
1)The phone which you are using?
2)The android version
3)The CySmart version
4)Please test in CySmart PC App and see if you face similar issue.
5)Attach the project
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hima,
Thank you for your quick response.
I solved the problem after I cleaned all previous built stuffs and re-built the project.
Thanks,
Terry