• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF Bluetooth® Low Energy & ANT Forum » CC2540 DK Mini Heart Rate Measurement Collector using BTool
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

CC2540 DK Mini Heart Rate Measurement Collector using BTool

This question is answered
Fatih
Posted by Fatih
on Jan 09 2012 14:09 PM
Prodigy30 points

Dear fellow engineers,

  I have the TI BLE heartrate sample application keyfob .hex file loaded and am trying to use BTool to read heart rate measurement data from the USB Dongle.  The devices discover and link fine but I am not receiving the heart rate measurement bursts.

  Aside from discovery/establishing a link, what GATT commands must be sent to the keyfob for it to begin transmitting the simulated heart rate data?  Reading of 0x2A37 UUID was not permitted.

Thanks,

   Fatih

Update: It seems to be a matter of setting HEARTRATE_MEAS_NOTI_ENABLED.  Any suggestions?

CC2540 BLE BTool 2540 BLE stack GATT UUID CC2540DK-MINI usb dongle CC2540 Keyfob keyfob
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Joakim Lindh
    Posted by Joakim Lindh
    on Jan 10 2012 02:06 AM
    Verified Answer
    Verified by Fatih
    Genius13370 points

    Hi Faith,

    You have to enable notifications for that particular characteristic value which is easily done by writing 01:00 to handle 0x0012. After that you should get notifications once a second.

    Br 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Joao Bastos
    Posted by Joao Bastos
    on Jan 20 2012 14:09 PM
    Prodigy80 points

    Hi Nick,

    Thank you for the aswer given before it was a lot of help for me. Could you please tell me in which file of the project is this handle defined for? I have been looking for it and I cant find this value. How can I know which characteristic it is?

    Thanks in advance

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Joakim Lindh
    Posted by Joakim Lindh
    on Jan 23 2012 01:42 AM
    Genius13370 points

    Hi,

    Handles are not defined, those are enumerated upon the initiation of the device, based on the services that are added. The handle can be found by doing a service discovery. If you want to try it out in BTool, use "Discover characteristic by UUID". The UUID for the characteristic is found in the heartrateservice.h.

    In general, the UUIDs tells you what type of characteristics you should expect. That's why there are profile specifications defined by Bluetooth SIG.

    Br

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Joao Bastos
    Posted by Joao Bastos
    on Jan 23 2012 09:28 AM
    Prodigy80 points

    Thank you for your asnwer. I think I finally understood the concept. I will analyse the example and the specifiication defined by Bluetooth SIG better.

    Thank you for your time,

    João Bastos

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Luis Valdez99204
    Posted by Luis Valdez99204
    on Mar 07 2012 03:24 AM
    Prodigy100 points

    Hi,

    I also tried the heartrate sample app on my CC2540 DK Mini keyfob.  I could pair it with the dongle but when I try to enable notifications by writing 01:00 to handle 0x0012, BTool comes up with "invalid parameter."

    Can anyone help me on this?

    Br,

    Luis

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • alya moghira
    Posted by alya moghira
    on Apr 04 2012 10:38 AM
    Prodigy20 points

    how did you guys get the .hex file of the heart rate applications?

    i am not able to compile them using IAR workbench

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Luis Valdez99204
    Posted by Luis Valdez99204
    on Apr 05 2012 08:11 AM
    Prodigy100 points

    Hi Alya,

    Try C:\Texas Instruments\BLE-CC254x-1.2\Projects\ble\HeartRate\CC2540DB\CC2540DK-MINI Keyfob Slave\Exe\heartrate.hex

    BR,

    Luis

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • alya moghira
    Posted by alya moghira
    on Apr 05 2012 08:22 AM
    Prodigy20 points

    thanks for ur reply

    but the EXE folder is empty !

     i only have hex files in this folder C:\Texas Instruments\BLE-CC254x-1.2\Accessories\HexFiles

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Senthil kumar103423
    Posted by Senthil kumar103423
    on Apr 16 2012 03:57 AM
    Prodigy250 points

    Hi luis ,

    "Invalid parameter " usualy will appear if there is a connection loss or your "link establishment" is not successful .

    Invalid parameter in cc2540 Dk
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Luis Valdez99204
    Posted by Luis Valdez99204
    on Apr 16 2012 10:54 AM
    Prodigy100 points

    Hi,

    Thanks for the reply.  I found out that I had to write 01:00 to handle 0x0013 (instead of 0x0012) to enable notifications.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jeson luo
    Posted by jeson luo
    on Jul 24 2012 02:04 AM
    Prodigy70 points

    hi Nick, I have a question about the bluetooth4.0 chip CC2540.when i use the CC2540DK-MINI Keyfob with the firmware heartrate.hex and connect it to Atomax BLE or BlueFire EKG on iPhone 4s, the heart rate can be display correctly, but the battery level is always 0%. what's the problem?  thanks very much!

    2540 2540 profile
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Misael
    Posted by Misael
    on Jul 24 2012 12:18 PM
    Intellectual490 points

    jeson luo

    hi Nick, I have a question about the bluetooth4.0 chip CC2540.when i use the CC2540DK-MINI Keyfob with the firmware heartrate.hex and connect it to Atomax BLE or BlueFire EKG on iPhone 4s, the heart rate can be display correctly, but the battery level is always 0%. what's the problem?  thanks very much!

    The issue lies with the updated BLE 1.2 stack and the apps you are using. When TI updated their BLE stack to 1.2, they removed the proprietary battery spec and replaced it with the adopted BLE profile. This means the UUIDs were updated to their new location on the keyfob (firmware) side. The apps you are using are still pointing to the old UUIDs, I am guessing, and since the apps have not been updated since January (the stack was released in late February), the Battery profile is not pointing to a valid location and not working.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jeson luo
    Posted by jeson luo
    on Jul 24 2012 21:27 PM
    Prodigy70 points

    Hi  Misael, thanks for you reply. Maybe you are right! do you know which app on iphone 4s can work with the latest BLE 1.2 stack? even not free chage, thanks!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Misael
    Posted by Misael
    on Jul 25 2012 11:13 AM
    Intellectual490 points

    Check out this thread. You might find an app that has the updated/adopted BLE profiles that will work with the TI 1.2 stack.

    http://e2e.ti.com/support/low_power_rf/f/538/t/201119.aspx

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • jeson luo
    Posted by jeson luo
    on Jul 30 2012 01:01 AM
    Prodigy70 points

    hi Misael

    thanks very much! maybe i was unfortunate, i didn't find a softtool for the latest TI 1.2 stack even not free. we conbined the bluetooth chip into FINIS AquaPulse but the battery level not working.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use