MPLAB Harmony Bluetooth Help
|
Set current volume.
Function DRV_BM64_VolumeSet:
void DRV_BM64_VolumeSet(const DRV_HANDLE handle, uint8_t volume);
Set volume for current mode (A2DP, HFP etc.) in percent (0-100).
DRV_BM64_Open must have been called to obtain a valid opened device handle.
Parameters |
Description |
handle |
valid handle to an opened BM64 device driver unique to client |
volume |
volume level in percent, 0-100 |
None.
// note generic version of call (DRV_BT instead of DRV_BM64) is used * volume = DRV_BT_VolumeGet(appData.bt.handle,50); // set volume to 50%
void DRV_BM64_VolumeSet( const DRV_HANDLE handle, uint8_t volume );
MPLAB Harmony Bluetooth Help
|