Once the connection has been established and
service discovery is complete, you can perform
the following operations using joystick U1 on the
Connection Parameter Update
ressing up on U1 will send a read request to the
peripheral device. One byte of data will be read,
again will send a write request, and one byte of
data will be written to the peripheral. The
peripheral’s LCD should display the written value
s an ideal technology for
transmission of small amounts of data between
while consuming very little power, as
Continuing to press up on the joystick will
alternate between reads and writes
ressing down on U1 will turn on RSSI (received
signal strength indication) monitoring. The RSSI
will be displayed on the LCD in units of negative
If the boards are moved farther apart from each
the RSSI will drop (since the value is
negative, a higher number means lower RSSI). If
they are moved closer together, the RSSI should
Pressing down on U1 again will turn off RSSI
parameter update request to the peripheral to
use a longer connection interval. This will result
in much longer latency when performing data
reads and writes; however the power consumed
by both devices is significantly reduced.
the link. The peripheral will return to an
The central device will display
a “Reason” code, which indicates why the
disconnection occurred (values are def
In this case, the reason code of 22 indicates that
the link termination was initiated by the central
vent that the peripheral device
goes out of range or has power discon
from it, you will see a reason code of
indicates that a link timeout has occurred.
connect to the peripheral if desired.
The project and source code
Bluetooth low energy (BLE)
stack from Texas Instruments, which can be
The two projects implementing this demo are
modified as desired, and should provide a good
framework for developing your own custom BLE
within the BLE Software Developer’s Guide,
which is included with the stack
used as a BLE sniffer and monitor packets while
The SmartRF Protocol Packet Sniffer software
SmartRF Studio allows you to configure the radio,
run RF performance tests, and run link tests
between the two SmartRF05EBs.
SmartRF Studio can be downloaded
Texas Instruments has a simple tool which can
SmartRF Flash Programmer can be
BTool is a Windows application that allows you to
using the serial interface
connected to a peripheral device.
BTool is included as part of the installation of the
e, program, and debug the
, you should use IAR Embedded
More information on IAR EW8051, including a
free evaluation version download, can be found at
TI BLE Stack and Software:
Development Kit User Guide:
BLE Software Developer’s Guide:
www.ti.com/lit/pdf/swru271
http://www.ti.com/lit/pdf/swru191
For additional help, visit the TI E2E Forums: