![ST FP-SNS-FLIGHT1 User Manual Download Page 21](http://html.mh-extra.com/html/st/fp-sns-flight1/fp-sns-flight1_user-manual_1355659021.webp)
UM2026
FP-SNS-FLIGHT1 software
description
DocID029047 Rev 4
21/50
with the STM32 Nucleo board, without having to scan for the board or manually insert the
PIN.
iOS does not allow the use of NFC for this purpose, so you must manually run the
application, scan for the STM32 Nucleo board and enter the connection PIN.
The
FLIGHT1_SECURE_CONNECTION
define in the
Projects\Multi\Applications\FLIGHT1\Inc\flight1_config.h file controls whether the STM32
Nucleo board only accepts secure connections (default) or any connection (define is
commented), so you do not have to enter the BLE connection PIN for a device to connect
to the STM32 Nucleo board.
As the console output shows, the application sends:
the values of temperature/humidity/pressure and abient light (for X-NUCLEO-6180XA1
only) every 500 ms
the values of the 3D accelerometer, 3D gyroscope and 3D magnetometer every
100 ms
the proximity values every 50 ms
Connection of an Android/iOS device to the STM32 Nucleo board starts with the secure
pairing procedure, where ping information is sent to the stdout console BLE characteristic.