SWRU332C November   2012  – October 2016 CC2540 , CC2541-Q1

 

  1.   CC2541 Mini Development Kit Quick Start Guide
    1.     Trademarks
    2. 1 Opening the Box and Evaluating Bluetooth® Low Energy
      1. 1.1 Kit Contents
      2. 1.2 Introduction
      3. 1.3 Hardware Setup
    3. 2 Evaluate Using BTool
      1. 2.1 Download and Install BLE-Stack
      2. 2.2 Identify the COM Port Number
      3. 2.3 Start BTool
      4. 2.4 Connect to the CC2541 Keyfob
      5. 2.5 Button Notifications
      6. 2.6 Enable Accelerometer
      7. 2.7 Immediate Alert
      8. 2.8 Terminate Connection
      9. 2.9 Source Code
    4. 3 Evaluate Using an iOS Device (iPod, iPad, or iPhone)
      1. 3.1 Download the SimpleLink™ Starter
      2. 3.2 Connect to the CC2541 Keyfob
      3. 3.3 Evaluate the Application
    5. 4 Additional Tools and Links
      1. 4.1 TI Packet Sniffer
      2. 4.2 SmartRF Flash Programmer
      3. 4.3 IAR Embedded Workbench
      4. 4.4 BLE E2E Forum
      5. 4.5 BLE Wiki
      6. 4.6 Useful Links
  2.   Revision History

Button Notifications

To notify when buttons are pressed on the CC2541 Keyfob, notifications must be enabled. This is done in the Read/Write tab of BTool by writing 01:00 to the characteristic handle 0x0049, as shown in Figure 5.

Figure 5. Characteristic Value Handlechar_val_handle.png

If a button on the CC2541 Keyfob is now pushed, notifications are sent, and can be monitored in the BTool log window.

NOTE

These handles are subject to change, depending on the firmware version used. To verify handle IDs, discover all UUIDs by right-clicking the handle id under Connection Info, and selecting Discover UUIDs, as shown in Figure 6.

Figure 6. Discover UUIDsdiscoveruuids.png