Drivers Libraries Help > BM64 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 BM64 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/BM64. Header or source files generated from templates are located in bt/driver/BM64/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 
drv_bm64_ble.h  
Header file for the internal functions of the driver related to BLE. 
drv_bm64_command_decode.h  
Header file for the internal functions of the driver for decoding events from the BM64. 
drv_bm64_command_send.h  
Header file for the internal functions of the driver for sending commands to the BM64. 
drv_bm64_gpio.h  
Header file for the internal functions of the driver related to the BM64’s control pins. 
drv_bm64_line_in.h  
Header file for the internal functions of the driver related to the BM64’s line in input. 
src/drv_bm64_local.h 
Header file for the functions local to the BM64 driver (generated from template). 
drv_bm64_sha1.h  
Header file for the internal functions of the driver for performing SHA hashes. 
drv_bm64_uart.h  
Header file for the internal functions of the driver related to the BM64’s UART interface. 
src/drv_bm64.c  
Main source implementation file for the driver (generated from template). 
src/drv_bm64_ble.c  
Source file for the internal functions of the driver related to BLE. 
src/drv_bm64_command_decode.c  
Source file for the internal functions of the driver for decoding events from the BM64. 
src/drv_bm64_command_send.c  
Source file for the internal functions of the driver for sending commands to the BM64 
src/drv_bm64_gpio.c  
Source file for the internal functions of the driver related to the BM64’s control pins. 
src/drv_bm64_line_in.c  
Source file for the internal functions of the driver related to the BM64’s line in input. 
src/drv_bm64_sha1.c 
Source file for the internal functions of the driver for performing SHA hashs. 
src/drv_bm64_uart.c  
Source file for the internal functions of the driver related to the BM64’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 BM64 Bluetooth Driver Library depends on the following modules:

  • I2S Driver Library
  • Timer Driver Library
  • USART Driver Library