February 2016
DocID028898 Rev 1
1/27
www.st.com
UM2013
User manual
Getting started with the software package for Bluetooth low
energy and dynamic NFC tag in FP-SEC-BLENFC1
Introduction
This document describes how to get started with the FP-SEC-BLENFC1 software.
FP-SEC-BLENFC1 provides software running on STM32 with ST’s BlueNRG Bluetooth low energy
protocol for communicating with a device. It writes NDEF protocol information for Secure Bluetooth
pairing, storing the BLE MAC address and the connection PIN on the NFC tag.
This application only accepts secure connections, and the BLE MAC address and PIN are randomly
created at each board reset.
The software provides a sample implementation for STM32 Nucleo boards (NUCLEO-F401RE or
NUCLEO-L053R8) equipped with the X-NUCLEO-NFC01A1 expansion board, featuring an M24SR64-
Y64-Y dynamic NFC/RFID tag, and equipped with the X-NUCLEO-IDB04A1 (or X-NUCLEO-IDB05A1)
expansion boards enabling the Bluetooth protocol.
The software is based on STM32Cube technology.
Information regarding STM32Cube is available on www.st.com at:
http://www.st.com/stm32cube
UM2013
2/27
DocID028898 Rev 1
Contents
1 Acronyms and abbreviations ......................................................... 5
2 FP-SEC-BLENFC1 software description ................................ ........ 6
2.1 Overview ........................................................................................... 6
2.2 Architecture ....................................................................................... 6
2.3 Folder Structure ................................................................................ 7
2.4 APIs .................................................................................................. 8
2.5 Sample application description .......................................................... 8
2.6 Android and iOS sample client application ...................................... 14
3 System setup guide ....................................................................... 19
3.1 Hardware description ...................................................................... 19
3.1.1 STM32 Nucleo platform .................................................................... 19
3.1.2 X-NUCLEO-IDB04A1 expansion board............................................ 19
3.1.3 X-NUCLEO-IDB05A1 expansion board............................................ 20
3.1.4 X-NUCLEO-NFC01A1 expansion board .......................................... 22
3.2 Software description ................................ ................................ ........ 24
3.3 Hardware and software setup ......................................................... 24
3.3.1 Hardware setup ................................................................................ 24
3.3.2 Software setup .................................................................................. 24
3.3.3 System setup guide .......................................................................... 24
4 Revision history ............................................................................ 26