blob: 808df9ffaccd37ea823d312dd9b8a0c0bf7bcd56 [file] [log] [blame]
/*
* Copyright 2020 HIMSA II K/S - www.himsa.com.
* Represented by EHIMA - www.ehima.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#include <queue>
#include <vector>
#include "raw_address.h"
namespace bluetooth {
namespace vc {
namespace internal {
/* clang-format off */
/* Volume control point opcodes */
static constexpr uint8_t kControlPointOpcodeVolumeDown = 0x00;
static constexpr uint8_t kControlPointOpcodeVolumeUp = 0x01;
static constexpr uint8_t kControlPointOpcodeUnmuteVolumeDown = 0x02;
static constexpr uint8_t kControlPointOpcodeUnmuteVolumeUp = 0x03;
static constexpr uint8_t kControlPointOpcodeSetAbsoluteVolume = 0x04;
static constexpr uint8_t kControlPointOpcodeUnmute = 0x05;
static constexpr uint8_t kControlPointOpcodeMute = 0x06;
static const Uuid kVolumeControlUuid = Uuid::From16Bit(0x1844);
static const Uuid kVolumeControlStateUuid = Uuid::From16Bit(0x2B7D);
static const Uuid kVolumeControlPointUuid = Uuid::From16Bit(0x2B7E);
static const Uuid kVolumeFlagsUuid = Uuid::From16Bit(0x2B7F);
/* clang-format on */
} // namespace internal
} // namespace vc
} // namespace bluetooth