nRF51 SDK | Application Programming Interface for Common Libraries, BLE Libraries, and BLE Services |
 Database Discovery | Database discovery module |
  Defines | |
  Enumerations | |
  Structures | |
  Types | |
  Functions | |
 Peripheral Drivers | |
  ADNS2080 driver | ADNS2080 mouse sensor driver |
  Cherry 8x16 keyboard matrix driver | Cherry 8x16 keyboard matrix driver |
  DS1624 digital temperature sensor driver | DS1624 digital temperature sensor driver |
  MPU6050 gyro/accelerometer driver | MPU6050 gyro/accelerometer driver |
  Synaptics Touchpad driver. | Synaptics Touchpad driver |
  ADC HAL | Hardware abstraction layer for managing the analog-to-digital converter |
  AES ECB encryption | Driver for the nRF51 AES Electronic Code Book (ECB) peripheral |
  GPIO abstraction | GPIO pin abstraction and port abstraction for reading and writing byte-wise to GPIO ports |
  Non-volatile memory controller | Driver for the nRF51 NVMC peripheral |
  TEMP (temperature) abstraction | Temperature module init and read functions |
  Timer HAL and driver | Timer APIs |
   Timer HAL | Hardware abstraction layer for accessing the timer peripheral |
   Timer driver | Multi-instance timer driver |
  QDEC HAL and driver | Quadrature decoder (QDEC) APIs |
   QDEC HAL | Hardware abstraction layer for accessing the quadrature decoder (QDEC) peripheral |
   QDEC driver | Quadrature decoder (QDEC) driver |
  Clock HAL and driver | Clock APIs |
   Clock HAL | Hardware abstraction layer for managing the low-frequency clock (LFCLK) and the high-frequency clock (HFCLK) |
   Clock driver | Driver for managing the low-frequency clock (LFCLK) and the high-frequency clock (HFCLK) |
  GPIOTE abstraction and driver | GPIOTE APIs |
   GPIOTE abstraction | GPIOTE abstraction for configuration of channels |
   GPIOTE driver | GPIOTE driver for managing input and output pins |
  LPCOMP HAL and driver | Low Power Comparator (LPCOMP) APIs |
   LPCOMP HAL | Hardware abstraction layer for managing the Low Power Comparator (LPCOMP) |
   LPCOMP driver | Low Power Comparator (LPCOMP) driver |
  WDT HAL and driver | |
   WDT HAL | Hardware abstraction layer for accessing the watchdog timer (WDT) peripheral |
   WDT driver | WDT driver |
  RTC HAL and driver | Real timer counter (RTC) APIs |
   RTC HAL | Hardware abstraction layer for managing the real time counter (RTC) |
   RTC driver | Real timer counter (RTC) driver |
  SDIO driver | 2-wire serial interface driver |
  SPI Master driver | SPI master driver |
  Software controlled SPI Slave driver. | Software controlled SPI Slave driver |
  Software controlled TWI Master driver | Software controlled TWI Master driver |
  TWI HAL and driver | TWI APIs |
   TWI HAL | Hardware access layer for the two-wire interface (TWI) peripheral |
   TWI driver | Driver for managing the TWI |
  RNG HAL and driver | Random number generator (RNG) APIs |
   RNG HAL | Hardware abstraction layer for managing the random number generator (RNG) |
   RNG driver | Driver for managing the random number generator (RNG) |
  PPI HAL and driver | Programmable Peripheral Interconnect (PPI) APIs |
   PPI HAL | Hardware abstraction layer for setting up Programmable Peripheral Interconnect (PPI) channels |
   PPI driver | Programmable Peripheral Interconnect (PPI) driver |
  SWI driver | Driver for software interrupts (SWI) |
 BLE Services | |
  Battery Service Client | Battery Service Client module |
   Enumerations | |
   Structures | |
   Types | |
   Functions | |
  Heart Rate Service Client | Heart Rate Service Client module |
   Enumerations | |
   Structures | |
   Types | |
   Functions | |
  Common service definitions | Constants, type definitions and functions that are common to all services |
   Service UUID definitions | |
   Characteristic UUID definitions | |
   Definitions for the Alert Level characteristic values | |
 BLE Libraries | |
  Device Manager | Device Manager Application Interface Abstraction |
   Device Manager Sequence Charts | |
    Security Set-Up & Status Related | |
     Fresh Bonding & Context Store | |
      GAP Central | |
      GAP Peripheral | |
     Link Encryption with Bonded Device | |
      GAP Central | |
      GAP Peripheral | |
    Device Manager Context Management MSCs | |
     Deleting one or all device context | |
      GAP Peripheral/GAP Central: Delete one bonded device | |
      GAP Peripheral/GAP Central: Delete all bonded devices | |
    Initialization and Setup | |
   Service/Protocol Types | Describes the possible types of Service/Protocol Contexts for a bonded/peer device |
   Device Manager Events | This section describes the device manager events that are notified to the application |
    General Events | General or miscellaneous events |
    Link Status Events | Link Status Events |
    Context Management Events | Context Management Events |
   Device Manager Data Types | This section describes all the data types exposed by the module to the application |
   Device Module APIs | This section describes APIs exposed by the module |
    Device Module Set-up APIs | Initialization & registration APIs that are pre-requisite for all other module procedures |
    APIs to set up or read status of security on a link. | This section describes APIs to set up Security. These APIs require that the peer is connected before the procedures can be requested |
    Context Management APIs | Utility APIs offered by the device manager to get information about the peer if and when needed |
    Utility APIs | This section describes the utility APIs offered by the module |
  Assert Handler for debug purposes. | Module for handling of assert during application development when debugging |
  DTM - Direct Test Mode | Module for testing RF/PHY using DTM commands |
  Error Log Module | Module for writing error and stack to flash memory |
  Radio Notification Event Handler | Module for propagating Radio Notification events to the application |
  BLE Date Time characteristic type | Definition of ble_date_time_t type |
  Flash Manager | Module for accessing flash memory |
 BLE Serialization | |
  Serialization Application Hardware Abstraction Layer | Functions which set up hardware on Application board and perform the reset of the Connectivity Board |
  Serialization HAL Transport | HAL Transport layer for serialization |
  Serialization PHY | PHY layer layer for serialization |
  HCI Serialization PHY | HCI PHY layer for serialization |
  Serialization codecs | |
   Application common codecs | |
    DTM Application command request encoders and command response decoders | DTM Application command request encoders and command response decoders |
   Application s120 codecs | |
    GAP Functions for managing memory for security keys in application device. | GAP Application auxiliary functions for synchronizing GAP security keys with the ones stored in the connectivity device |
    Functions for managing memory for user memory request in application device. | Application auxiliary functions for synchronizing user memory with the one stored in the connectivity device |
    Application command request encoders and command response decoders | Application command request encoders and command response decoders |
    Application event decoders | Application event decoders |
    GAP Application command request encoders and command response decoders | GAP Application command request encoders and command response decoders |
    GAP Application event decoders | GAP Application event decoders |
    GATTC Application command request encoders and command response decoders | GATTC Application command request encoders and command response decoders |
    GATTC Application event decoders | GATTC Application event decoders |
    GATTS Application command request encoders and command response decoders | GATTS Application command request encoders and command response decoders |
    GATTS Application event decoders | GATTS Application event decoders |
    L2CAP Application command request encoders and command response decoders | L2CAP Application command request encoders and command response decoders |
    L2CAP Application event decoders | L2CAP Application event decoders |
    SOC Application command request encoders and command response decoders | SOC Application command request encoders and command response decoders |
   Connectivity common codecs | |
    DTM Connectivity command request decoder and command response encoder | DTM Connectivity command request decoder and command response encoder |
   Connectivity s120 codecs | |
    Connectivity command request decoders and command response encoders | Connectivity command request decoders and command response encoders |
    Connectivity event encoders | Connectivity event encoders |
    GAP Connectivity command request decoders and command response encoders | GAP Connectivity command request decoders and command response encoders |
    GAP Connectivity event encoders | GAP Connectivity event encoders |
    GATTC Connectivity command request decoders and command response encoders | GATTC Connectivity command request decoders and command response encoders |
    GATTC Connectivity event encoders | GATTC Connectivity event encoders |
    GATTS Connectivity command request decoders and command response encoders | GATTS Connectivity command request decoders and command response encoders |
    GATTS Connectivity event encoders | GATTS Connectivity event encoders |
    L2CAP Connectivity command request decoders and command response encoders | L2CAP Connectivity command request decoders and command response encoders |
    L2CAP Connectivity event encoders | L2CAP Connectivity event encoders |
    GAP Functions for managing memory for security keys on connectivity device. | GAP Connectivity auxiliary functions for providing static memory required by Soft Device. This memory is used to store GAP security keys |
    Functions for managing memory for user memory request on connectivity device. | Connectivity auxiliary functions for providing static memory required by Soft Device |
    SOC Connectivity command request decoders and command response encoders | SOC Connectivity command request decoders and command response encoderss |
  Application side code | |
   Serialization SoftDevice Transport | Serialization SoftDevice Transport on application side |
   Serialization SoftDevice Handler | Serialization SoftDevice Handler on application side |
  Connectivity application code | |
   Command decoder in the connectivity chip | Decoder for serialized commands from an Application Chip |
   DTM Command Decoder in the connectivity chip | Decoder for serialized DTM commands from an Application Chip |
   Events encoder in the connectivity chip | Events encoder for BLE SoftDevice |
   Events handlers in the connectivity chip | Events handlers used to process high level events in the connectivity application |
   Packets decoder in the connectivity chip | Decoder for serialized packets from an Application Chip |
 SDK Common Libraries | |
  Persistent Storage Interface | Abstracted flash interface |
   Persistent Storage Access Operation Codes | Persistent Storage Access Operation Codes. These are used to report any error during a persistent storage access operation or any general error that may occur in the interface |
   Persistent Memory Interface Data Types | Data Types needed for interfacing with persistent memory |
   Persistent Storage Access Routines | Functions/Interface SDK modules use to persistently store data |
  UART module | UART module interface |
  Button Handler | Buttons handling module |
  FIFO implementation | FIFO implementation |
  Memory Manager | Memory Manager for the nRF51 SDK |
  GPIOTE Handler | GPIOTE handler module |
  Memory pool | Memory pool implementation |
   Memory Pool Internal | Memory pool internal definitions |
  SLIP module | SLIP layer for supporting packet framing in HCI transport |
  HCI Transport | HCI transport module implementation |
   CRC compute | This module implements the CRC-16 calculation in the blocks |
  Pulse-width modulation (PWM) | Module for generating a pulse-width modulated output signal |
  Scheduler | The scheduler is used for transferring execution from the interrupt context to the main context |
  SHA-256 hash library | This module calculates SHA-256 (SHA-2, FIPS-180) hashes |
  Simple Timer | Simple timer module |
  Application Timer | Application timer functionality |
  Debug Logger | Enables debug logs/ trace over UART |
  Common application error handler | Common application error handler and macros for utilizing a common error handler |
  Utility Functions and Definitions | Various types and definitions available to all applications |
  Utility Functions and Definitions (Platform) | Various types and definitions available to all applications when using SoftDevice |
  SDK Error codes | |
   Base defined for SDK Modules | |
   Codes reserved as identification for module where the error occurred. | |
   Codes reserved as identification for IoT errors. | |
   Codes reserved as identification for common errors. | |
   Error / status codes specific to device manager. | |
  Board Support Package | BSP module |
  SoftDevice Event Handler | API for initializing and disabling the SoftDevice |
   Types definitions for ANT support in SoftDevice handler. | This file contains the declarations of types required for ANT stack support. These types will be defined when the preprocessor define ANT_STACK_SUPPORT_REQD is defined |
   Types definitions for BLE support in SoftDevice handler. | This file contains the declarations of types required for BLE stack support. These types will be defined when the preprocessor define BLE_STACK_SUPPORT_REQD is defined |
  Board Support Package: BLE Button Module | Module for controlling BLE behavior through button actions |
S120 (BLE Central) | Application Programming Interface for S120 SoftDevice |
 BLE SoftDevice Common | Type definitions, macros, error codes, SVC and event number subranges etc. common to all S120 SoftDevice modules |
  Events, type definitions and API calls | Module independent events, type definitions and API calls for the BLE SoftDevice |
   Enumerations | |
   Defines | |
    User Memory Types | |
   Structures | |
   Functions | |
  General error codes | General error code definitions for the BLE API |
  Module specific error code subranges | Assignment of subranges for module specific error codes |
  Bluetooth status codes | |
  Module specific SVC, event and option number subranges | Definition of SVC, event and option number subranges for each API module |
  Common types and macro definitions | Common types and macro definitions for the BLE SoftDevice |
   Defines | |
    BLE Connection Handles | |
    Assigned Values for BLE UUIDs | |
    Types of UUID | |
    Bluetooth Appearance values | |
   Structures | |
  Message Sequence Charts | |
   Interrupt-driven Event Retrieval | |
   Thread Mode Event Retrieval | |
   App Buffer Management | |
  SoftDevice Global Error Codes | Global Error definitions |
   Error Codes Base number definitions | |
 Generic Access Profile (GAP) | Definitions and prototypes for the GAP interface |
  Message Sequence Charts | |
   GAP Advertisement | |
   GAP Peripheral Connection Establishment and Termination | |
   GAP Connection Parameter Update | |
   GAP RSSI for connections with event filter | |
   GAP RSSI get sample | |
   GAP Peripheral Pairing: Just Works | |
   GAP Peripheral Bonding: Just Works | |
   GAP Peripheral Bonding: Passkey Entry, Peripheral displays | |
   GAP Peripheral Bonding: Passkey Entry (Central display) or OOB MSC | |
   GAP Bonding: Passkey Entry (Peripheral uses static passkey) MSC | |
   GAP Peripheral Encryption Establishment using stored keys | |
   GAP Peripheral Initiated Security Establishment | |
   GAP Failed Pairing: Keysize out of supported range | |
   GAP Failed Pairing: Keysize too small | |
   GAP Failed Pairing: Pairing aborted by the application | |
   GAP Failed Pairing: Confirm failed | |
   GAP Failed Pairing: Pairing failed from master | |
   GAP Failed Pairing: Timeout | |
   GAP Authenticate request: Timeout | |
   GAP Scanning | |
   GAP Central Connection Establishment and Termination | |
   GAP Central Connection Parameter Update | |
   GAP Central Encryption Establishment using stored keys | |
   GAP Central Pairing: Just Works | |
   GAP Central Bonding: Just Works | |
   GAP Central Bonding: Passkey Entry, Central displays | |
   GAP Central Bonding: Passkey Entry (Peripheral display) or OOB MSC | |
   GAP Central Security Request Reception | |
   GAP Unexpected Security Packet Reception | |
   GAP Central Encryption and Authentication mutual exclusion | |
   GAP Central Connection Parameter Update on multiple links | |
   GAP Central Control Procedure Serialization on multiple links | |
  Enumerations | |
  Defines | |
   SVC return values specific to GAP | |
   GAP Roles | |
   GAP Timeout sources | |
   GAP Address types | |
   GAP Address cycle modes | |
   GAP Advertising and Scan Response Data format | |
   GAP Advertisement Flags | |
   GAP Advertising interval max and min | |
   GAP Scan interval max and min | |
   GAP Scan window max and min | |
   GAP Scan timeout max and min | |
   GAP Advertising types | |
   GAP Advertising filter policies | |
   GAP Advertising timeout values | |
   GAP Discovery modes | |
   GAP IO Capabilities | |
   GAP Authentication Key Types | |
   GAP Security status | |
   GAP Security status sources | |
   GAP Connection Parameters Limits | |
   GAP attribute security requirement setters | |
   GAP Security Modes | |
  Structures | |
  Functions | |
 Generic Attribute Profile (GATT) Client | Definitions and prototypes for the GATT Client interface |
  Message Sequence Charts | |
   GATTC Primary Service Discovery | |
   GATTC Relationship Discovery | |
   GATTC Characteristic Discovery | |
   GATTC Descriptor Discovery | |
   GATTC Read Characteristic Value by UUID | |
   GATTC Characteristic or Descriptor Value Read | |
   GATTC Read Multiple Characteristic Values | |
   GATTC Characteristic or Descriptor Value Write | |
   GATTC Characteristic or Descriptor Value Long Write | |
   GATTC Characteristic or Descriptor Value Reliable Write | |
   GATTC Handle Value Indication | |
   GATTC Handle Value Notification | |
   GATTC Timeout | |
  Enumerations | |
  Defines | |
   SVC return values specific to GATTC | |
  Structures | |
  Functions | |
 Generic Attribute Profile (GATT) Common | Common definitions and prototypes for the GATT interfaces |
  Defines | |
   GATT Timeout sources | |
   GATT Write operations | |
   GATT Execute Write flags | |
   GATT Handle Value operations | |
   GATT Status Codes | |
   Characteristic Presentation Formats | |
   GATT Bluetooth Namespaces | |
  Structures | |
 Generic Attribute Profile (GATT) Server | Definitions and prototypes for the GATTS interface |
  Message Sequence Charts | |
   GATTS ATT Table Population | |
   GATTS Read Request without Authorization | |
   GATTS Write Request without Authorization | |
   GATTS Write Command with or without Authorization | |
   GATTS Read Request with Authorization | |
   GATTS Write Request with Authorization | |
   GATTS Queued Writes: Stack handled, no attributes require authorization | |
   GATTS Queued Writes: Stack handled, one or more attributes require authorization | |
   GATTS Queued Writes: App handled, no attributes require authorization | |
   GATTS Queued Writes: App handled, one or more attributes require authorization | |
   GATTS Queued Writes: Prepare Queue Full | |
   GATTS Queued Writes: Execute Write without Prepare Write | |
   GATTS Handle Value Indication | |
   GATTS Handle Value Notification | |
   GATTS Handle Value Indication or Notification disabled | |
   GATTS Handle Value Indication or Notification with System Attributes Missing | |
   GATTS Service Changed | |
   GATTS System Attributes Handling: Unknown Peer | |
   GATTS System Attributes Handling: Bonded Peer | |
  Enumerations | |
  Defines | |
   SVC return values specific to GATTS | |
   Maximum attribute lengths | |
   GATT Server Service Types | |
   GATT Server Attribute Types | |
   GATT Server Operations | |
   GATT Value Locations | |
   GATT Server Authorization Types | |
   System Attribute Flags | |
  Structures | |
  Functions | |
  User memory layout for Queued Writes | |
 Logical Link Control and Adaptation Protocol (L2CAP) | Definitions and prototypes for the L2CAP interface |
  Message Sequence Charts | |
   L2CAP API | |
  Enumerations | |
  Defines | |
   SVC return values specific to L2CAP | |
  Structures | |
  Functions | |
 SoftDevice Manager API | APIs for SoftDevice management |
  SoftDevice Manager Error Codes | Error definitions for the SDM API |
  Defines | |
  Enumerations | |
  Types | |
  Functions | |
 SoftDevice Global Error Codes | Global Error definitions |
  Error Codes Base number definitions | |
 SoC Library API | APIs for the SoC library |
  SoC Library Error Codes | Error definitions for the SoC library |
  Defines | |
  Types | |
  Functions | |
 Master Boot Record API | APIs for updating SoftDevice and BootLoader |
  Defines | |
  Enumerations | |
  Types | |
  Functions | |