BLE_DataThroughput_Client Application Description

How to demonstrate Point-to-Point communication using BLE component (as GATT server or GATT client).

The Nucleo board flashed with BLE_DataThroughput_Client application acts as GATT Client and can connect and exchange data with a nucleo board flashed with BLE_DataThroughput_Server application

Data transfer via notification from server to client or/and write from client to server. Use of a timer that enables to calculate the throughput at application level.

Keywords

Connectivity, BLE, BLE protocol, BLE pairing, BLE profile

Directory contents

Hardware and Software environment

How to use it?

In order to make the program work, you must do the following:

Use of two nucleo boards

Two STM32WBA nucleo boards are used, one central/client (flashed with BLE_DataThroughput_Client) and one peripheral/server (flashed with BLE_DataThroughput_Server).

The GATT server board support a Data transfer service with a transmission characteristic that supports notification.

The GATT client board support a Data transfer by writing without response to the GATT server board Reception characteristic.

The board flashed with BLE_DataThroughput_Client is defined as GAP central.

Open a VT100 terminal on Central and Peripheral side (ST Link Com Port, @115200 bauds).

At reset application initialization is done.

On server side when connected:

On server side when idle:

On client side when connected:

On client side when idle:

On client terminal receiving the current notification, the number of bytes per second is displayed.

On server terminal receiving the current write without response, the number of bytes per second is displayed.

In app_conf.h :