MPLAB Harmony Bluetooth Help
|
Turn the volume down on the host device.
Function DRV_BM64_VolumeDown:
void DRV_BM64_VolumeDown(const DRV_HANDLE handle);
Turn the volume down on the host device by one increment (about 3% of full-scale).
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 |
None.
case BUTTON_STATE_PRESSED: // (debouncing not shown) { if (BSP_SwitchStateGet(BSP_SWITCH_2)==BSP_SWITCH_STATE_PRESSED)) { // note generic version of call (DRV_BT instead of DRV_BM64) is used DRV_BT_volumeUp(appData.bt.handle); appData.buttonState=BUTTON_STATE_WAIT_FOR_RELEASE; } } break;
void DRV_BM64_volumeDown( const DRV_HANDLE handle );
MPLAB Harmony Bluetooth Help
|