Introduction
BlueNRG-Mesh connects multiple BLE (Bluetooth Low Energy) devices in Mesh networking for IoT (Internet of Things)
solutions. It integrates BlueNRG products with embedded Bluetooth Low Energy communication in a powerful, range-extending
Mesh network with true full-duplex communication.
The solution contains the core functionality for secure communication and provides the flexibility you need to build applications.
It uses BlueNRG-2, BlueNRG-1, BlueNRG-MS devices with Mesh stack APIs and related event callbacks. The SDK provides
the Mesh stack in library form and a sample application in source code to demonstrate how to use the library.
BlueNRG-Mesh can be used in several applications requiring infrequent data transfer in a mesh network over Bluetooth Low
Energy
, to create distributed control systems such as:
��� smart lighting
• home and building automation
• industrial automation
A demo example is available for the device evaluation boards. You can use it to change the application interface and use the
library for the required hardware and software functionalities. The demo application is available for the following evaluation
boards:
• STEVAL-IDB008V1 and STEVAL-IDB008V2 for BlueNRG-2
• STEVAL-IDB007V1 and STEVAL-IDB007V2 for BlueNRG-1
• X-NUCLEO-IDB05A1 and NUCLEO-L152RE for BlueNRG-MS
The sample application implements Smart Light control scenario, which you may modify according to your requirements.
Getting started with the ST BlueNRG-Mesh embedded firmware
UM2295
User manual
UM2295 - Rev 2 - September 2018
For further information contact your local STMicroelectronics sales office.
www
.st.com
1 Getting started
The sample application implements a smart lighting control scenario. To modify the application, you need to follow
the sequence below
.
Step 1. Connect the board to the PC
Step 2. Compile the firmware in IDE
Step 3. Flash the firmware to the board
Step 4. Provision the board in the BlueNRG-Mesh App
Step 5. T
oggle LED on board using the app
1.1 Hardware requirements
The following boards can be used for evaluation of the ST BlueNRG-Mesh solution.
T
able 1.
Hardware requirements
Devices Evaluation boards Description
BlueNRG-2
STEVAL-IDB008V1 and STEVAL-
IDB008V2
Evaluation platform based on the BlueNRG-2
BlueNRG-1
STEV
AL-IDB007V1 and STEVAL-
IDB007V2
Evaluation platform based on the BlueNRG-1
BlueNRG-MS
X-NUCLEO-IDB05A1
Bluetooth Low Energy expansion board based on the SPBTLE-RF
module for STM32 Nucleo
NUCLEO-L152RE
STM32 Nucleo-64 development board with the STM32L152RE MCU,
supports Arduinoâ„¢ and ST morpho connectivity
1.2 Board interfaces
The following table explains the details of the evaluation boards for the power requirement, programming and
user interface, for example LEDs and buttons.
Table 2. Evaluation board details
Devices
Evaluation
boards
Powered by Programmed by LEDs Buttons
BlueNRG-2
STEVAL-
IDB008V1 and
STEVAL-
IDB008V2
Micro-B
USB Cable
Or AAA x 2 battery
External ST
-LINK/V2 or
USB port
3x user LEDs +1
power indication
Reset button + 2 x
user buttons
BlueNRG-1
STEVAL-
IDB007V1 and
STEVAL-
IDB007V2
Micro-B USB cable
or AAA x 2 battery
External ST
-LINK/V2 or
USB port
3x user LEDs +1
power indication
Reset button +2 x
user buttons
BlueNRG-MS
X-NUCLEO-
IDB05A1
Mini-USB cable
In-Built STLINK on the
STM32 Nucleo board
1 user LED +1
power indication
Reset button + 1 x
user buttons
NUCLEO-L152RE
1.3 STEVAL-IDB008V1 or STEVAL-IDB008V2 BlueNRG2 board setup
To connect the STEVAL-IDB008V1 or
STEVAL-IDB008V2 (BlueNRG-2 evaluation board) and PC, a USB port is
required to provide power supply to the board. To connect the ST-Link/V2 debugger, an additional USB port is
needed.
UM2295
Getting started
UM2295 - Rev 2
page 2/37