EasyManua.ls Logo

Texas Instruments CC2540 User Manual

Texas Instruments CC2540
29 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #15 background imageLoading...
Page #15 background image
SWRU270
Page 15 of 28
procedure. To do this, you will first need to click the “Read / Write” tab in BTool. Select the option “Read
Using Characteristic UUID” under the “Sub-Procedure” option in the “Characteristic Read” section at the
top of the screen. Enter “F1:FF” (note that the LSB is entered first, and the MSB is entered last) in the
“Characteristic UUID” box, and click the “Read” button.
An attribute protocol Read by Type Request packet gets sent over the air from the dongle to the keyfob,
and an attribute protocol Read by Type Response packet gets sent back from the keyfob to the dongle. The
value “01” is displayed in the “Value” box, and “Success is displayed in the “Status” box. In addition,
the message window will display information on the Read by Type Response packet that was received by
the dongle. The message includes not only the characteristic’s data value, but also the handle of the
characteristic value (0x0011 in this case).
Figure 21
4.3.2 Writing a Characteristic Value
In the previous section, the handle of the first characteristic in the SimpleGATTProfile was found to be
0x0011. Knowing this, and based on the fact that the characteristic has both read and write permissions,
it is possible for us to write a new value. Enter “0x0011” into the “Characteristic Value Handle” box in
the “Characteristic Write” section, and enter any 1-byte value in the “Value” section (the format can be
set to either “Decimal or “Hex”). Click the “Write Value” button.
An attribute protocol Write Request packet gets sent over the air from the dongle to the keyfob, and an
attribute protocol Write Response packet gets sent back from the keyfob to the dongle. The status box will
display Success”, indicating that the write was successful.

Other manuals for Texas Instruments CC2540

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments CC2540 and is the answer not in the manual?

Texas Instruments CC2540 Specifications

General IconGeneral
BrandTexas Instruments
ModelCC2540
CategoryMicrocontrollers
LanguageEnglish

Summary

References

Printed Copy Included in the Box with the Kit

Details the quick start guide included with the development kit.

Included with Texas Instruments Bluetooth Low Energy Software Installer

Provides information on obtaining the BLE software installer and developer's guide.

Available from Bluetooth Special Interest Group (SIG)

References the official Bluetooth system specification for further details.

Introduction

Kit Contents Overview

Outlines the hardware and software components of the CC2540DK-MINI kit.

System Requirements

Specifies necessary PC hardware and software, including OS and .NET Framework.

Getting Started

Associate Driver with USB Dongle

Guide to installing and associating the USB Dongle driver on the PC.

Determining the COM Port

Instructions to identify the COM port assigned to the USB Dongle in Device Manager.

Using BTool

Starting the Application

Steps to launch the BTool application and initiate device connections.

Creating a BLE Connection

Guide to establishing a BLE connection, including discovery, scanning, and parameter setup.

Using the Simple GATT Profile

Demonstrates GATT operations like reading, writing, and notifications for characteristic values.

Using the Simple Keys GATT Profile

Guide to utilizing the Simple Keys profile for key press notifications.

Programming / Debugging the CC2540

Hardware Setup for Keyfob

Instructions for physically connecting the CC Debugger to the Keyfob.

Hardware Setup for USB Dongle

Instructions for physically connecting the CC Debugger to the USB Dongle.

Checking CC Debugger Firmware

How to verify and update the CC Debugger's firmware.

Reading or Writing Hex File to CC2540

Steps to program the CC2540 with hex files using SmartRF.

Managing CC2540 Device Address

How to manage device IEEE addresses using the programmer.

General Information

Document History

Records revisions and release dates of the user's guide.

Related product manuals