MK715x1EK1A Hardware Manual
3. How to use sample software
FEXK715x1EK1A_HardManual-01
1 6
3.4.2 Data communication
Bluetooth
®
Low Energy communication can be performed by the following steps.
For details on how to use "BLE Tool", refer to the related document "BLE Tool User's Manual".
A) When "BLE Tool" is started, the screen in Fig. 3-4 (A) is displayed. In this screen, the central side scans
and displays
Bluetooth
®
low energy devices from the detected advertisement packets. The AT command
application for MK715x1 is displayed with the device name "LapisDev" by default, so tap this.
B) The
Bluetooth
®
Low Energy connection procedure is executed, and the service search screen shown in Fig.
3-4 (B) is displayed. At this time, "CONNECT" is output to the terminal screen on the peripheral side. In
the screen in Fig. 3-4 (B), the central side executes the service search and displays the detected services.
In case of AT command application for MK715x1, two services of "Device Information" and "LAPIS Serial
Port Profile" are displayed. The latter is the service used for data communication in AT command
applications. Tap the "LAPIS Serial Port Profile" icon.
C) The screen shown in Fig. 3-4 (C) is displayed. You can send and receive data on this screen. When you
tap the text box displayed at the bottom of the screen, the soft keyboard is displayed, so if you input a
character string from the soft keyboard and tap the "Send" button, the character string you input to the
peripheral will be sent. Similarly, if you enter characters from the terminal screen on the peripheral side, it
will be sent to the central side.
Fig. 3-4 : BLE Tool operation screen example
The figure below shows an example of performing data communication using the above procedure. The character string
input from “BLE Tool” is output in black characters as shown in Fig. 3-5 (a), and the same character string is also output to
the terminal on the peripheral side (Fig. 3-5 (b)). The character string input from the terminal on the peripheral side as
shown in Fig. 3-5 (c) is output in red on the “BLE Tool” screen (Fig. 3-5 (d)).
Fig. 3-5 : Example of data communication screen
(A)
(B)
(C)
Abcdef
123456789
…(c)
…(b)
…(a)
…(d)
Central
(
Smartphone screen
)
Peripheral
(
MK715x1 Terminal software screen
)