
ROK 101 007
16
Preliminary
APPENDIX A
Getting Started
The ROK 101 007 Bluetooth module
is easy to use when designing a
Bluetooth application. However,
there is a need for know-how in the
Bluetooth System specification v1.0B
as well as the Profile specification
v1.0B when designing and end-
customer product.
• Bluetooth module
• Know-how in Bluetooth specifica-
tion regarding HCI commands
• Test board with UART/PCM or
USB I/F
• Visual C++ for PC SW design
• Preferably HCIdriver, L2CAP,
RFCOMM and SDP from Ericsson
The list above show some parts that
would make designing convenient.
All information needed, regarding
how to drive the HCI over UART is
specified in part H4 of the Bluetooth
System v1.0B further more part H1
and also Appendix IX with message
charts is relevant.
Below follow an example of how to
set up an ACL link between to
Bluetooth modules by using the
UART I/F and also a schematic of
how to interface the module and
control it by a host, normally a PC or
microcontroller.
Principle schematic for
UART inter- connect
The inter-connection to the level-
shifter when designing a test-board
could be according to the schematic
below. (Figure A1.)
The Bluetooth module can be
connected as a DCE/DTE and a
modem/nullmodem cable could
therefor be used in-between the test-
board and the PC.
Setting up a Bluetooth
point-to-point connection
The Host Controller Interface (HCI) in
the module is a command I/F. The
host presents commands to the HCI
and receives events back from the
HCI of the module. The module Link
Manager provides link set up capa-
bility to the HCI.
•
Host_B Bluetooth module is set in
paging scan mode – listening for
a Bluetooth device asking for a
new connection
•
Host_A Bluetooth module is set in
paging mode asking for a con-
nection to Host_B
This is accomplished by first setting
up the connection between the Host
and the module and thereafter
creating the connection between the
modules using HCI commands.
V+
MAX3232E
V-
+
-
RS-232
+
-
CX
CX
10
11
9
12
100nF
100nF
1
3
4
5
2
6
100nF
100nF
V
CC
7
14
8
13
9-pin D-sub
2 RXD
8 CTS
3 TXD
7 RTS
BLUETOOTH
MODULE
ROK 101 007
B5
B6
A5
A6
TXD
CTS
RXD
RTS
16
V
CC
15
GND
100nF
The capacitor values are
chosen for a VCC from
3.2 to 3.6 V
V
CC
VCC
VCC_IO
ON
Figure A1. Bluetooth module connected as a DCE through level shifter
Figure A2. Bluetooth host to host communication