Drivers Libraries Help > BM64 Bluetooth Driver Library > Files > drv_bm64.h
MPLAB Harmony Bluetooth Help
drv_bm64.h

drv_bm64.h

BM64 Bluetooth Static Driver main header file

Description

BM64 Bluetooth Static Driver implementation 

This file is the header file for the external (public) API of the static implementation of the BM64 driver. 

The BM64 is a Bluetooth 4.2 Stereo Module that supports classic A2DP, AVRCP, HFP, HSP, and SPP protocols as well as BLE (Bluetooth Low Energy). 

The BM64 streams I2S audio at up to 24-bit, 96 kHz. It uses a UART to receive commands from the host microcontroller and and send events back. 

All functions and constants in this file are named with the format DRV_BM64_xxx, where xxx is a function name or constant. These names are redefined in the appropriate configuration?s system_config.h file to the format DRV_BT_xxx using #defines so that Bluetooth code in the application can be written as generically as possible (e.g. by writing DRV_BT_Open instead of DRV_BM64_Open etc.).