Drivers Libraries Help > BM71 Bluetooth Driver Library > Building the Library
MPLAB Harmony Bluetooth Help
Building the Library

This section lists the files that are available in the /src folder of the BM71 Bluetooth Driver. It lists which files need to be included in the build based on either a hardware feature present on the board or configuration option selected by the system. 

The following three tables list and describe the header (.h) and source (.c) files that implement this library. The parent folder for these files is bt/driver/BM71. Header or source files generated from templates are located in bt/driver/BM71/templates 

Interface File(s) 

This table lists and describes the header files that must be included (i.e., using #include) by any code that uses this library.

Source File Name 
Description 
Header file that exports the driver API (generated from template). 

Required File(s)

 
All of the required files listed in the following table are automatically added into the MPLAB X IDE project by the MHC when the library is selected for use. 

This table lists and describes the source and header files that must always be included in the MPLAB X IDE project to build this library.

Source File Name 
Description 
Header file for the internal functions of the driver related to BLE. 
Header file for the internal functions of the driver for decoding events from the BM71. 
Header file for the internal functions of the driver for sending commands to the BM71. 
Header file for the internal functions of the driver related to the BM71’s control pins. 
src/drv_bm71_local.h 
Header file for the functions local to the BM71 driver (generated from template). 
Header file for the internal functions of the driver related to the BM71’s UART interface. 
src/drv_bm71.c  
Main source implementation file for the driver (generated from template). 
src/drv_bm71_ble.c  
Source file for the internal functions of the driver related to BLE. 
src/drv_bm71_command_decode.c  
Source file for the internal functions of the driver for decoding events from the BM71. 
src/drv_bm71_command_send.c  
Source file for the internal functions of the driver for sending commands to the BM71 
src/drv_bm71_gpio.c  
Source file for the internal functions of the driver related to the BM71’s control pins. 
templates/drv_bm71_uart.c.ftl 
Template source file for the internal functions of the driver related to the BM71’s UART interface. 

Optional File(s) 

This table lists and describes the source and header files that may optionally be included if required for the desired implementation.

Source File Name 
Description 
There are no optional files for this driver. 
N/A 

Module Dependencies 

The BM71 Bluetooth Driver Library depends on the following modules:

  • Timer Driver Library
  • UART/USART Driver Library