| STM32L - BlueNRG-1 BLE stack APIs, Events and Constants

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

sm.h File Reference

Header file for BlueNRG-1's security manager constants. More...

Go to the source code of this file.

## Macros

IO capabilities
#define | IO_CAP_DISPLAY_ONLY (0x00)
#define | IO_CAP_DISPLAY_YES_NO (0x01)
#define | IO_CAP_KEYBOARD_ONLY (0x02)
#define | IO_CAP_NO_INPUT_NO_OUTPUT (0x03)
#define | IO_CAP_KEYBOARD_DISPLAY (0x04)
Authentication requirements
#define | BONDING (0x01)
#define | NO_BONDING (0x00)
MITM protection requirements
#define | MITM_PROTECTION_NOT_REQUIRED (0x00)
#define | MITM_PROTECTION_REQUIRED (0x01)
Out-Of-Band data
#define | OOB_AUTH_DATA_ABSENT (0x00)
#define | OOB_AUTH_DATA_PRESENT (0x01)
Authorization requirements
#define | AUTHORIZATION_NOT_REQUIRED (0x00)
#define | AUTHORIZATION_REQUIRED (0x01)
Connection authorization
#define | CONNECTION_AUTHORIZED (0x01)
#define | CONNECTION_REJECTED (0x02)
Use fixed pin
#define | USE_FIXED_PIN_FOR_PAIRING (0x0)
#define | DONOT_USE_FIXED_PIN_FOR_PAIRING (0x01)
Link security status
#define | SM_LINK_AUTHENTICATED (0x01)
#define | SM_LINK_AUTHORIZED (0x02)
#define | SM_LINK_ENCRYPTED (0x04)
SMP pairing failed reason codes
#define | PASSKEY_ENTRY_FAILED (0x01)
#define | OOB_NOT_AVAILABLE (0x02)
#define | AUTH_REQ_CANNOT_BE_MET (0x03)
#define | CONFIRM_VALUE_FAILED (0x04)
#define | PAIRING_NOT_SUPPORTED (0x05)
#define | INSUFF_ENCRYPTION_KEY_SIZE (0x06)
#define | CMD_NOT_SUPPORTED (0x07)
#define | UNSPECIFIED_REASON (0x08)
#define | VERY_EARLY_NEXT_ATTEMPT (0x09)
#define | SM_INVALID_PARAMS (0x0A)
Pairing failed error codes
Error codes in EVT_BLUE_GAP_PAIRING_CMPLT event
#define | SM_PAIRING_SUCCESS (0x00)
#define | SM_PAIRING_TIMEOUT (0x01)
#define | SM_PAIRING_FAILED (0x02)

## Detailed Description

Header file for BlueNRG-1's security manager constants.

Author
  AMS - VMA RF Application team

Version
  V1.0.0

Date
  21-Sept-2015

Attention

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

##
© COPYRIGHT 2015 STMicroelectronics

Definition in file sm.h.