- ページ 2
コンピュータ・ハードウェア BlueRadios nBlue BR-EVAL-LE4.0-X2AのPDF クイック・スタート・マニュアルをオンラインで閲覧またはダウンロードできます。BlueRadios nBlue BR-EVAL-LE4.0-X2A 4 ページ。
EVENT:
<cr_lf>DISCOVERY,2,ECFE7EXXXXXX,0,-045,4,AD_DATA<cr_lf>
<cr_lf>DISCOVERY,6,ECFE7EXXXXXX,0,-045,2,SCAN_DATA<cr_lf>
EVENT:
After 10 seconds, or the maximum number of devices have been found, the module will send a DONE event:
<cr_lf>DONE,1,1<cr_lf>
EVENT:
The discovery events return the advertising and scan response data of nearby advertising LE modules. The
12 characters in the third field of the response are the remote module's Bluetooth Address.
3. Once you have discovered your DevBoard you are ready to connect to it. In the Master-Dongle terminal, type
"ATDMLE,XXXXXXXXXXXX<cr>", filling in the X's with the DevBoard's address.
ATDMLE,ECFE7EXXXXXX<cr>
COMMAND:
4. Once connected, both modules will send a CONNECT event, showing the address of the remote device. A
BRSP event will also be sent, signaling that the modules are in BRSP data mode. At this point data can be
sent by typing into either terminal.
EVENT:
<cr_lf>CONNECT,0,1,0,ECFE7EXXXXXX<cr_lf>
<cr_lf>BRSP,0,1<cr_lf>
EVENT:
5. To disconnect, first type "+++<cr>" into either terminal. This escape sequence will take the module out of
BRSP data mode and put it into command mode.
+++<cr>
COMMAND:
Next, type "ATDH,0<cr>" and the connection will be terminated.
ATDH,0<cr>
COMMAND:
EVENT:
<cr_lf>DISCONNECT,0,0<cr_lf>
A disconnect event will also print from the remote module as well.
EVENT:
<cr_lf>DISCONNECT,0,1<cr_lf>
5.3 Making a Classic Bluetooth (CB) Connection – Dual Mode Only
1. Dual Mode modules are CB discoverable by default, so the DevBoard can be discovered by typing "ATDI<cr>"
in the Master-Dongle terminal.
COMMAND:
ATDI<cr>
The Dongle will respond with multiple discovery events depending on how many CB devices are in the area.
Only one event will be sent per device, as opposed to up to 2 for LE.
EVENT:
<cr_lf>DISCOVERY,1,ECFE7EXXXXXX,000000,-045,3,EIR_DATA<cr_lf>
After 10 seconds, or the maximum number of devices have been found, the module will send a DONE event:
EVENT:
<cr_lf>DONE,0,1<cr_lf>
2. To make a CB connection, type "ATDM,XXXXXXXXXXXX<cr>" in the Master-Dongle terminal, filling in the X's
with the DevBoard's address.
COMMAND:
ATDM,ECFE7EXXXXXX<cr>
3. Once connected, both modules will send a PAIRED event, followed by a CONNECT event, showing the
address of the remote device. An SPP event will also be sent, signaling that the modules are in SPP data
mode. At this point data can be sent by typing into either terminal.
EVENT:
<cr_lf>PAIRED,ECFE7EXXXXXX,1<cr_lf>
EVENT:
<cr_lf>CONNECT,0,0,0,ECFE7EXXXXXX<cr_lf>
EVENT:
<cr_lf>SPP,0,1<cr_lf>
To disconnect, first type "+++<cr>" to take the module out of SPP data mode and put it into command mode.
Then type "ATDH,0<cr>" and the connection will be terminated.
COMMAND:
+++<cr>
ATDH,0<cr>
COMMAND:
EVENT:
<cr_lf>DISCONNECT,0,0<cr_lf>
A disconnect event will also print from the remote module as well.
EVENT:
<cr_lf>DISCONNECT,0,1<cr_lf>
7173 S. Havana Street, Suite 600
BR-EVAL-LE4.0-X2A Quick Start Guide v3.1.0
Copyright © 2002-2012 BlueRadios, Inc.
RESPONSE:
<cr_lf>OK<cr_lf>
RESPONSE:
<cr_lf>OK<cr_lf>
RESPONSE:
RESPONSE:
<cr_lf>OK<cr_lf>
RESPONSE:
RESPONSE:
<cr_lf>OK<cr_lf>
<cr_lf>OK<cr_lf>
RESPONSE:
•
Englewood, CO 80112 • (303)-957-1003
www.BlueRadios.com
Page 2 of 2
<cr_lf>OK<cr_lf>
<cr_lf>OK<cr_lf>