A
Embedded Wireless Solutions Support Center:
http://ews-support.lairdtech.com
www.lairdtech.com/bluetooth
1
© Copyright 2018 Laird. All Rights Reserved
Americas
: +1-800-492-2320
Europe
: +44-1628-858-940
Hong Kong
: +852 2923 0610
Quick Start Guide
v1.0
Laird’s BL652 and BL654 modules are deployed with embedded
smart
BASIC.
smart
BASIC is an event-driven programming
language that does not require complex toolchains and allows the quick creation of custom applications. The language
provides an easy to use API to the underlying Bluetooth, NFC and other hardware and it in turn will generate events that
the developer can service through handlers written in smart
BASIC
.
This guide assumes that you are familiar with loading smart
BASIC
applications into the module. If not, please refer to the
application note Loading smartBASIC Applications which is available from the BL654 product page:
https://www.lairdtech.com/products/bl654-ble-thread-nfc-modules
This quick start guide explains how to perform the following:
▪
Load the AT Interface application into two devices
▪
Make a BLE Virtual Serial Port connection
▪
Send the text
hello
from one device to the second
▪
Send the text
world
in the reverse direction
▪
Disconnection
To perform the steps in this document, you need the following:
▪
Two devices which could be any one of a DVK-BL652 or DVK-BL654 development board or BL654 USB dongles.
▪
USB-A to USB-micro cable (included with development board) which is not needed if you use a BL654 USB dongle.
▪
UwTerminalX (v1.10a or later recommended), available at
https://github.com/LairdCP/UwTerminalX/releases
▪
BL652
smart
BASIC sample applications, available at
https://github.com/LairdCP/BL652-Applications
or
https://github.com/LairdCP/BL654-Applications
in which you will find a folder called ‘ATinterface’ which contains the
application that will need to be loaded.
▪
(Recommended) The latest firmware for your module which can be found on the BL652 page:
http://www.lairdtech.com/products/bl652-ble-module
or BL654 page:
https://www.lairdtech.com/products/bl654-
under the ‘Software’ section
To begin, you must physically connect the two devices to your PC and connect to them via UwTerminalX.
To do so, complete the following:
1.
Connect the USB dongle or development board to your PC via the included USB micro cable.
2.
Power your development board (SW4).
3.
Launch UwTerminalX.
4.
From the Update tab within the UwTerminalX pane, click
Check for Updates
to ensure you’re using the latest version
of UwTerminalX with support for the BL652 or BL654.