diff --git a/.gitignore b/.gitignore
index 3a12b3a1..cb2d8980 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,4 +11,10 @@ cmake_install.cmake
install_manifest.txt
build/**
/cmake-build-*/
-.idea/
\ No newline at end of file
+.idea/
+/build/
+/buildenv/
+/protobuf/build/
+/protobuf/cmake-build-debug/
+/protobuf/.idea/
+/.vscode/
\ No newline at end of file
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8861f236..bcd909dc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,25 +1,29 @@
cmake_minimum_required(VERSION 3.5.1)
+project(aasdk)
+message(STATUS "AASDK Library")
+message(STATUS "Cross Compiling?")
+
+# Cross Compiling Architecture
if( TARGET_ARCH STREQUAL "amd64" )
- message("Building for amd64")
- set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
+ message(STATUS "...amd64")
+ set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
elseif( TARGET_ARCH STREQUAL "armhf" )
- message("Building for armhf")
+ message(STATUS "...armhf")
set(CMAKE_C_COMPILER /usr/bin/arm-linux-gnueabihf-gcc-8)
set(CMAKE_CXX_COMPILER /usr/bin/arm-linux-gnueabihf-g++-8)
- set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "armhf")
+ set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "armhf")
else()
- message("Target Architecture not specified, not cross compiling")
+ message(STATUS "...not cross compiling")
endif()
-set (aasdk_VERSION_MAJOR 3)
-set (aasdk_VERSION_MINOR 1)
-set (aasdk_VERSION_PATCH 0)
-
-project(aasdk
-VERSION ${aasdk_VERSION_MAJOR}.${aasdk_VERSION_MINOR}.${aasdk_VERSION_PATCH}
-LANGUAGES CXX)
+# Set Compile Versions
+set(LIBRARY_BUILD_DATE "20241121") # Binary Release Build Date
+set(LIBRARY_BUILD_MAJOR_RELEASE 4) # Binary Release Build Number (increment if released on same day)
+set(LIBRARY_BUILD_MINOR_RELEASE 0) # Binary Release Build Number (increment if released on same day)
+set(LIBRARY_BUILD_INCREMENTAL 0) # Binary Build Version - Increment for Each Build
+# Cache
find_program(CCACHE_PROGRAM ccache)
if(CCACHE_PROGRAM)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
@@ -31,27 +35,48 @@ set(sources_directory ${base_directory}/src)
set(include_directory ${base_directory}/include)
set(include_ut_directory ${base_directory}/unit_test)
-set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${base_directory}/lib)
-set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${base_directory}/lib)
-
-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${base_directory}/bin)
-set(EXECUTABLE_OUTPUT_PATH ${base_directory}/bin)
+# Configure CMAKE
+message(STATUS "Configuring CMAKE")
+set(CMAKE_CXX_STANDARD 17)
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
-SET(CMAKE_CXX_STANDARD 14)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake_modules/")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_INIT} -fPIC -Wall -pedantic")
set(CMAKE_CXX_FLAGS_DEBUG "-g -O0")
set(CMAKE_CXX_FLAGS_RELEASE "-g -O3 -DNDEBUG")
+# Default to Release mode unless overridden with -DCMAKE_BUILD_TYPE=Debug on cmake command
+if(NOT CMAKE_BUILD_TYPE)
+ message(STATUS "Forcing Release build type")
+ set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
+ # Set the possible values of build type for cmake-gui
+ set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
+endif()
+
+# Paths
+set(sources_directory ${CMAKE_CURRENT_SOURCE_DIR}/src)
+set(include_directory ${CMAKE_CURRENT_SOURCE_DIR}/include)
+set(include_ut_directory ${CMAKE_CURRENT_SOURCE_DIR}/include_ut)
+
+set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib)
+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib)
+
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin)
+set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/bin)
+
+set (CMAKE_PROJECT_VERSION_PATCH ${_commit_timestamp})
+
+# Configure Boost
set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_RUNTIME OFF)
add_definitions(-DBOOST_ALL_DYN_LINK)
-include(${base_directory}/cmake_modules/gitversion.cmake)
-set (aasdk_VERSION_PATCH ${_commit_timestamp})
-set (CMAKE_PROJECT_VERSION_PATCH ${aasdk_VERSION_PATCH})
+if(CMAKE_BUILD_TYPE STREQUAL "Release")
+ message(STATUS "Disabling Boost DEBUG logs")
+ add_definitions(-DNDEBUG)
+endif()
if(WIN32)
set(WINSOCK2_LIBRARIES "ws2_32")
@@ -61,23 +86,32 @@ if(AASDK_TEST)
include(ExternalGtest)
endif(AASDK_TEST)
-add_subdirectory(aasdk_proto)
+find_package(aap_protobuf REQUIRED)
-find_package(Boost REQUIRED COMPONENTS system log_setup log)
+# Building on a Mac requires Abseil
+if(CMAKE_SYSTEM_NAME STREQUAL "Darwin") # macOS
+ message(STATUS "MacOS System Detected")
+ find_package(protobuf REQUIRED CONFIG)
+ find_package(absl REQUIRED)
+else ()
+ find_package(Protobuf REQUIRED)
+endif ()
+
+include(FindProtobuf)
+
+find_package(Boost REQUIRED COMPONENTS system log_setup log OPTIONAL_COMPONENTS unit_test_framework)
find_package(libusb-1.0 REQUIRED)
-find_package(Protobuf REQUIRED)
find_package(OpenSSL REQUIRED)
-set(AASDK_PROTO_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR})
-
-include_directories(${AASDK_PROTO_INCLUDE_DIRS}
- ${Boost_INCLUDE_DIRS}
- ${PROTOBUF_INCLUDE_DIR}
- ${OPENSSL_INCLUDE_DIR}
- ${GTEST_INCLUDE_DIRS}
- ${GMOCK_INCLUDE_DIRS}
- ${include_directory}
- ${include_ut_directory})
+include_directories(
+ ${Boost_INCLUDE_DIRS}
+ ${PROTOBUF_INCLUDE_DIR}
+ ${AAP_PROTOBUF_INCLUDE_DIR}
+ ${OPENSSL_INCLUDE_DIR}
+ ${GTEST_INCLUDE_DIRS}
+ ${GMOCK_INCLUDE_DIRS}
+ ${include_directory}
+ ${include_ut_directory})
file(GLOB_RECURSE source_files ${sources_directory}/*.cpp)
file(GLOB_RECURSE include_files ${include_directory}/*.hpp)
@@ -86,31 +120,76 @@ file(GLOB_RECURSE tests_include_files ${include_ut_directory}/*.hpp)
list(REMOVE_ITEM source_files ${tests_source_files})
-add_library(aasdk SHARED
- ${source_files}
- ${include_files})
-
-add_dependencies(aasdk aasdk_proto)
-target_link_libraries(aasdk
- aasdk_proto
- libusb
- ${Boost_LIBRARIES}
- ${PROTOBUF_LIBRARIES}
- ${OPENSSL_LIBRARIES}
- ${WINSOCK2_LIBRARIES})
-
-set(aasdk_VERSION_STRING ${aasdk_VERSION_MAJOR}.${aasdk_VERSION_MINOR}.${aasdk_VERSION_PATCH})
-message(INFO " Project Version: ${aasdk_VERSION_STRING}")
-set_target_properties(aasdk PROPERTIES VERSION ${aasdk_VERSION_STRING}
- SOVERSION ${aasdk_VERSION_MAJOR})
-
-install(TARGETS aasdk DESTINATION lib COMPONENT libraries)
-install(DIRECTORY include/aasdk DESTINATION include COMPONENT headers)
+if(CMAKE_SYSTEM_NAME STREQUAL "Darwin") # macOS
+ message(NOTICE "Configuring STATIC Library for MacOS")
+ add_library(aasdk STATIC
+ ${source_files}
+ ${include_files})
+else()
+ message(NOTICE "Configuring SHARED Library")
+ add_library(aasdk SHARED
+ ${source_files}
+ ${include_files})
+endif()
+target_include_directories(aasdk PUBLIC ${AAP_PROTOBUF_INCLUDE_DIR})
+
+target_link_libraries(aasdk PUBLIC
+ libusb
+ ${Boost_LIBRARIES}
+ ${PROTOBUF_LIBRARIES}
+ ${AAP_PROTOBUF_LIB_DIR}
+ ${OPENSSL_LIBRARIES}
+ ${WINSOCK2_LIBRARIES})
+
+
+set(LIBRARY_VERSION_STRING "${LIBRARY_BUILD_MAJOR_RELEASE}.${LIBRARY_BUILD_MINOR_RELEASE}.${LIBRARY_BUILD_INCREMENTAL}+${LIBRARY_BUILD_DATE}")
+message(STATUS "Project Version: ${LIBRARY_VERSION_STRING}")
+set_target_properties(aasdk
+ PROPERTIES VERSION ${LIBRARY_VERSION_STRING} SOVERSION ${LIBRARY_BUILD_INCREMENTAL})
+
+# Install rules
+install(TARGETS aasdk libusb
+ EXPORT aasdkTargets
+ LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib
+ RUNTIME DESTINATION bin
+ INCLUDES DESTINATION include
+)
+
+# Install headers explicitly
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/aasdk
+ DESTINATION include
+)
+
+# Export the targets to a script
+install(EXPORT aasdkTargets
+ FILE aasdkTargets.cmake
+ NAMESPACE AASDK::
+ DESTINATION lib/cmake/aasdk
+)
+
+# Create a Config file for FindPackage
+include(CMakePackageConfigHelpers)
+write_basic_package_version_file(
+ "${CMAKE_CURRENT_BINARY_DIR}/aasdkConfigVersion.cmake"
+ VERSION 1.0
+ COMPATIBILITY AnyNewerVersion
+)
+
+configure_package_config_file(${CMAKE_CURRENT_SOURCE_DIR}/Config.cmake.in
+ "${CMAKE_CURRENT_BINARY_DIR}/aasdkConfig.cmake"
+ INSTALL_DESTINATION lib/cmake/aasdk
+)
+
+# Install the config files
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/aasdkConfigVersion.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/aasdkConfig.cmake"
+ DESTINATION lib/cmake/aasdk)
if(AASDK_TEST)
add_executable(aasdk_ut
- ${tests_source_files}
- ${tests_include_files})
+ ${tests_source_files}
+ ${tests_include_files})
add_dependencies(aasdk_ut aasdk)
target_link_libraries(aasdk_ut
@@ -126,27 +205,29 @@ if(AASDK_TEST)
setup_target_for_coverage(NAME aasdk_coverage EXECUTABLE aasdk_ut DEPENDENCIES aasdk_ut)
endif(AASDK_CODE_COVERAGE)
endif(AASDK_TEST)
-SET(CPACK_GENERATOR "DEB")
-SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "AASDK") #required
-SET(CPACK_PACKAGE_VENDOR "AASDK")
-set(CPACK_PACKAGE_VERSION ${aasdk_VERSION_STRING})
+
+
+set(CPACK_GENERATOR "DEB")
+set(CPACK_DEBIAN_PACKAGE_MAINTAINER "AASDK") #required
+set(CPACK_PACKAGE_VENDOR "AASDK")
+set(CPACK_PACKAGE_VERSION ${LIBRARY_VERSION_STRING})
set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libusb-1.0-0,libboost-all-dev,libssl-dev,libprotobuf-dev")
set(CPACK_COMPONENTS_ALL libraries headers Unspecified)
set(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME "Libraries")
set(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C++ Headers")
set(CPACK_COMPONENT_LIBRARIES_DESCRIPTION
- "Static libraries used to build programs with AASDK")
+ "Static libraries used to build programs with AASDK")
set(CPACK_COMPONENT_HEADERS_DESCRIPTION
- "C/C++ header files for use with AASDK")
+ "C/C++ header files for use with AASDK")
set(CPACK_COMPONENT_LIBRARIES_GROUP "Development")
set(CPACK_COMPONENT_HEADERS_GROUP "Development")
set(CPACK_COMPONENT_GROUP_DEVELOPMENT_EXPANDED ON)
set(CPACK_COMPONENT_GROUP_DEVELOPMENT_DESCRIPTION
- "All of the tools you'll ever need to develop software")
+ "All of the tools you'll ever need to develop software")
set(CPACK_COMPONENT_HEADERS_DEPENDS libraries)
set(CPACK_ALL_INSTALL_TYPES Full Developer)
set(CPACK_INSTALL_TYPE_FULL_DISPLAY_NAME "Everything")
set(CPACK_COMPONENT_LIBRARIES_INSTALL_TYPES Developer Full)
set(CPACK_COMPONENT_HEADERS_INSTALL_TYPES Developer Full)
-INCLUDE(CPack)
+include(CPack)
diff --git a/Config.cmake.in b/Config.cmake.in
new file mode 100644
index 00000000..2563ac96
--- /dev/null
+++ b/Config.cmake.in
@@ -0,0 +1,3 @@
+set(AASDK_INCLUDE_DIRS @CMAKE_INSTALL_FULL_INCLUDEDIR@)
+set(AASDK_LIB_DIRS @CMAKE_INSTALL_FULL_LIBDIR@)
+include("${CMAKE_CURRENT_LIST_DIR}/aasdkTargets.cmake")
\ No newline at end of file
diff --git a/RELEASE.txt b/RELEASE.txt
new file mode 100644
index 00000000..920a25a7
--- /dev/null
+++ b/RELEASE.txt
@@ -0,0 +1,10 @@
+Release Notes
+=============
+20241120 - 2.0.1
+- Restructure AASDK Proto Protobuf files for Android Auto 1.6 Support based on information from https://milek7.pl/.stuff/galdocs/readme.md
+This fleshes out enums and other methods with their full naming conventions for better readability and understanding.
+- Restructure AASDK source/header with additional renames to clarify differences between AudioService, VideoService and AVInput. Updated to MediaSinkService which is extended by AudioMediaSinkService and VideoMediaSinkService which themselves are extended by the individual service channels.
+- Added initial GenericNotification, MediaBrowser, MediaPlaybackStatus, PhoneStatus, Radio, VendorExtension and WifiProjection services.
+- Update AASDK_LOG entries for extra consistency
+- Simplify CMAKE to build and install keeping parameters to a minimum. Default to Release mode and Raspberry PI build unless otherwise specified.
+-
diff --git a/aasdk_proto/AVChannelData.proto b/aasdk_proto/AVChannelData.proto
deleted file mode 100644
index f7be2419..00000000
--- a/aasdk_proto/AVChannelData.proto
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "AVStreamTypeEnum.proto";
-import "AudioTypeEnum.proto";
-import "AudioConfigData.proto";
-import "VideoConfigData.proto";
-
-package aasdk.proto.data;
-
-message AVChannel
-{
- required enums.AVStreamType.Enum stream_type = 1;
- optional enums.AudioType.Enum audio_type = 2;
- repeated AudioConfig audio_configs = 3;
- repeated VideoConfig video_configs = 4;
- optional bool available_while_in_call = 5;
-}
diff --git a/aasdk_proto/AVChannelMessageIdsEnum.proto b/aasdk_proto/AVChannelMessageIdsEnum.proto
deleted file mode 100644
index 54702d0b..00000000
--- a/aasdk_proto/AVChannelMessageIdsEnum.proto
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.ids;
-
-message AVChannelMessage
-{
- enum Enum
- {
- AV_MEDIA_WITH_TIMESTAMP_INDICATION = 0x0000;
- AV_MEDIA_INDICATION = 0x0001;
- SETUP_REQUEST = 0x8000;
- START_INDICATION = 0x8001;
- STOP_INDICATION = 0x8002;
- SETUP_RESPONSE = 0x8003;
- AV_MEDIA_ACK_INDICATION = 0x8004;
- AV_INPUT_OPEN_REQUEST = 0x8005;
- AV_INPUT_OPEN_RESPONSE = 0x8006;
- VIDEO_FOCUS_REQUEST = 0x8007;
- VIDEO_FOCUS_INDICATION = 0x8008;
- }
-}
diff --git a/aasdk_proto/AVChannelSetupRequestMessage.proto b/aasdk_proto/AVChannelSetupRequestMessage.proto
deleted file mode 100644
index e7741438..00000000
--- a/aasdk_proto/AVChannelSetupRequestMessage.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message AVChannelSetupRequest
-{
- required uint32 config_index = 1;
-}
diff --git a/aasdk_proto/AVChannelSetupResponseMessage.proto b/aasdk_proto/AVChannelSetupResponseMessage.proto
deleted file mode 100644
index 6d337821..00000000
--- a/aasdk_proto/AVChannelSetupResponseMessage.proto
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "AVChannelSetupStatusEnum.proto";
-
-package aasdk.proto.messages;
-
-message AVChannelSetupResponse
-{
- required enums.AVChannelSetupStatus.Enum media_status = 1;
- required uint32 max_unacked = 2;
- repeated uint32 configs = 3;
-}
diff --git a/aasdk_proto/AVChannelSetupStatusEnum.proto b/aasdk_proto/AVChannelSetupStatusEnum.proto
deleted file mode 100644
index dd3dc196..00000000
--- a/aasdk_proto/AVChannelSetupStatusEnum.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message AVChannelSetupStatus
-{
- enum Enum
- {
- NONE = 0;
- FAIL = 1;
- OK = 2;
- }
-}
diff --git a/aasdk_proto/AVChannelStartIndicationMessage.proto b/aasdk_proto/AVChannelStartIndicationMessage.proto
deleted file mode 100644
index 3f9d39d2..00000000
--- a/aasdk_proto/AVChannelStartIndicationMessage.proto
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message AVChannelStartIndication
-{
- required int32 session = 1;
- required uint32 config = 2;
-}
diff --git a/aasdk_proto/AVChannelStopIndicationMessage.proto b/aasdk_proto/AVChannelStopIndicationMessage.proto
deleted file mode 100644
index 0332371f..00000000
--- a/aasdk_proto/AVChannelStopIndicationMessage.proto
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message AVChannelStopIndication
-{
-}
diff --git a/aasdk_proto/AVInputChannelData.proto b/aasdk_proto/AVInputChannelData.proto
deleted file mode 100644
index 940a5532..00000000
--- a/aasdk_proto/AVInputChannelData.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "AVStreamTypeEnum.proto";
-import "AudioConfigData.proto";
-
-package aasdk.proto.data;
-
-message AVInputChannel
-{
- required enums.AVStreamType.Enum stream_type = 1;
- required AudioConfig audio_config = 2;
- optional bool available_while_in_call = 3;
-}
diff --git a/aasdk_proto/AVInputOpenRequestMessage.proto b/aasdk_proto/AVInputOpenRequestMessage.proto
deleted file mode 100644
index dbe44dfe..00000000
--- a/aasdk_proto/AVInputOpenRequestMessage.proto
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message AVInputOpenRequest
-{
- required bool open = 1;
- optional bool anc = 2;
- optional bool ec = 3;
- optional int32 max_unacked = 4;
-}
diff --git a/aasdk_proto/AVInputOpenResponseMessage.proto b/aasdk_proto/AVInputOpenResponseMessage.proto
deleted file mode 100644
index c4b06387..00000000
--- a/aasdk_proto/AVInputOpenResponseMessage.proto
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message AVInputOpenResponse
-{
- required int32 session = 1;
- required uint32 value = 2;
-}
diff --git a/aasdk_proto/AVMediaAckIndicationMessage.proto b/aasdk_proto/AVMediaAckIndicationMessage.proto
deleted file mode 100644
index 58b5de49..00000000
--- a/aasdk_proto/AVMediaAckIndicationMessage.proto
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message AVMediaAckIndication
-{
- required int32 session = 1;
- required uint32 value = 2;
-}
diff --git a/aasdk_proto/AVStreamTypeEnum.proto b/aasdk_proto/AVStreamTypeEnum.proto
deleted file mode 100644
index 4202c040..00000000
--- a/aasdk_proto/AVStreamTypeEnum.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message AVStreamType
-{
- enum Enum
- {
- NONE = 0;
- AUDIO = 1;
- VIDEO = 3;
- }
-}
diff --git a/aasdk_proto/AbsoluteInputEventData.proto b/aasdk_proto/AbsoluteInputEventData.proto
deleted file mode 100644
index efc0a5b6..00000000
--- a/aasdk_proto/AbsoluteInputEventData.proto
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message AbsoluteInputEvent
-{
- required uint32 scan_code = 1;
- required int32 value = 2;
-}
diff --git a/aasdk_proto/AbsoluteInputEventsData.proto b/aasdk_proto/AbsoluteInputEventsData.proto
deleted file mode 100644
index d328c429..00000000
--- a/aasdk_proto/AbsoluteInputEventsData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "AbsoluteInputEventData.proto";
-
-package aasdk.proto.data;
-
-message AbsoluteInputEvents
-{
- repeated AbsoluteInputEvent absolute_input_events = 1;
-}
diff --git a/aasdk_proto/AccelData.proto b/aasdk_proto/AccelData.proto
deleted file mode 100644
index 35a7445a..00000000
--- a/aasdk_proto/AccelData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message Accel
-{
- required int32 acceleration_x = 1;
- required int32 acceleration_y = 2;
- required int32 acceleration_z = 3;
-}
diff --git a/aasdk_proto/AudioConfigData.proto b/aasdk_proto/AudioConfigData.proto
deleted file mode 100644
index 7daca1c8..00000000
--- a/aasdk_proto/AudioConfigData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message AudioConfig
-{
- required uint32 sample_rate = 1;
- required uint32 bit_depth = 2;
- required uint32 channel_count = 3;
-}
diff --git a/aasdk_proto/AudioFocusRequestMessage.proto b/aasdk_proto/AudioFocusRequestMessage.proto
deleted file mode 100644
index 1bece29c..00000000
--- a/aasdk_proto/AudioFocusRequestMessage.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "AudioFocusTypeEnum.proto";
-
-package aasdk.proto.messages;
-
-message AudioFocusRequest
-{
- required enums.AudioFocusType.Enum audio_focus_type = 1;
-}
diff --git a/aasdk_proto/AudioFocusResponseMessage.proto b/aasdk_proto/AudioFocusResponseMessage.proto
deleted file mode 100644
index 1b00ebe6..00000000
--- a/aasdk_proto/AudioFocusResponseMessage.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "AudioFocusStateEnum.proto";
-
-package aasdk.proto.messages;
-
-message AudioFocusResponse
-{
- required enums.AudioFocusState.Enum audio_focus_state = 1;
-}
diff --git a/aasdk_proto/AudioFocusStateEnum.proto b/aasdk_proto/AudioFocusStateEnum.proto
deleted file mode 100644
index c79eddf8..00000000
--- a/aasdk_proto/AudioFocusStateEnum.proto
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message AudioFocusState
-{
- enum Enum
- {
- NONE = 0;
- GAIN = 1;
- GAIN_TRANSIENT = 2;
- LOSS = 3;
- LOSS_TRANSIENT_CAN_DUCK = 4;
- LOSS_TRANSIENT = 5;
- GAIN_MEDIA_ONLY = 6;
- GAIN_TRANSIENT_GUIDANCE_ONLY = 7;
- }
-}
diff --git a/aasdk_proto/AudioFocusTypeEnum.proto b/aasdk_proto/AudioFocusTypeEnum.proto
deleted file mode 100644
index 12bc0576..00000000
--- a/aasdk_proto/AudioFocusTypeEnum.proto
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message AudioFocusType
-{
- enum Enum
- {
- NONE = 0;
- GAIN = 1;
- GAIN_TRANSIENT = 2;
- GAIN_NAVI = 3;
- RELEASE = 4;
- }
-}
diff --git a/aasdk_proto/AudioTypeEnum.proto b/aasdk_proto/AudioTypeEnum.proto
deleted file mode 100644
index c80f29fb..00000000
--- a/aasdk_proto/AudioTypeEnum.proto
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message AudioType
-{
- enum Enum
- {
- NONE = 0;
- SPEECH = 1;
- SYSTEM = 2;
- MEDIA = 3;
- ALARM = 4;
- }
-}
diff --git a/aasdk_proto/AuthCompleteIndicationMessage.proto b/aasdk_proto/AuthCompleteIndicationMessage.proto
deleted file mode 100644
index 36d3a120..00000000
--- a/aasdk_proto/AuthCompleteIndicationMessage.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "StatusEnum.proto";
-
-package aasdk.proto.messages;
-
-message AuthCompleteIndication
-{
- required enums.Status.Enum status = 1;
-}
diff --git a/aasdk_proto/BindingRequestMessage.proto b/aasdk_proto/BindingRequestMessage.proto
deleted file mode 100644
index 9b94cee9..00000000
--- a/aasdk_proto/BindingRequestMessage.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message BindingRequest
-{
- repeated int32 scan_codes = 1;
-}
diff --git a/aasdk_proto/BindingResponseMessage.proto b/aasdk_proto/BindingResponseMessage.proto
deleted file mode 100644
index 8d48b25c..00000000
--- a/aasdk_proto/BindingResponseMessage.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "StatusEnum.proto";
-
-package aasdk.proto.messages;
-
-message BindingResponse
-{
- required enums.Status.Enum status = 1;
-}
diff --git a/aasdk_proto/BluetoothChannelData.proto b/aasdk_proto/BluetoothChannelData.proto
deleted file mode 100644
index 411f796a..00000000
--- a/aasdk_proto/BluetoothChannelData.proto
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "BluetoothPairingMethodEnum.proto";
-
-package aasdk.proto.data;
-
-message BluetoothChannel
-{
- required string adapter_address = 1;
- repeated enums.BluetoothPairingMethod.Enum supported_pairing_methods = 2;
-}
diff --git a/aasdk_proto/BluetoothChannelMessageIdsEnum.proto b/aasdk_proto/BluetoothChannelMessageIdsEnum.proto
deleted file mode 100644
index ff5d6405..00000000
--- a/aasdk_proto/BluetoothChannelMessageIdsEnum.proto
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.ids;
-
-message BluetoothChannelMessage
-{
- enum Enum
- {
- NONE = 0x0000;
- PAIRING_REQUEST = 0x8001;
- PAIRING_RESPONSE = 0x8002;
- AUTH_DATA = 0x8003;
- }
-}
-
diff --git a/aasdk_proto/BluetoothPairingMethodEnum.proto b/aasdk_proto/BluetoothPairingMethodEnum.proto
deleted file mode 100644
index 92beaa5d..00000000
--- a/aasdk_proto/BluetoothPairingMethodEnum.proto
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message BluetoothPairingMethod
-{
- enum Enum
- {
- NONE = 0;
- UNK_1 = 1;
- A2DP = 2;
- UNK_3 = 3;
- HFP = 4;
- }
-}
diff --git a/aasdk_proto/BluetoothPairingRequestMessage.proto b/aasdk_proto/BluetoothPairingRequestMessage.proto
deleted file mode 100644
index 08cb16d8..00000000
--- a/aasdk_proto/BluetoothPairingRequestMessage.proto
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "BluetoothPairingMethodEnum.proto";
-
-package aasdk.proto.messages;
-
-message BluetoothPairingRequest
-{
- required string phone_address = 1;
- required enums.BluetoothPairingMethod.Enum pairing_method = 2;
-}
diff --git a/aasdk_proto/BluetoothPairingResponseMessage.proto b/aasdk_proto/BluetoothPairingResponseMessage.proto
deleted file mode 100644
index 5d57e055..00000000
--- a/aasdk_proto/BluetoothPairingResponseMessage.proto
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "BluetoothPairingStatusEnum.proto";
-
-package aasdk.proto.messages;
-
-message BluetoothPairingResponse
-{
- required bool already_paired = 1;
- required enums.BluetoothPairingStatus.Enum status = 2;
-}
diff --git a/aasdk_proto/BluetoothPairingStatusEnum.proto b/aasdk_proto/BluetoothPairingStatusEnum.proto
deleted file mode 100644
index b2e7ef8c..00000000
--- a/aasdk_proto/BluetoothPairingStatusEnum.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message BluetoothPairingStatus
-{
- enum Enum
- {
- NONE = 0;
- OK = 1;
- FAIL = 2;
- }
-}
diff --git a/aasdk_proto/ButtonCodeEnum.proto b/aasdk_proto/ButtonCodeEnum.proto
deleted file mode 100644
index 0781d596..00000000
--- a/aasdk_proto/ButtonCodeEnum.proto
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message ButtonCode
-{
- enum Enum
- {
- NONE = 0x00;
- MICROPHONE_2 = 0x01;
- MENU = 0x02;
- HOME = 0x03;
- BACK = 0x04;
- PHONE = 0x05;
- CALL_END = 0x06;
- UP = 0x13;
- DOWN = 0x14;
- LEFT = 0x15;
- RIGHT = 0x16;
- ENTER = 0x17;
- MICROPHONE_1 = 0x54;
- TOGGLE_PLAY = 0x55;
- NEXT = 0x57;
- PREV = 0x58;
- PLAY = 0x7E;
- PAUSE = 0x7F;
- MUSIC = 0xD1;
- SCROLL_WHEEL = 0x10000;
- MEDIA = 0x10001;
- NAVIGATION = 0x10002;
- RADIO = 0x10003;
- TEL = 0x10004;
- PRIMARY_BUTTON = 0x10005;
- SECONDARY_BUTTON = 0x10006;
- TERTIARY_BUTTON = 0x10007;
- }
-}
diff --git a/aasdk_proto/ButtonEventData.proto b/aasdk_proto/ButtonEventData.proto
deleted file mode 100644
index 8ae03678..00000000
--- a/aasdk_proto/ButtonEventData.proto
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message ButtonEvent
-{
- required uint32 scan_code = 1;
- required bool is_pressed = 2;
- optional uint32 meta = 3;
- optional bool long_press = 4;
-}
diff --git a/aasdk_proto/ButtonEventsData.proto b/aasdk_proto/ButtonEventsData.proto
deleted file mode 100644
index 52bc70f6..00000000
--- a/aasdk_proto/ButtonEventsData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "ButtonEventData.proto";
-
-package aasdk.proto.data;
-
-message ButtonEvents
-{
- repeated ButtonEvent button_events = 1;
-}
diff --git a/aasdk_proto/CMakeLists.txt b/aasdk_proto/CMakeLists.txt
deleted file mode 100644
index 4c0d40fc..00000000
--- a/aasdk_proto/CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-include(FindProtobuf)
-find_package(Protobuf REQUIRED)
-include_directories(${PROTOBUF_INCLUDE_DIR})
-
-file(GLOB_RECURSE proto_files ${CMAKE_CURRENT_SOURCE_DIR}/*.proto)
-protobuf_generate_cpp(proto_sources proto_headers ${proto_files})
-add_library(aasdk_proto SHARED ${proto_headers} ${proto_sources})
-target_link_libraries(aasdk_proto ${PROTOBUF_LIBRARIES})
-
-set(aasdk_VERSION_STRING ${aasdk_VERSION_MAJOR}.${aasdk_VERSION_MINOR}.${aasdk_VERSION_PATCH})
-set_target_properties(aasdk_proto PROPERTIES VERSION ${aasdk_VERSION_STRING}
- SOVERSION ${aasdk_VERSION_MAJOR})
-
-install(TARGETS aasdk_proto DESTINATION lib)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} DESTINATION include
- FILES_MATCHING PATTERN *.h
- PATTERN CMakeFiles EXCLUDE )
diff --git a/aasdk_proto/ChannelDescriptorData.proto b/aasdk_proto/ChannelDescriptorData.proto
deleted file mode 100644
index 7bbea203..00000000
--- a/aasdk_proto/ChannelDescriptorData.proto
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-option optimize_for=SPEED;
-
-import "SensorChannelData.proto";
-import "AVChannelData.proto";
-import "InputChannelData.proto";
-import "AVInputChannelData.proto";
-import "BluetoothChannelData.proto";
-import "NavigationChannelData.proto";
-import "VendorExtensionChannelData.proto";
-import "MediaInfoChannelData.proto";
-import "WifiChannelData.proto";
-
-package aasdk.proto.data;
-
-message ChannelDescriptor
-{
- required uint32 channel_id = 1;
- optional SensorChannel sensor_channel = 2;
- optional AVChannel av_channel = 3;
- optional InputChannel input_channel = 4;
- optional AVInputChannel av_input_channel = 5;
- optional BluetoothChannel bluetooth_channel = 6;
- // optional RadioChannel radio_channel = 7;
- optional NavigationChannel navigation_channel = 8;
- optional MediaInfoChannel media_infoChannel = 9;
- // optional PhoneStatusChannel phone_status_channel = 10;
- // optional MediaBrowserChannel media_browser_channel = 11;
- optional VendorExtensionChannel vendor_extension_channel = 12;
- // optional GenericNotificationChannel generic_notification_channel = 13;
- optional WifiChannel wifi_channel = 14;
-}
diff --git a/aasdk_proto/ChannelOpenRequestMessage.proto b/aasdk_proto/ChannelOpenRequestMessage.proto
deleted file mode 100644
index ff350cb8..00000000
--- a/aasdk_proto/ChannelOpenRequestMessage.proto
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message ChannelOpenRequest
-{
- required int32 priority = 1;
- required int32 channel_id = 2;
-}
diff --git a/aasdk_proto/ChannelOpenResponseMessage.proto b/aasdk_proto/ChannelOpenResponseMessage.proto
deleted file mode 100644
index d4f793c4..00000000
--- a/aasdk_proto/ChannelOpenResponseMessage.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "StatusEnum.proto";
-
-package aasdk.proto.messages;
-
-message ChannelOpenResponse
-{
- required enums.Status.Enum status = 1;
-}
diff --git a/aasdk_proto/CompassData.proto b/aasdk_proto/CompassData.proto
deleted file mode 100644
index 931b3ae9..00000000
--- a/aasdk_proto/CompassData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message Compass
-{
- required int32 bearing =1;
- required int32 pitch = 2;
- required int32 roll = 3;
-}
diff --git a/aasdk_proto/ControlMessageIdsEnum.proto b/aasdk_proto/ControlMessageIdsEnum.proto
deleted file mode 100644
index 258ec181..00000000
--- a/aasdk_proto/ControlMessageIdsEnum.proto
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.ids;
-
-message ControlMessage
-{
- enum Enum
- {
- NONE = 0x0000;
- VERSION_REQUEST = 0x0001;
- VERSION_RESPONSE = 0x0002;
- SSL_HANDSHAKE = 0x0003;
- AUTH_COMPLETE = 0x0004;
- SERVICE_DISCOVERY_REQUEST = 0x0005;
- SERVICE_DISCOVERY_RESPONSE = 0x0006;
- CHANNEL_OPEN_REQUEST = 0x0007;
- CHANNEL_OPEN_RESPONSE = 0x0008;
- PING_REQUEST = 0x000b;
- PING_RESPONSE = 0x000c;
- NAVIGATION_FOCUS_REQUEST = 0x000d;
- NAVIGATION_FOCUS_RESPONSE = 0x000e;
- SHUTDOWN_REQUEST = 0x000f;
- SHUTDOWN_RESPONSE = 0x0010;
- VOICE_SESSION_REQUEST = 0x0011;
- AUDIO_FOCUS_REQUEST = 0x0012;
- AUDIO_FOCUS_RESPONSE = 0x0013;
- }
-}
diff --git a/aasdk_proto/DiagnosticsData.proto b/aasdk_proto/DiagnosticsData.proto
deleted file mode 100644
index 36a146ab..00000000
--- a/aasdk_proto/DiagnosticsData.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message Diagnostics
-{
- required bytes diagnostics = 1;
-}
diff --git a/aasdk_proto/DistanceUnitEnum.proto b/aasdk_proto/DistanceUnitEnum.proto
deleted file mode 100644
index acfbf840..00000000
--- a/aasdk_proto/DistanceUnitEnum.proto
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message DistanceUnit
-{
- enum Enum
- {
- UNKNOWN = 0;
- METERS = 1;
- KILOMETERS = 2;
- KILOMETERS_PARTIAL = 3;
- MILES = 4;
- MILES_PARTIAL = 5;
- FEET = 6;
- YARDS = 7;
- }
-}
diff --git a/aasdk_proto/DoorData.proto b/aasdk_proto/DoorData.proto
deleted file mode 100644
index 75221470..00000000
--- a/aasdk_proto/DoorData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message Door
-{
- required bool hood_open = 1;
- required bool boot_open = 2;
- repeated bool door_open = 3;
-}
diff --git a/aasdk_proto/DrivingStatusData.proto b/aasdk_proto/DrivingStatusData.proto
deleted file mode 100644
index 417d6f58..00000000
--- a/aasdk_proto/DrivingStatusData.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message DrivingStatus
-{
- required int32 status = 1;
-}
diff --git a/aasdk_proto/DrivingStatusEnum.proto b/aasdk_proto/DrivingStatusEnum.proto
deleted file mode 100644
index 12e6296c..00000000
--- a/aasdk_proto/DrivingStatusEnum.proto
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message DrivingStatus
-{
- enum Enum
- {
- UNRESTRICTED = 0;
- NO_VIDEO = 1;
- NO_KEYBOARD_INPUT = 2;
- NO_VOICE_INPUT = 4;
- NO_CONFIG = 8;
- LIMIT_MESSAGE_LEN = 16;
- FULLY_RESTRICTED = 31;
- }
-}
diff --git a/aasdk_proto/EnvironmentData.proto b/aasdk_proto/EnvironmentData.proto
deleted file mode 100644
index 27f08b89..00000000
--- a/aasdk_proto/EnvironmentData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message Environment
-{
- required int32 temperature =1;
- required int32 pressure = 2;
- required int32 rain = 3;
-}
diff --git a/aasdk_proto/FuelLevelData.proto b/aasdk_proto/FuelLevelData.proto
deleted file mode 100644
index ace8c4c2..00000000
--- a/aasdk_proto/FuelLevelData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message FuelLevel
-{
- required int32 fuel_level = 1;
- required int32 range = 2;
- required bool low_fuel = 3;
-}
diff --git a/aasdk_proto/GPSLocationData.proto b/aasdk_proto/GPSLocationData.proto
deleted file mode 100644
index 0fb1723d..00000000
--- a/aasdk_proto/GPSLocationData.proto
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message GPSLocation
-{
- required uint64 timestamp = 1;
- required int32 latitude = 2;
- required int32 longitude = 3;
- required uint32 accuracy = 4;
- optional int32 altitude = 5;
- optional int32 speed = 6;
- optional int32 bearing = 7;
-}
diff --git a/aasdk_proto/GearData.proto b/aasdk_proto/GearData.proto
deleted file mode 100644
index 88047248..00000000
--- a/aasdk_proto/GearData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "GearEnum.proto";
-
-package aasdk.proto.data;
-
-message Gear
-{
- required enums.Gear.Enum gear = 1;
-}
diff --git a/aasdk_proto/GearEnum.proto b/aasdk_proto/GearEnum.proto
deleted file mode 100644
index 0c805fc7..00000000
--- a/aasdk_proto/GearEnum.proto
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message Gear
-{
- enum Enum
- {
- NEUTRAL = 0;
- FIRST = 1;
- SECOND = 2;
- THIRD = 3;
- FOURTH = 4;
- FIFTH = 5;
- SIXTH = 6;
- SEVENTH = 7;
- EIGHTH = 8;
- NINTH = 9;
- TENTH = 10;
- DRIVE = 100;
- PARK = 101;
- REVERSE = 102;
- }
-}
diff --git a/aasdk_proto/GyroData.proto b/aasdk_proto/GyroData.proto
deleted file mode 100644
index 17046757..00000000
--- a/aasdk_proto/GyroData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message Gyro
-{
- required int32 rotation_speed_x = 1;
- required int32 rotation_speed_y = 2;
- required int32 rotation_speed_z = 3;
-}
diff --git a/aasdk_proto/HVACData.proto b/aasdk_proto/HVACData.proto
deleted file mode 100644
index e1933522..00000000
--- a/aasdk_proto/HVACData.proto
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message HVAC
-{
- required int32 target_temperature = 1;
- required int32 current_temperature = 2;
-}
diff --git a/aasdk_proto/HeadlightStatusEnum.proto b/aasdk_proto/HeadlightStatusEnum.proto
deleted file mode 100644
index b2879e19..00000000
--- a/aasdk_proto/HeadlightStatusEnum.proto
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message HeadlightStatus
-{
- enum Enum
- {
- STATE_0 = 0;
- STATE_1 = 1;
- STATE_2 = 2;
- STATE_3 = 3;
- }
-}
diff --git a/aasdk_proto/IndicatorStatusEnum.proto b/aasdk_proto/IndicatorStatusEnum.proto
deleted file mode 100644
index fe0b7f18..00000000
--- a/aasdk_proto/IndicatorStatusEnum.proto
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message IndicatorStatus
-{
- enum Enum
- {
- STATE_0 = 0;
- STATE_1 = 1;
- STATE_2 = 2;
- STATE_3 = 3;
- }
-}
diff --git a/aasdk_proto/InputChannelData.proto b/aasdk_proto/InputChannelData.proto
deleted file mode 100644
index d4cf8fdf..00000000
--- a/aasdk_proto/InputChannelData.proto
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "TouchConfigData.proto";
-
-package aasdk.proto.data;
-
-message InputChannel
-{
- repeated uint32 supported_keycodes = 1;
- optional TouchConfig touch_screen_config = 2;
- optional TouchConfig touch_pad_config = 3;
-}
diff --git a/aasdk_proto/InputChannelMessageIdsEnum.proto b/aasdk_proto/InputChannelMessageIdsEnum.proto
deleted file mode 100644
index bb9f82af..00000000
--- a/aasdk_proto/InputChannelMessageIdsEnum.proto
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.ids;
-
-message InputChannelMessage
-{
- enum Enum
- {
- NONE = 0x0000;
- INPUT_EVENT_INDICATION = 0x8001;
- BINDING_REQUEST = 0x8002;
- BINDING_RESPONSE = 0x8003;
- }
-}
diff --git a/aasdk_proto/InputEventIndicationMessage.proto b/aasdk_proto/InputEventIndicationMessage.proto
deleted file mode 100644
index 61fc8b17..00000000
--- a/aasdk_proto/InputEventIndicationMessage.proto
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "TouchEventData.proto";
-import "ButtonEventsData.proto";
-import "AbsoluteInputEventsData.proto";
-import "RelativeInputEventsData.proto";
-
-package aasdk.proto.messages;
-
-message InputEventIndication
-{
- required uint64 timestamp = 1;
- optional int32 disp_channel = 2;
- optional data.TouchEvent touch_event = 3;
- optional data.ButtonEvents button_event = 4;
- optional data.AbsoluteInputEvents absolute_input_event = 5;
- optional data.RelativeInputEvents relative_input_event = 6;
-}
diff --git a/aasdk_proto/LightData.proto b/aasdk_proto/LightData.proto
deleted file mode 100644
index 29ddf876..00000000
--- a/aasdk_proto/LightData.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "HeadlightStatusEnum.proto";
-import "IndicatorStatusEnum.proto";
-
-package aasdk.proto.data;
-
-message Light
-{
- required enums.HeadlightStatus.Enum headlight = 1;
- required enums.IndicatorStatus.Enum indicator = 2;
- required bool hazard_light_on = 3;
-}
diff --git a/aasdk_proto/ManeuverDirectionEnum.proto b/aasdk_proto/ManeuverDirectionEnum.proto
deleted file mode 100644
index a1ee0b0c..00000000
--- a/aasdk_proto/ManeuverDirectionEnum.proto
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message ManeuverDirection
-{
- enum Enum
- {
- UNKNOWN = 0;
- LEFT = 1;
- RIGHT = 2;
- UNSPECIFIED = 3;
- }
-}
diff --git a/aasdk_proto/ManeuverTypeEnum.proto b/aasdk_proto/ManeuverTypeEnum.proto
deleted file mode 100644
index bf37d942..00000000
--- a/aasdk_proto/ManeuverTypeEnum.proto
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message ManeuverType
-{
- enum Enum
- {
- UNKNOWN = 0;
- DEPART = 1;
- NAME_CHANGE = 2;
- SLIGHT_TURN = 3;
- TURN = 4;
- SHARP_TURN = 5;
- U_TURN = 6;
- ON_RAMP = 7;
- OFF_RAMP = 8;
- FORK = 9;
- MERGE = 10;
- ROUNDABOUT_ENTER = 11;
- ROUNDABOUT_EXIT = 12;
- ROUNDABOUT_ENTER_AND_EXIT = 13;
- STRAIGHT = 14;
- FERRY_BOAT = 16;
- FERRY_TRAIN = 17;
- DESTINATION = 19;
- }
-}
diff --git a/aasdk_proto/MediaInfoChannelData.proto b/aasdk_proto/MediaInfoChannelData.proto
deleted file mode 100644
index 5680a04f..00000000
--- a/aasdk_proto/MediaInfoChannelData.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message MediaInfoChannel
-{
-
-}
diff --git a/aasdk_proto/MediaInfoChannelMessageIdsEnum.proto b/aasdk_proto/MediaInfoChannelMessageIdsEnum.proto
deleted file mode 100644
index 90d0bbe2..00000000
--- a/aasdk_proto/MediaInfoChannelMessageIdsEnum.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.ids;
-
-message MediaInfoChannelMessage
-{
- enum Enum
- {
- NONE = 0x0000;
- PLAYBACK = 0x8001;
- METADATA = 0x8003;
- }
-}
diff --git a/aasdk_proto/MediaInfoChannelMetadataData.proto b/aasdk_proto/MediaInfoChannelMetadataData.proto
deleted file mode 100644
index b3e68dd9..00000000
--- a/aasdk_proto/MediaInfoChannelMetadataData.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message MediaInfoChannelMetadataData
-{
- required string track_name = 1;
- optional string artist_name = 2;
- optional string album_name = 3;
- optional bytes album_art = 4;
- required int32 track_length = 6;
- required int32 unknown1 = 7;
-}
diff --git a/aasdk_proto/MediaInfoChannelPlaybackData.proto b/aasdk_proto/MediaInfoChannelPlaybackData.proto
deleted file mode 100644
index e6f2d000..00000000
--- a/aasdk_proto/MediaInfoChannelPlaybackData.proto
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message MediaInfoChannelPlaybackData
-{
- enum PlaybackState
- {
- NONE = 0x0000;
- TRACK_CHANGE = 1;
- PLAY = 2;
- PAUSE = 3;
- }
- required PlaybackState playback_state = 1;
- required string media_source = 2;
- required int32 track_progress = 3;
- required int32 unknown1 = 4;
- required int32 unknown2 = 5;
- required int32 unknown3 = 6;
-
-}
diff --git a/aasdk_proto/NavigationChannelData.proto b/aasdk_proto/NavigationChannelData.proto
deleted file mode 100644
index 5c18a04c..00000000
--- a/aasdk_proto/NavigationChannelData.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "NavigationTurnTypeEnum.proto";
-import "NavigationImageOptionsData.proto";
-
-package aasdk.proto.data;
-
-message NavigationChannel
-{
- required uint32 minimum_interval_ms = 1;
- required enums.NavigationTurnType.Enum type = 2;
- required NavigationImageOptions image_options = 3;
-}
diff --git a/aasdk_proto/NavigationChannelMessageIdsEnum.proto b/aasdk_proto/NavigationChannelMessageIdsEnum.proto
deleted file mode 100644
index ba44dd67..00000000
--- a/aasdk_proto/NavigationChannelMessageIdsEnum.proto
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.ids;
-
-message NavigationChannelMessage
-{
- enum Enum
- {
- NONE = 0x0000;
- STATUS = 0x8003;
- TURN_EVENT = 0x8004;
- DISTANCE_EVENT = 0x8005;
- }
-}
diff --git a/aasdk_proto/NavigationDistanceEventMessage.proto b/aasdk_proto/NavigationDistanceEventMessage.proto
deleted file mode 100644
index 74920b92..00000000
--- a/aasdk_proto/NavigationDistanceEventMessage.proto
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "DistanceUnitEnum.proto";
-
-package aasdk.proto.messages;
-
-message NavigationDistanceEvent
-{
- required uint32 meters = 1;
- required uint32 timeToStepSeconds = 2;
- required uint32 distanceToStepMillis = 3;
- required enums.DistanceUnit.Enum distanceUnit = 4;
-
-}
diff --git a/aasdk_proto/NavigationFocusRequestMessage.proto b/aasdk_proto/NavigationFocusRequestMessage.proto
deleted file mode 100644
index efa52d0f..00000000
--- a/aasdk_proto/NavigationFocusRequestMessage.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message NavigationFocusRequest
-{
- required uint32 type = 1;
-}
diff --git a/aasdk_proto/NavigationFocusResponseMessage.proto b/aasdk_proto/NavigationFocusResponseMessage.proto
deleted file mode 100644
index 1af85ba5..00000000
--- a/aasdk_proto/NavigationFocusResponseMessage.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message NavigationFocusResponse
-{
- required uint32 type = 1;
-}
diff --git a/aasdk_proto/NavigationImageOptionsData.proto b/aasdk_proto/NavigationImageOptionsData.proto
deleted file mode 100644
index bb38a2fa..00000000
--- a/aasdk_proto/NavigationImageOptionsData.proto
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message NavigationImageOptions
-{
- required int32 width = 1;
- required int32 height = 2;
- required int32 colour_depth_bits = 3;
- required int32 dunno = 4;
-}
diff --git a/aasdk_proto/NavigationStatusMessage.proto b/aasdk_proto/NavigationStatusMessage.proto
deleted file mode 100644
index a5b6a22e..00000000
--- a/aasdk_proto/NavigationStatusMessage.proto
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message NavigationStatus
-{
- required Enum status = 1;
- enum Enum
- {
- UNAVAILABLE = 0;
- ACTIVE = 1;
- INACTIVE = 2;
- REROUTING = 3;
- }
-}
diff --git a/aasdk_proto/NavigationTurnEventMessage.proto b/aasdk_proto/NavigationTurnEventMessage.proto
deleted file mode 100644
index e9fefbdb..00000000
--- a/aasdk_proto/NavigationTurnEventMessage.proto
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "ManeuverTypeEnum.proto";
-import "ManeuverDirectionEnum.proto";
-
-package aasdk.proto.messages;
-
-message NavigationTurnEvent
-{
- required string street_name = 1;
- required enums.ManeuverDirection.Enum maneuverDirection = 2;
- required enums.ManeuverType.Enum maneuverType = 3;
- required bytes turnImage = 4;
- required uint32 roundaboutExitNumber = 5;
- required uint32 roundaboutExitAngle = 6;
-}
diff --git a/aasdk_proto/NavigationTurnTypeEnum.proto b/aasdk_proto/NavigationTurnTypeEnum.proto
deleted file mode 100644
index bd355023..00000000
--- a/aasdk_proto/NavigationTurnTypeEnum.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message NavigationTurnType
-{
- enum Enum
- {
- UNKNOWN = 0;
- IMAGE = 1;
- ENUM = 2;
- }
-}
diff --git a/aasdk_proto/NightModeData.proto b/aasdk_proto/NightModeData.proto
deleted file mode 100644
index 82706307..00000000
--- a/aasdk_proto/NightModeData.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message NightMode
-{
- required bool is_night = 1;
-}
diff --git a/aasdk_proto/OdometerData.proto b/aasdk_proto/OdometerData.proto
deleted file mode 100644
index fb9ee015..00000000
--- a/aasdk_proto/OdometerData.proto
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message Odometer
-{
- required int32 total_mileage = 1;
- required int32 trip_mileage = 2;
-}
diff --git a/aasdk_proto/ParkingBrakeData.proto b/aasdk_proto/ParkingBrakeData.proto
deleted file mode 100644
index 154f64e1..00000000
--- a/aasdk_proto/ParkingBrakeData.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message ParkingBrake
-{
- required bool parking_brake = 1;
-}
diff --git a/aasdk_proto/PassengerData.proto b/aasdk_proto/PassengerData.proto
deleted file mode 100644
index f4395634..00000000
--- a/aasdk_proto/PassengerData.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message Passenger
-{
- required bool passenger_present = 1;
-}
diff --git a/aasdk_proto/PingRequestMessage.proto b/aasdk_proto/PingRequestMessage.proto
deleted file mode 100644
index ce7f0ea0..00000000
--- a/aasdk_proto/PingRequestMessage.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message PingRequest
-{
- required int64 timestamp = 1;
-}
diff --git a/aasdk_proto/PingResponseMessage.proto b/aasdk_proto/PingResponseMessage.proto
deleted file mode 100644
index 3871b620..00000000
--- a/aasdk_proto/PingResponseMessage.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message PingResponse
-{
- required int64 timestamp = 1;
-}
diff --git a/aasdk_proto/RPMData.proto b/aasdk_proto/RPMData.proto
deleted file mode 100644
index b24ffdc3..00000000
--- a/aasdk_proto/RPMData.proto
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message RPM
-{
- required int32 rpm = 1;
-}
diff --git a/aasdk_proto/RelativeInputEventData.proto b/aasdk_proto/RelativeInputEventData.proto
deleted file mode 100644
index 5b4d8a7b..00000000
--- a/aasdk_proto/RelativeInputEventData.proto
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message RelativeInputEvent
-{
- required uint32 scan_code = 1;
- required int32 delta = 2;
-}
diff --git a/aasdk_proto/RelativeInputEventsData.proto b/aasdk_proto/RelativeInputEventsData.proto
deleted file mode 100644
index c9eddb79..00000000
--- a/aasdk_proto/RelativeInputEventsData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "RelativeInputEventData.proto";
-
-package aasdk.proto.data;
-
-message RelativeInputEvents
-{
- repeated RelativeInputEvent relative_input_events = 1;
-}
diff --git a/aasdk_proto/SensorChannelData.proto b/aasdk_proto/SensorChannelData.proto
deleted file mode 100644
index 74916354..00000000
--- a/aasdk_proto/SensorChannelData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "SensorData.proto";
-
-package aasdk.proto.data;
-
-message SensorChannel
-{
- repeated Sensor sensors = 1;
-}
diff --git a/aasdk_proto/SensorChannelMessageIdsEnum.proto b/aasdk_proto/SensorChannelMessageIdsEnum.proto
deleted file mode 100644
index 71cfd699..00000000
--- a/aasdk_proto/SensorChannelMessageIdsEnum.proto
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.ids;
-
-message SensorChannelMessage
-{
- enum Enum
- {
- NONE = 0x0000;
- SENSOR_START_REQUEST = 0x8001;
- SENSOR_START_RESPONSE = 0x8002;
- SENSOR_EVENT_INDICATION = 0x8003;
- }
-}
diff --git a/aasdk_proto/SensorData.proto b/aasdk_proto/SensorData.proto
deleted file mode 100644
index 943676be..00000000
--- a/aasdk_proto/SensorData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "SensorTypeEnum.proto";
-
-package aasdk.proto.data;
-
-message Sensor
-{
- required enums.SensorType.Enum type = 1;
-}
diff --git a/aasdk_proto/SensorEventIndicationMessage.proto b/aasdk_proto/SensorEventIndicationMessage.proto
deleted file mode 100644
index 7fc16bfe..00000000
--- a/aasdk_proto/SensorEventIndicationMessage.proto
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "GPSLocationData.proto";
-import "CompassData.proto";
-import "SpeedData.proto";
-import "RPMData.proto";
-import "OdometerData.proto";
-import "FuelLevelData.proto";
-import "ParkingBrakeData.proto";
-import "GearData.proto";
-import "DiagnosticsData.proto";
-import "NightModeData.proto";
-import "EnvironmentData.proto";
-import "HVACData.proto";
-import "DrivingStatusData.proto";
-import "SteeringWheelData.proto";
-import "PassengerData.proto";
-import "DoorData.proto";
-import "LightData.proto";
-import "AccelData.proto";
-import "GyroData.proto";
-
-package aasdk.proto.messages;
-
-message SensorEventIndication
-{
- repeated data.GPSLocation gps_location = 1;
- repeated data.Compass compass = 2;
- repeated data.Speed speed = 3;
- repeated data.RPM rpm = 4;
- repeated data.Odometer odometer = 5;
- repeated data.FuelLevel fuel_level = 6;
- repeated data.ParkingBrake parking_brake = 7;
- repeated data.Gear gear = 8;
- repeated data.Diagnostics diagnostics = 9;
- repeated data.NightMode night_mode = 10;
- repeated data.Environment enviorment = 11;
- repeated data.HVAC hvac = 12;
- repeated data.DrivingStatus driving_status = 13;
- repeated data.SteeringWheel steering_wheel = 14;
- repeated data.Passenger passenger = 15;
- repeated data.Door door = 16;
- repeated data.Light light = 17;
- repeated data.Accel accel = 19;
- repeated data.Gyro gyro = 20;
-}
diff --git a/aasdk_proto/SensorStartRequestMessage.proto b/aasdk_proto/SensorStartRequestMessage.proto
deleted file mode 100644
index d1181ff1..00000000
--- a/aasdk_proto/SensorStartRequestMessage.proto
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "SensorTypeEnum.proto";
-
-package aasdk.proto.messages;
-
-message SensorStartRequestMessage
-{
- required enums.SensorType.Enum sensor_type = 1;
- required int64 refresh_interval = 2;
-}
diff --git a/aasdk_proto/SensorStartResponseMessage.proto b/aasdk_proto/SensorStartResponseMessage.proto
deleted file mode 100644
index e841892d..00000000
--- a/aasdk_proto/SensorStartResponseMessage.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "StatusEnum.proto";
-
-package aasdk.proto.messages;
-
-message SensorStartResponseMessage
-{
- required enums.Status.Enum status = 1;
-}
diff --git a/aasdk_proto/SensorTypeEnum.proto b/aasdk_proto/SensorTypeEnum.proto
deleted file mode 100644
index 93bc27e0..00000000
--- a/aasdk_proto/SensorTypeEnum.proto
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message SensorType
-{
- enum Enum
- {
- NONE = 0;
- LOCATION = 1;
- COMPASS = 2;
- CAR_SPEED = 3;
- RPM = 4;
- ODOMETER = 5;
- FUEL_LEVEL = 6;
- PARKING_BRAKE = 7;
- GEAR = 8;
- DIAGNOSTICS = 9;
- NIGHT_DATA = 10;
- ENVIRONMENT = 11;
- HVAC = 12;
- DRIVING_STATUS = 13;
- DEAD_RECONING = 14;
- PASSENGER = 15;
- DOOR = 16;
- LIGHT = 17;
- TIRE = 18;
- ACCEL = 19;
- GYRO = 20;
- GPS = 21;
- }
-}
diff --git a/aasdk_proto/ServiceDiscoveryRequestMessage.proto b/aasdk_proto/ServiceDiscoveryRequestMessage.proto
deleted file mode 100644
index 6fde863e..00000000
--- a/aasdk_proto/ServiceDiscoveryRequestMessage.proto
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message ServiceDiscoveryRequest
-{
- required string device_name = 4;
- required string device_brand = 5;
-}
diff --git a/aasdk_proto/ServiceDiscoveryResponseMessage.proto b/aasdk_proto/ServiceDiscoveryResponseMessage.proto
deleted file mode 100644
index a5d76895..00000000
--- a/aasdk_proto/ServiceDiscoveryResponseMessage.proto
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "ChannelDescriptorData.proto";
-
-package aasdk.proto.messages;
-
-message ServiceDiscoveryResponse
-{
- repeated data.ChannelDescriptor channels = 1;
- required string head_unit_name = 2;
- required string car_model = 3;
- required string car_year = 4;
- required string car_serial = 5;
- required bool left_hand_drive_vehicle = 6;
- required string headunit_manufacturer = 7;
- required string headunit_model = 8;
- required string sw_build = 9;
- required string sw_version = 10;
- required bool can_play_native_media_during_vr = 11;
- optional bool hide_clock = 12;
-}
diff --git a/aasdk_proto/ShutdownReasonEnum.proto b/aasdk_proto/ShutdownReasonEnum.proto
deleted file mode 100644
index 08be4853..00000000
--- a/aasdk_proto/ShutdownReasonEnum.proto
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message ShutdownReason
-{
- enum Enum
- {
- NONE = 0;
- QUIT = 1;
- }
-}
diff --git a/aasdk_proto/ShutdownRequestMessage.proto b/aasdk_proto/ShutdownRequestMessage.proto
deleted file mode 100644
index 595e3031..00000000
--- a/aasdk_proto/ShutdownRequestMessage.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "ShutdownReasonEnum.proto";
-
-package aasdk.proto.messages;
-
-message ShutdownRequest
-{
- required enums.ShutdownReason.Enum reason = 1;
-}
diff --git a/aasdk_proto/ShutdownResponseMessage.proto b/aasdk_proto/ShutdownResponseMessage.proto
deleted file mode 100644
index 240f9807..00000000
--- a/aasdk_proto/ShutdownResponseMessage.proto
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.messages;
-
-message ShutdownResponse
-{
-}
diff --git a/aasdk_proto/SpeedData.proto b/aasdk_proto/SpeedData.proto
deleted file mode 100644
index 2bb4439e..00000000
--- a/aasdk_proto/SpeedData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message Speed
-{
- required int32 speed = 1;
- optional bool cruise_engaged = 2;
- optional bool cruise_set_speed = 3;
-}
diff --git a/aasdk_proto/StatusEnum.proto b/aasdk_proto/StatusEnum.proto
deleted file mode 100644
index 0d8f9403..00000000
--- a/aasdk_proto/StatusEnum.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message Status
-{
- enum Enum
- {
- OK = 0;
- FAIL = 1;
- }
-}
diff --git a/aasdk_proto/SteeringWheelData.proto b/aasdk_proto/SteeringWheelData.proto
deleted file mode 100644
index e94078e6..00000000
--- a/aasdk_proto/SteeringWheelData.proto
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message SteeringWheel
-{
- required int32 steering_angle = 1;
- required int32 wheel_speed = 2;
-}
diff --git a/aasdk_proto/TouchActionEnum.proto b/aasdk_proto/TouchActionEnum.proto
deleted file mode 100644
index ef14ccc2..00000000
--- a/aasdk_proto/TouchActionEnum.proto
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message TouchAction
-{
- enum Enum
- {
- PRESS = 0;
- RELEASE = 1;
- DRAG = 2;
- POINTER_DOWN = 5;
- POINTER_UP = 6;
- }
-}
diff --git a/aasdk_proto/TouchConfigData.proto b/aasdk_proto/TouchConfigData.proto
deleted file mode 100644
index 9944dde6..00000000
--- a/aasdk_proto/TouchConfigData.proto
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message TouchConfig
-{
- required uint32 width = 1;
- required uint32 height = 2;
-}
diff --git a/aasdk_proto/TouchEventData.proto b/aasdk_proto/TouchEventData.proto
deleted file mode 100644
index 78b27a0d..00000000
--- a/aasdk_proto/TouchEventData.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "TouchLocationData.proto";
-import "TouchActionEnum.proto";
-
-package aasdk.proto.data;
-
-message TouchEvent
-{
- repeated data.TouchLocation touch_location = 1;
- optional uint32 action_index = 2;
- required enums.TouchAction.Enum touch_action = 3;
-}
diff --git a/aasdk_proto/TouchLocationData.proto b/aasdk_proto/TouchLocationData.proto
deleted file mode 100644
index 51b46113..00000000
--- a/aasdk_proto/TouchLocationData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message TouchLocation
-{
- required uint32 x = 1;
- required uint32 y = 2;
- required uint32 pointer_id = 3;
-}
diff --git a/aasdk_proto/VendorExtensionChannelData.proto b/aasdk_proto/VendorExtensionChannelData.proto
deleted file mode 100644
index 61c8c145..00000000
--- a/aasdk_proto/VendorExtensionChannelData.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.data;
-
-message VendorExtensionChannel
-{
- required string name = 1;
- repeated string package_white_list = 2;
- optional bytes data = 3;
-}
diff --git a/aasdk_proto/VersionResponseStatusEnum.proto b/aasdk_proto/VersionResponseStatusEnum.proto
deleted file mode 100644
index fb4540c2..00000000
--- a/aasdk_proto/VersionResponseStatusEnum.proto
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message VersionResponseStatus
-{
- enum Enum
- {
- MATCH = 0;
- MISMATCH = 0xFFFF;
- }
-}
diff --git a/aasdk_proto/VideoConfigData.proto b/aasdk_proto/VideoConfigData.proto
deleted file mode 100644
index c951fdaa..00000000
--- a/aasdk_proto/VideoConfigData.proto
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "VideoResolutionEnum.proto";
-import "VideoFPSEnum.proto";
-
-package aasdk.proto.data;
-
-message VideoConfig
-{
- required enums.VideoResolution.Enum video_resolution = 1;
- required enums.VideoFPS.Enum video_fps = 2;
- required uint32 margin_width = 3;
- required uint32 margin_height = 4;
- required uint32 dpi = 5;
- optional uint32 additional_depth = 6;
-}
diff --git a/aasdk_proto/VideoFPSEnum.proto b/aasdk_proto/VideoFPSEnum.proto
deleted file mode 100644
index a3c4c7a9..00000000
--- a/aasdk_proto/VideoFPSEnum.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message VideoFPS
-{
- enum Enum
- {
- NONE = 0;
- _60 = 1;
- _30 = 2;
- }
-}
diff --git a/aasdk_proto/VideoFocusIndicationMessage.proto b/aasdk_proto/VideoFocusIndicationMessage.proto
deleted file mode 100644
index 01314bc0..00000000
--- a/aasdk_proto/VideoFocusIndicationMessage.proto
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "VideoFocusModeEnum.proto";
-
-package aasdk.proto.messages;
-
-message VideoFocusIndication
-{
- required enums.VideoFocusMode.Enum focus_mode = 1;
- required bool unrequested = 2;
-}
diff --git a/aasdk_proto/VideoFocusModeEnum.proto b/aasdk_proto/VideoFocusModeEnum.proto
deleted file mode 100644
index b72e4e71..00000000
--- a/aasdk_proto/VideoFocusModeEnum.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message VideoFocusMode
-{
- enum Enum
- {
- NONE = 0;
- FOCUSED = 1;
- UNFOCUSED = 2;
- }
-}
diff --git a/aasdk_proto/VideoFocusReasonEnum.proto b/aasdk_proto/VideoFocusReasonEnum.proto
deleted file mode 100644
index 36d84b00..00000000
--- a/aasdk_proto/VideoFocusReasonEnum.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message VideoFocusReason
-{
- enum Enum
- {
- NONE = 0;
- UNK_1 = 1;
- UNK_2 = 2;
- }
-}
diff --git a/aasdk_proto/VideoFocusRequestMessage.proto b/aasdk_proto/VideoFocusRequestMessage.proto
deleted file mode 100644
index ee274654..00000000
--- a/aasdk_proto/VideoFocusRequestMessage.proto
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-import "VideoFocusModeEnum.proto";
-import "VideoFocusReasonEnum.proto";
-
-package aasdk.proto.messages;
-
-message VideoFocusRequest
-{
- optional int32 disp_index = 1 [deprecated = true];
- optional enums.VideoFocusMode.Enum focus_mode = 2;
- optional enums.VideoFocusReason.Enum focus_reason = 3;
-}
diff --git a/aasdk_proto/VideoResolutionEnum.proto b/aasdk_proto/VideoResolutionEnum.proto
deleted file mode 100644
index 061393b1..00000000
--- a/aasdk_proto/VideoResolutionEnum.proto
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-package aasdk.proto.enums;
-
-message VideoResolution
-{
- enum Enum
- {
- NONE = 0;
- _480p = 1;
- _720p = 2;
- _1080p = 3;
- _1440p = 4;
- _720p_p = 5;
- _1080pp = 6;
- _108s0p_p = 7;
- }
-}
diff --git a/aasdk_proto/VoiceSessionRequestMessage.proto b/aasdk_proto/VoiceSessionRequestMessage.proto
deleted file mode 100644
index c358fa58..00000000
--- a/aasdk_proto/VoiceSessionRequestMessage.proto
+++ /dev/null
@@ -1,8 +0,0 @@
-syntax="proto3";
-
-package aasdk.proto.messages;
-
-message VoiceSessionRequest
-{
- uint32 type = 1; // 1 = start, 2 = stop
-}
\ No newline at end of file
diff --git a/aasdk_proto/WifiChannelData.proto b/aasdk_proto/WifiChannelData.proto
deleted file mode 100644
index 5036d33c..00000000
--- a/aasdk_proto/WifiChannelData.proto
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-syntax="proto2";
-
-option optimize_for=SPEED;
-
-
-
-package aasdk.proto.data;
-
-message WifiChannel
-{
- required string ssid = 1;
-}
diff --git a/aasdk_proto/WifiSecurityRequestMessage.proto b/aasdk_proto/WifiSecurityRequestMessage.proto
index 9c644a9d..f1f79276 100644
--- a/aasdk_proto/WifiSecurityRequestMessage.proto
+++ b/aasdk_proto/WifiSecurityRequestMessage.proto
@@ -1,25 +1,20 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-syntax = "proto2";
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
-package aasdk.proto.messages;
-
-message WifiSecurityRequest {
-
-}
\ No newline at end of file
+#define BOOST_TEST_MODULE aasdk_ut#include
diff --git a/cmake_modules/Findaap_protobuf.cmake b/cmake_modules/Findaap_protobuf.cmake
new file mode 100644
index 00000000..7e2eda82
--- /dev/null
+++ b/cmake_modules/Findaap_protobuf.cmake
@@ -0,0 +1,55 @@
+if (AAP_PROTOBUF_LIB_DIRS AND AAP_PROTOBUF_INCLUDE_DIRS)
+ # in cache already
+ message(STATUS "aap_protobuf is cached")
+ set(AAP_PROTOBUF_FOUND TRUE)
+else (AAP_PROTOBUF_LIB_DIRS AND AAP_PROTOBUF_INCLUDE_DIRS)
+ find_path(AAP_PROTOBUF_INCLUDE_DIR
+ NAMES
+ channel/control/GalConstants.pb.h
+ PATHS
+ /usr/include
+ /usr/local/include
+ /opt/local/include
+ /sw/include
+ PATH_SUFFIXES
+ aap_protobuf
+ )
+
+ find_library(AAP_PROTOBUF_LIB_DIR
+ NAMES
+ aap_protobuf libaap_protobuf
+ PATHS
+ /usr/lib
+ /usr/local/lib
+ /opt/local/lib
+ /sw/lib
+ )
+
+ set(AAP_PROTOBUF_INCLUDE_DIRS
+ ${AAP_PROTOBUF_INCLUDE_DIR}
+ )
+ set(AAP_PROTOBUF_LIB_DIRS
+ ${AAP_PROTOBUF_LIB_DIR}
+ )
+
+ if (AAP_PROTOBUF_INCLUDE_DIRS AND AAP_PROTOBUF_LIB_DIRS)
+ set(AAP_PROTOBUF_FOUND TRUE)
+ endif (AAP_PROTOBUF_INCLUDE_DIRS AND AAP_PROTOBUF_LIB_DIRS)
+
+ if (AAP_PROTOBUF_FOUND)
+ message(STATUS "SUCCESS. Found: aap_protobuf:")
+ message(STATUS " - Includes: ${AAP_PROTOBUF_INCLUDE_DIRS}")
+ message(STATUS " - Libraries: ${AAP_PROTOBUF_LIB_DIRS}")
+ add_library(aap_protobuf INTERFACE)
+ target_include_directories(aap_protobuf SYSTEM INTERFACE ${AAP_PROTOBUF_INCLUDE_DIR})
+ target_link_libraries(aap_protobuf INTERFACE ${AAP_PROTOBUF_LIB_DIR})
+ else (AAP_PROTOBUF_FOUND)
+ message(STATUS " - Includes: ${AAP_PROTOBUF_INCLUDE_DIRS}")
+ message(STATUS " - Libraries: ${AAP_PROTOBUF_LIB_DIRS}")
+ message(FATAL_ERROR "Could not locate aap_protobuf")
+ endif (AAP_PROTOBUF_FOUND)
+
+ # show the AAP_PROTOBUF_INCLUDE_DIRS and AAP_PROTOBUF_LIB_DIRS variables only in the advanced view
+ mark_as_advanced(AAP_PROTOBUF_INCLUDE_DIRS AAP_PROTOBUF_LIB_DIRS)
+
+endif (AAP_PROTOBUF_LIB_DIRS AND AAP_PROTOBUF_INCLUDE_DIRS)
diff --git a/docs/common.proto b/docs/common.proto
new file mode 100644
index 00000000..f0b446de
--- /dev/null
+++ b/docs/common.proto
@@ -0,0 +1,22 @@
+syntax = "proto2";
+
+package common;
+
+option java_outer_classname = "Common";
+option java_package = "com.google.android.projection.proto";
+
+message PhoneInfo {
+ optional string instance_id = 1;
+ optional string connectivity_lifetime_id = 2;
+}
+
+message HeadUnitInfo {
+ optional string make = 1;
+ optional string model = 2;
+ optional string year = 3;
+ optional string vehicle_id = 4;
+ optional string head_unit_make = 5;
+ optional string head_unit_model = 6;
+ optional string head_unit_software_build = 7;
+ optional string head_unit_software_version = 8;
+}
diff --git a/docs/protos.proto b/docs/protos.proto
new file mode 100644
index 00000000..d1eff78a
--- /dev/null
+++ b/docs/protos.proto
@@ -0,0 +1,2104 @@
+syntax = "proto2";
+
+import "common.proto";
+
+option java_outer_classname = "Protos";
+option java_package = "com.google.android.projection.proto";
+
+message VersionRequestOptions {
+ optional int64 snapshot_version = 1;
+}
+
+message VersionResponseOptions {
+ optional ConnectionConfiguration connection_configuration = 1;
+}
+
+message AuthResponse {
+ required int32 status = 1;
+}
+
+message ServiceDiscoveryRequest {
+ optional bytes small_icon = 1;
+ optional bytes medium_icon = 2;
+ optional bytes large_icon = 3;
+ optional string label_text = 4;
+ optional string device_name = 5;
+ optional common.PhoneInfo phone_info = 6;
+}
+
+message ServiceDiscoveryResponse {
+ repeated Service services = 1;
+ optional string make = 2 [deprecated = true];
+ optional string model = 3 [deprecated = true];
+ optional string year = 4 [deprecated = true];
+ optional string vehicle_id = 5 [deprecated = true];
+ optional DriverPosition driver_position = 6;
+ optional string head_unit_make = 7 [deprecated = true];
+ optional string head_unit_model = 8 [deprecated = true];
+ optional string head_unit_software_build = 9 [deprecated = true];
+ optional string head_unit_software_version = 10 [deprecated = true];
+ optional bool can_play_native_media_during_vr = 11 [deprecated = true];
+ optional int32 session_configuration = 13;
+ optional string display_name = 14;
+ optional bool probe_for_support = 15;
+ optional ConnectionConfiguration connection_configuration = 16;
+ optional common.HeadUnitInfo headunit_info = 17;
+}
+
+message ServiceDiscoveryUpdate {
+ optional Service service = 1;
+}
+
+message Service {
+ required int32 id = 1;
+ optional SensorSourceService sensor_source_service = 2;
+ optional MediaSinkService media_sink_service = 3;
+ optional InputSourceService input_source_service = 4;
+ optional MediaSourceService media_source_service = 5;
+ optional BluetoothService bluetooth_service = 6;
+ optional RadioService radio_service = 7;
+ optional NavigationStatusService navigation_status_service = 8;
+ optional MediaPlaybackStatusService media_playback_service = 9;
+ optional PhoneStatusService phone_status_service = 10;
+ optional MediaBrowserService media_browser_service = 11;
+ optional VendorExtensionService vendor_extension_service = 12;
+ optional GenericNotificationService generic_notification_service = 13;
+ optional WifiProjectionService wifi_projection_service = 14;
+}
+
+message ConnectionConfiguration {
+ optional PingConfiguration ping_configuration = 1;
+ optional WirelessTcpConfiguration wireless_tcp_configuration = 2;
+}
+
+message PingConfiguration {
+ optional uint32 timeout_ms = 1;
+ optional uint32 interval_ms = 2;
+ optional uint32 high_latency_threshold_ms = 3;
+ optional uint32 tracked_ping_count = 4;
+}
+
+message WirelessTcpConfiguration {
+ optional uint32 socket_receive_buffer_size_kb = 1;
+ optional uint32 socket_send_buffer_size_kb = 2;
+ optional uint32 socket_read_timeout_ms = 3;
+}
+
+message SensorSourceService {
+ repeated Sensor sensors = 1;
+ message Sensor {
+ required SensorType sensor_type = 1;
+ }
+
+ optional uint32 location_characterization = 2;
+ repeated FuelType supported_fuel_types = 3;
+ repeated EvConnectorType supported_ev_connector_types = 4;
+}
+
+message MediaSinkService {
+ optional MediaCodecType available_type = 1 [default = MEDIA_CODEC_AUDIO_PCM];
+ optional AudioStreamType audio_type = 2;
+ repeated AudioConfiguration audio_configs = 3;
+ repeated VideoConfiguration video_configs = 4;
+ optional bool available_while_in_call = 5;
+ optional uint32 display_id = 6;
+ optional DisplayType display_type = 7;
+ optional KeyCode initial_content_keycode = 8;
+}
+
+message VideoConfiguration {
+ optional VideoCodecResolutionType codec_resolution = 1;
+ optional VideoFrameRateType frame_rate = 2;
+ optional uint32 width_margin = 3;
+ optional uint32 height_margin = 4;
+ optional uint32 density = 5;
+ optional uint32 decoder_additional_depth = 6;
+ optional uint32 viewing_distance = 7;
+ optional uint32 pixel_aspect_ratio_e4 = 8;
+ optional uint32 real_density = 9;
+ optional MediaCodecType video_codec_type = 10;
+ optional UiConfig ui_config = 11;
+}
+
+message UiConfig {
+ optional Insets margins = 1;
+ optional Insets content_insets = 2;
+ optional Insets stable_content_insets = 3;
+ optional UiTheme ui_theme = 4;
+}
+
+message Insets {
+ optional uint32 top = 1;
+ optional uint32 bottom = 2;
+ optional uint32 left = 3;
+ optional uint32 right = 4;
+}
+
+message MediaSourceService {
+ optional MediaCodecType available_type = 1 [default = MEDIA_CODEC_AUDIO_PCM];
+ optional AudioConfiguration audio_config = 2;
+ optional bool available_while_in_call = 3;
+}
+
+message AudioConfiguration {
+ required uint32 sampling_rate = 1;
+ required uint32 number_of_bits = 2;
+ required uint32 number_of_channels = 3;
+}
+
+message InputSourceService {
+ repeated int32 keycodes_supported = 1 [packed = true];
+
+ repeated TouchScreen touchscreen = 2;
+ message TouchScreen {
+ required int32 width = 1;
+ required int32 height = 2;
+ optional TouchScreenType type = 3;
+ optional bool is_secondary = 4;
+ }
+
+ repeated TouchPad touchpad = 3;
+ message TouchPad {
+ required int32 width = 1;
+ required int32 height = 2;
+ optional bool ui_navigation = 3;
+ optional int32 physical_width = 4;
+ optional int32 physical_height = 5;
+ optional bool ui_absolute = 6;
+ optional bool tap_as_select = 7;
+ optional int32 sensitivity = 8;
+ }
+
+ repeated FeedbackEvent feedback_events_supported = 4;
+ optional uint32 display_id = 5;
+}
+
+message BluetoothService {
+ required string car_address = 1;
+ repeated BluetoothPairingMethod supported_pairing_methods = 2 [packed = true];
+}
+
+message RadioService {
+ repeated RadioProperties radio_properties = 1;
+}
+
+message RadioProperties {
+ required int32 radio_id = 1;
+ required RadioType type = 2;
+ repeated Range channel_range = 3;
+ repeated int32 channel_spacings = 4;
+ required int32 channel_spacing = 5;
+ optional bool background_tuner = 6;
+ optional ItuRegion region = 7;
+ optional RdsType rds = 8;
+ optional bool af_switch = 9;
+ optional bool ta = 10;
+ optional TrafficServiceType traffic_service = 11;
+ optional bool audio_loopback = 12;
+ optional bool mute_capability = 13;
+ optional int32 station_presets_access = 14;
+}
+
+message Range {
+ required int32 min = 1;
+ required int32 max = 2;
+}
+
+message NavigationStatusService {
+ required int32 minimum_interval_ms = 1;
+
+ required InstrumentClusterType type = 2;
+ enum InstrumentClusterType {
+ IMAGE = 1;
+ ENUM = 2;
+ }
+
+ optional ImageOptions image_options = 3;
+ message ImageOptions {
+ required int32 height = 1;
+ required int32 width = 2;
+ required int32 colour_depth_bits = 3;
+ }
+}
+
+message MediaPlaybackStatusService {
+
+}
+
+message PhoneStatusService {
+
+}
+
+message MediaBrowserService {
+
+}
+
+message VendorExtensionService {
+ required string service_name = 1;
+ repeated string package_white_list = 2;
+ optional bytes data = 3;
+}
+
+message GenericNotificationService {
+
+}
+
+message ChannelOpenRequest {
+ required sint32 priority = 1;
+ required int32 service_id = 2;
+}
+
+message ChannelOpenResponse {
+ required MessageStatus status = 1;
+}
+
+message ChannelCloseNotification {
+
+}
+
+message NavFocusRequestNotification {
+ optional NavFocusType focus_type = 1;
+}
+
+message NavFocusNotification {
+ required NavFocusType focus_type = 1;
+}
+
+message PingRequest {
+ required int64 timestamp = 1;
+ optional bool bug_report = 2;
+ optional bytes data = 3;
+}
+
+message PingResponse {
+ required int64 timestamp = 1;
+ optional bytes data = 2;
+}
+
+message ByeByeRequest {
+ required ByeByeReason reason = 1;
+}
+
+message ByeByeResponse {
+
+}
+
+message VoiceSessionNotification {
+ optional VoiceSessionStatus status = 1;
+}
+
+message CarConnectedDevicesRequest {
+
+}
+
+message CarConnectedDevices {
+ repeated ConnectedDevice connected_devices = 1;
+ optional bool unsolicited = 2;
+ optional bool final_list = 3 [default = true];
+}
+
+message ConnectedDevice {
+ optional string device_name = 1;
+ optional int32 device_id = 2;
+}
+
+message UserSwitchRequest {
+ optional ConnectedDevice selected_device = 1;
+}
+
+message UserSwitchResponse {
+ optional UserSwitchStatus status = 1;
+ optional ConnectedDevice selected_device = 2;
+}
+
+message BatteryStatusNotification {
+ required uint32 battery_level = 1;
+ optional uint32 time_remaining_s = 2;
+ optional bool critical_battery = 3;
+}
+
+message CallAvailabilityStatus {
+ optional bool call_available = 1;
+}
+
+message SensorRequest {
+ required SensorType type = 1;
+ required int64 min_update_period = 2;
+}
+
+message SensorResponse {
+ required MessageStatus status = 1;
+}
+
+message SensorBatch {
+ repeated LocationData location_data = 1;
+ repeated CompassData compass_data = 2;
+ repeated SpeedData speed_data = 3;
+ repeated RpmData rpm_data = 4;
+ repeated OdometerData odometer_data = 5;
+ repeated FuelData fuel_data = 6;
+ repeated ParkingBrakeData parking_brake_data = 7;
+ repeated GearData gear_data = 8;
+ repeated DiagnosticsData diagnostics_data = 9;
+ repeated NightModeData night_mode_data = 10;
+ repeated EnvironmentData environment_data = 11;
+ repeated HvacData hvac_data = 12;
+ repeated DrivingStatusData driving_status_data = 13;
+ repeated DeadReckoningData dead_reckoning_data = 14;
+ repeated PassengerData passenger_data = 15;
+ repeated DoorData door_data = 16;
+ repeated LightData light_data = 17;
+ repeated TirePressureData tire_pressure_data = 18;
+ repeated AccelerometerData accelerometer_data = 19;
+ repeated GyroscopeData gyroscope_data = 20;
+ repeated GpsSatelliteData gps_satellite_data = 21;
+ repeated TollCardData toll_card_data = 22;
+}
+
+message SensorError {
+ required SensorType sensor_type = 1;
+ required SensorErrorType sensor_error_type = 2;
+}
+
+message LocationData {
+ optional uint64 timestamp = 1 [deprecated = true];
+ required int32 latitude_e7 = 2;
+ required int32 longitude_e7 = 3;
+ optional uint32 accuracy_e3 = 4;
+ optional int32 altitude_e2 = 5;
+ optional int32 speed_e3 = 6;
+ optional int32 bearing_e6 = 7;
+}
+
+message CompassData {
+ required int32 bearing_e6 = 1;
+ optional int32 pitch_e6 = 2;
+ optional int32 roll_e6 = 3;
+}
+
+message SpeedData {
+ required int32 speed_e3 = 1;
+ optional bool cruise_engaged = 2;
+ optional int32 cruise_set_speed = 4;
+}
+
+message RpmData {
+ required int32 rpm_e3 = 1;
+}
+
+message OdometerData {
+ required int32 kms_e1 = 1;
+ optional int32 trip_kms_e1 = 2;
+}
+
+message FuelData {
+ optional int32 fuel_level = 1;
+ optional int32 range = 2;
+ optional bool low_fuel_warning = 3;
+}
+
+message ParkingBrakeData {
+ required bool parking_brake = 1;
+}
+
+message GearData {
+ required Gear gear = 1;
+}
+
+message DiagnosticsData {
+ optional bytes dtc = 1;
+}
+
+message NightModeData {
+ optional bool night_mode = 1;
+}
+
+message EnvironmentData {
+ optional int32 temperature_e3 = 1;
+ optional int32 pressure_e3 = 2;
+ optional int32 rain = 3;
+}
+
+message HvacData {
+ optional int32 target_temperature_e3 = 1;
+ optional int32 current_temperature_e3 = 2;
+}
+
+message DrivingStatusData {
+ required int32 status = 1;
+}
+
+message DeadReckoningData {
+ optional int32 steering_angle_e1 = 1;
+ repeated int32 wheel_speed_e3 = 2;
+}
+
+message LightData {
+ optional HeadLightState head_light_state = 1;
+ optional TurnIndicatorState turn_indicator_state = 2;
+ optional bool hazard_lights_on = 3;
+}
+
+message PassengerData {
+ optional bool passenger_present = 1;
+}
+
+message DoorData {
+ optional bool hood_open = 1;
+ optional bool trunk_open = 2;
+ repeated bool door_open = 3;
+}
+
+message TirePressureData {
+ repeated int32 tire_pressures_e2 = 1;
+}
+
+message AccelerometerData {
+ optional int32 acceleration_x_e3 = 1;
+ optional int32 acceleration_y_e3 = 2;
+ optional int32 acceleration_z_e3 = 3;
+}
+
+message GyroscopeData {
+ optional int32 rotation_speed_x_e3 = 1;
+ optional int32 rotation_speed_y_e3 = 2;
+ optional int32 rotation_speed_z_e3 = 3;
+}
+
+message GpsSatellite {
+ required int32 prn = 1;
+ required int32 snr_e3 = 2;
+ required bool used_in_fix = 3;
+ optional int32 azimuth_e3 = 4;
+ optional int32 elevation_e3 = 5;
+}
+
+message GpsSatelliteData {
+ required int32 number_in_use = 1;
+ optional int32 number_in_view = 2;
+ repeated GpsSatellite satellites = 3;
+}
+
+message TollCardData {
+ required bool is_card_present = 1;
+}
+
+message Setup {
+ required MediaCodecType type = 1;
+}
+
+message Start {
+ required int32 session_id = 1;
+ required uint32 configuration_index = 2;
+}
+
+message Stop {
+
+}
+
+message Config {
+ required Status status = 1;
+ enum Status {
+ STATUS_WAIT = 1;
+ STATUS_READY = 2;
+ }
+
+ optional uint32 max_unacked = 2;
+ repeated uint32 configuration_indices = 3;
+}
+
+message Ack {
+ required int32 session_id = 1;
+ optional uint32 ack = 2;
+ repeated uint64 receive_timestamp_ns = 3;
+}
+
+message AudioUnderflowNotification {
+ required int32 session_id = 1;
+}
+
+message VideoFocusRequestNotification {
+ optional int32 disp_channel_id = 1 [deprecated = true];
+ optional VideoFocusMode mode = 2;
+ optional VideoFocusReason reason = 3;
+}
+
+message VideoFocusNotification {
+ optional VideoFocusMode focus = 1;
+ optional bool unsolicited = 2;
+}
+
+message UpdateUiConfigRequest {
+ optional UiConfig ui_config = 1;
+}
+
+message UpdateUiConfigReply {
+ optional UiConfig ui_config = 1;
+}
+
+message AudioFocusRequestNotification {
+ required AudioFocusRequestType request = 1;
+}
+
+message AudioFocusNotification {
+ required AudioFocusStateType focus_state = 1;
+ optional bool unsolicited = 2;
+}
+
+message MicrophoneRequest {
+ required bool open = 1;
+ optional bool anc_enabled = 2;
+ optional bool ec_enabled = 3;
+ optional int32 max_unacked = 4;
+}
+
+message MicrophoneResponse {
+ required int32 status = 1;
+ optional int32 session_id = 2;
+}
+
+message KeyBindingRequest {
+ repeated int32 keycodes = 1 [packed = true];
+}
+
+message KeyBindingResponse {
+ required int32 status = 1;
+}
+
+message InputReport {
+ required uint64 timestamp = 1;
+ optional int32 disp_channel_id = 2 [deprecated = true];
+ optional TouchEvent touch_event = 3;
+ optional KeyEvent key_event = 4;
+ optional AbsoluteEvent absolute_event = 5;
+ optional RelativeEvent relative_event = 6;
+ optional TouchEvent touchpad_event = 7;
+}
+
+message KeyEvent {
+ repeated Key keys = 1;
+ message Key {
+ required uint32 keycode = 1;
+ required bool down = 2;
+ required uint32 metastate = 3;
+ optional bool longpress = 4;
+ }
+}
+
+message TouchEvent {
+ repeated Pointer pointer_data = 1;
+ message Pointer {
+ required uint32 x = 1;
+ required uint32 y = 2;
+ required uint32 pointer_id = 3;
+ }
+
+ optional uint32 action_index = 2;
+ optional PointerAction action = 3;
+}
+
+message AbsoluteEvent {
+ repeated Abs data = 1;
+ message Abs {
+ required uint32 keycode = 1;
+ required int32 value = 2;
+ }
+}
+
+message RelativeEvent {
+ repeated Rel data = 1;
+ message Rel {
+ required uint32 keycode = 1;
+ required int32 delta = 2;
+ }
+}
+
+message InputFeedback {
+ optional FeedbackEvent event = 1;
+}
+
+message BluetoothPairingRequest {
+ required string phone_address = 1;
+ required BluetoothPairingMethod pairing_method = 2;
+}
+
+message BluetoothPairingResponse {
+ required MessageStatus status = 1;
+ required bool already_paired = 2;
+}
+
+message BluetoothAuthenticationData {
+ required string auth_data = 1;
+ optional BluetoothPairingMethod pairing_method = 2;
+}
+
+message BluetoothAuthenticationResult {
+ required MessageStatus status = 1;
+}
+
+message WifiProjectionService {
+ optional string car_wifi_bssid = 1;
+}
+
+message WifiCredentialsRequest {
+
+}
+
+message WifiCredentialsResponse {
+ optional string car_wifi_password = 1;
+ optional WifiSecurityMode car_wifi_security_mode = 2;
+ optional string car_wifi_ssid = 3;
+ repeated int32 supported_wifi_channels = 4;
+ optional AccessPointType access_point_type = 5;
+}
+
+message RadioStateNotification {
+ required bool radio_source_enabled = 1;
+ optional bool radio_muted = 2;
+ required int32 active_radio_id = 3;
+ required RadioStationInfo station_info = 4;
+ repeated RadioStationInfo program_list = 5;
+ repeated StationPresetList station_preset_lists = 6;
+}
+
+message RadioSourceRequest {
+
+}
+
+message RadioSourceResponse {
+ optional MessageStatus status = 1;
+ required bool radio_source_enabled = 2;
+}
+
+message SelectActiveRadioRequest {
+ required int32 radio_id = 1;
+}
+
+message ActiveRadioNotification {
+ optional MessageStatus status = 1;
+ required int32 radio_id = 2;
+ optional RadioStationInfo station_info = 3;
+}
+
+message StepChannelRequest {
+ required int32 radio_id = 1;
+ required bool up = 2;
+ required bool skip_sub_channel = 3;
+}
+
+message StepChannelResponse {
+ optional MessageStatus status = 1;
+ required int32 radio_id = 2;
+}
+
+message SeekStationRequest {
+ required int32 radio_id = 1;
+ required bool up = 2;
+ required bool skip_sub_channel = 3;
+}
+
+message SeekStationResponse {
+ optional MessageStatus status = 1;
+ required int32 radio_id = 2;
+}
+
+message ScanStationsRequest {
+ required int32 radio_id = 1;
+ required bool start = 2;
+ required bool up = 3;
+ required bool skip_sub_channel = 4;
+}
+
+message ScanStationsResponse {
+ optional MessageStatus status = 1;
+ required int32 radio_id = 2;
+ optional bool started = 3;
+}
+
+message TuneToStationRequest {
+ required int32 radio_id = 1;
+ required int32 channel = 2;
+ optional int32 sub_channel = 3;
+}
+
+message TuneToStationResponse {
+ required MessageStatus status = 1;
+ required int32 radio_id = 2;
+}
+
+message RadioStationInfoNotification {
+ required int32 radio_id = 1;
+ required RadioStationInfo station_info = 2;
+}
+
+message RadioStationInfo {
+ required RadioType type = 1;
+ required int32 channel = 2;
+ optional int32 sub_channel = 3;
+ optional RadioStationMetaData meta_data = 4;
+}
+
+message RadioStationMetaData {
+ optional int32 audio_channels = 1;
+ optional int32 signal_quality = 2;
+ optional RdsData rds = 3;
+ optional HdRadioStationInfo hd_station_info = 4;
+}
+
+message RdsData {
+ repeated int32 alternative_frequencies = 1;
+ optional int32 program_id = 2;
+ optional int32 music_speech_switch = 3;
+ optional string program_service_name = 4;
+ optional int32 program_type = 5;
+ optional string program_type_name = 6;
+ optional string radio_text = 7;
+ optional bool traffic_program_flag = 8;
+ optional bool traffic_announcement_flag = 9;
+}
+
+message HdRadioStationInfo {
+ optional HdAcquisionState acquisition_state = 1;
+ optional int32 digital_signal_strength = 2;
+ optional HdRadioPsdData psd = 3;
+ optional HdRadioSisData sis = 4;
+}
+
+message HdRadioPsdData {
+ optional string title = 1;
+ optional string artist = 2;
+ optional string album = 3;
+ optional string genre = 4;
+ optional HdRadioComment comment = 5;
+ optional HdRadioCommercial commercial = 6;
+ optional HdRadioArtistExperience artist_experience = 7;
+}
+
+message HdRadioComment {
+ optional string description = 1;
+ optional string text = 2;
+}
+
+message HdRadioCommercial {
+ optional int32 encoding = 1;
+ optional string price = 2;
+ optional string valid = 3;
+ optional string url = 4;
+ optional int32 received = 5;
+ optional string seller = 6;
+ optional string description = 7;
+}
+
+message HdRadioArtistExperience {
+ optional bytes image = 1;
+}
+
+message HdRadioSisData {
+ optional int32 station_id = 1;
+ optional string station_name_short = 2;
+ optional string station_name_long = 3;
+ optional Location station_location = 4;
+ optional string station_message = 5;
+ optional string service_info_message = 6;
+ optional string universal_short_station_name_slogan = 7;
+}
+
+message Location {
+ required double longitude = 1;
+ required double latitude = 2;
+}
+
+message GetProgramListRequest {
+ required int32 radio_id = 1;
+}
+
+message GetProgramListResponse {
+ required MessageStatus status = 1;
+ required int32 radio_id = 2;
+ required bool completed = 3;
+ repeated RadioStationInfo program_list = 4;
+}
+
+message CancelRadioOperationsRequest {
+ required int32 radio_id = 1;
+}
+
+message CancelRadioOperationsResponse {
+ required MessageStatus status = 1;
+ required int32 radio_id = 2;
+}
+
+message ConfigureChannelSpacingRequest {
+ required int32 radio_id = 1;
+ required int32 channel_spacing = 2;
+}
+
+message ConfigureChannelSpacingResponse {
+ required MessageStatus status = 1;
+ required int32 radio_id = 2;
+ required int32 channel_spacing = 3;
+}
+
+message StationPresetsNotification {
+ repeated StationPresetList preset_lists = 2;
+}
+
+message StationPresetList {
+ optional string name = 1;
+ repeated int32 restricted_station_types = 2;
+ repeated StationPreset presets = 3;
+}
+
+message StationPreset {
+ required RadioType type = 1;
+ required int32 channel = 2;
+ optional int32 sub_channel = 3;
+}
+
+message GetTrafficUpdateRequest {
+ required int32 radio_id = 1;
+}
+
+message GetTrafficUpdateResponse {
+ required MessageStatus status = 1;
+ required int32 radio_id = 2;
+ repeated TrafficIncident incidents = 3;
+}
+
+message TrafficIncident {
+ required int32 event_code = 1;
+ required Location location = 2;
+ required int32 expected_incident_duration = 3;
+}
+
+message MuteRadioRequest {
+ optional int32 radio_id = 1;
+ required bool mute = 2;
+}
+
+message MuteRadioResponse {
+ optional MessageStatus status = 1;
+ optional int32 radio_id = 2;
+ optional bool muted = 3;
+}
+
+message NavigationStatusStart {
+
+}
+
+message NavigationStatusStop {
+
+}
+
+message NavigationStatus {
+ required NavigationStatusEnum status = 1;
+ enum NavigationStatusEnum {
+ UNAVAILABLE = 0;
+ ACTIVE = 1;
+ INACTIVE = 2;
+ REROUTING = 3;
+ }
+}
+
+message NavigationNextTurnEvent {
+ option deprecated = true;
+ required string road = 1;
+
+ optional TurnSide turn_side = 2;
+ enum TurnSide {
+ LEFT = 1;
+ RIGHT = 2;
+ UNSPECIFIED = 3;
+ }
+
+ optional NextTurnEnum event = 3;
+ enum NextTurnEnum {
+ UNKNOWN = 0;
+ DEPART = 1;
+ NAME_CHANGE = 2;
+ SLIGHT_TURN = 3;
+ TURN = 4;
+ SHARP_TURN = 5;
+ U_TURN = 6;
+ ON_RAMP = 7;
+ OFF_RAMP = 8;
+ FORK = 9;
+ MERGE = 10;
+ ROUNDABOUT_ENTER = 11;
+ ROUNDABOUT_EXIT = 12;
+ ROUNDABOUT_ENTER_AND_EXIT = 13;
+ STRAIGHT = 14;
+ FERRY_BOAT = 16;
+ FERRY_TRAIN = 17;
+ DESTINATION = 19;
+ }
+
+ optional bytes image = 4;
+ optional int32 turn_number = 5;
+ optional int32 turn_angle = 6;
+}
+
+message NavigationNextTurnDistanceEvent {
+ option deprecated = true;
+ required int32 distance_meters = 1;
+ required int32 time_to_turn_seconds = 2;
+ optional int32 display_distance_e3 = 3;
+
+ optional DistanceUnits display_distance_unit = 4;
+ enum DistanceUnits {
+ UNKNOWN_DISTANCE_UNIT = 0;
+ METERS = 1;
+ KILOMETERS = 2;
+ KILOMETERS_P1 = 3;
+ MILES = 4;
+ MILES_P1 = 5;
+ FEET = 6;
+ YARDS = 7;
+ }
+}
+
+message NavigationState {
+ repeated NavigationStep steps = 1;
+ repeated NavigationDestination destinations = 2;
+}
+
+message NavigationStep {
+ optional NavigationManeuver maneuver = 1;
+ optional NavigationRoad road = 2;
+ repeated NavigationLane lanes = 3;
+ optional NavigationCue cue = 4;
+}
+
+message NavigationManeuver {
+ optional NavigationType type = 1;
+ enum NavigationType {
+ UNKNOWN = 0;
+ DEPART = 1;
+ NAME_CHANGE = 2;
+ KEEP_LEFT = 3;
+ KEEP_RIGHT = 4;
+ TURN_SLIGHT_LEFT = 5;
+ TURN_SLIGHT_RIGHT = 6;
+ TURN_NORMAL_LEFT = 7;
+ TURN_NORMAL_RIGHT = 8;
+ TURN_SHARP_LEFT = 9;
+ TURN_SHARP_RIGHT = 10;
+ U_TURN_LEFT = 11;
+ U_TURN_RIGHT = 12;
+ ON_RAMP_SLIGHT_LEFT = 13;
+ ON_RAMP_SLIGHT_RIGHT = 14;
+ ON_RAMP_NORMAL_LEFT = 15;
+ ON_RAMP_NORMAL_RIGHT = 16;
+ ON_RAMP_SHARP_LEFT = 17;
+ ON_RAMP_SHARP_RIGHT = 18;
+ ON_RAMP_U_TURN_LEFT = 19;
+ ON_RAMP_U_TURN_RIGHT = 20;
+ OFF_RAMP_SLIGHT_LEFT = 21;
+ OFF_RAMP_SLIGHT_RIGHT = 22;
+ OFF_RAMP_NORMAL_LEFT = 23;
+ OFF_RAMP_NORMAL_RIGHT = 24;
+ FORK_LEFT = 25;
+ FORK_RIGHT = 26;
+ MERGE_LEFT = 27;
+ MERGE_RIGHT = 28;
+ MERGE_SIDE_UNSPECIFIED = 29;
+ ROUNDABOUT_ENTER = 30;
+ ROUNDABOUT_EXIT = 31;
+ ROUNDABOUT_ENTER_AND_EXIT_CW = 32;
+ ROUNDABOUT_ENTER_AND_EXIT_CW_WITH_ANGLE = 33;
+ ROUNDABOUT_ENTER_AND_EXIT_CCW = 34;
+ ROUNDABOUT_ENTER_AND_EXIT_CCW_WITH_ANGLE = 35;
+ STRAIGHT = 36;
+ FERRY_BOAT = 37;
+ FERRY_TRAIN = 38;
+ DESTINATION = 39;
+ DESTINATION_STRAIGHT = 40;
+ DESTINATION_LEFT = 41;
+ DESTINATION_RIGHT = 42;
+ }
+
+ optional int32 roundabout_exit_number = 2;
+ optional int32 roundabout_exit_angle = 3;
+}
+
+message NavigationCue {
+ repeated string alternate_text = 1;
+}
+
+message NavigationLane {
+ repeated LaneDirection lane_directions = 1;
+ message LaneDirection {
+ optional Shape shape = 1;
+ enum Shape {
+ UNKNOWN = 0;
+ STRAIGHT = 1;
+ SLIGHT_LEFT = 2;
+ SLIGHT_RIGHT = 3;
+ NORMAL_LEFT = 4;
+ NORMAL_RIGHT = 5;
+ SHARP_LEFT = 6;
+ SHARP_RIGHT = 7;
+ U_TURN_LEFT = 8;
+ U_TURN_RIGHT = 9;
+ }
+
+ optional bool is_highlighted = 2;
+ }
+}
+
+message NavigationDestination {
+ optional string address = 1;
+}
+
+message NavigationCurrentPosition {
+ optional NavigationStepDistance step_distance = 1;
+ repeated NavigationDestinationDistance destination_distances = 2;
+ optional NavigationRoad current_road = 3;
+}
+
+message NavigationStepDistance {
+ optional NavigationDistance distance = 1;
+ optional int64 time_to_step_seconds = 2;
+}
+
+message NavigationDestinationDistance {
+ optional NavigationDistance distance = 1;
+ optional string estimated_time_at_arrival = 2;
+ optional int64 time_to_arrival_seconds = 3;
+}
+
+message NavigationRoad {
+ optional string name = 1;
+}
+
+message NavigationDistance {
+ optional int32 meters = 1;
+ optional string display_value = 2;
+
+ optional DistanceUnits display_units = 3;
+ enum DistanceUnits {
+ UNKNOWN_DISTANCE_UNIT = 0;
+ METERS = 1;
+ KILOMETERS = 2;
+ KILOMETERS_P1 = 3;
+ MILES = 4;
+ MILES_P1 = 5;
+ FEET = 6;
+ YARDS = 7;
+ }
+}
+
+message InstrumentClusterInput {
+ required InstrumentClusterAction action = 1;
+ enum InstrumentClusterAction {
+ UNKNOWN = 0;
+ UP = 1;
+ DOWN = 2;
+ LEFT = 3;
+ RIGHT = 4;
+ ENTER = 5;
+ BACK = 6;
+ CALL = 7;
+ }
+}
+
+message MediaPlaybackStatus {
+ optional State state = 1;
+ enum State {
+ STOPPED = 1;
+ PLAYING = 2;
+ PAUSED = 3;
+ }
+
+ optional string media_source = 2;
+ optional uint32 playback_seconds = 3;
+ optional bool shuffle = 4;
+ optional bool repeat = 5;
+ optional bool repeat_one = 6;
+}
+
+message MediaPlaybackMetadata {
+ optional string song = 1;
+ optional string artist = 2;
+ optional string album = 3;
+ optional bytes album_art = 4;
+ optional string playlist = 5;
+ optional uint32 duration_seconds = 6;
+ optional int32 rating = 7;
+}
+
+message PhoneStatus {
+ repeated Call calls = 1;
+ message Call {
+ required State phone_state = 1;
+ required uint32 call_duration_seconds = 2;
+ optional string caller_number = 3;
+ optional string caller_id = 4;
+ optional string caller_number_type = 5;
+ optional bytes caller_thumbnail = 6;
+ }
+
+ optional uint32 signal_strength = 2;
+
+ enum State {
+ UNKNOWN = 0;
+ IN_CALL = 1;
+ ON_HOLD = 2;
+ INACTIVE = 3;
+ INCOMING = 4;
+ CONFERENCED = 5;
+ MUTED = 6;
+ }
+}
+
+message PhoneStatusInput {
+ required InstrumentClusterInput input = 1;
+ optional string caller_number = 2;
+ optional string caller_id = 3;
+}
+
+message MediaRootNode {
+ required string path = 1;
+ repeated MediaSource media_sources = 2;
+}
+
+message MediaSource {
+ required string path = 1;
+ required string name = 2;
+ optional bytes album_art = 3;
+}
+
+message MediaSourceNode {
+ required MediaSource source = 1;
+ optional int32 start = 2;
+ optional int32 total = 3;
+ repeated MediaList lists = 4;
+}
+
+message MediaList {
+ required string path = 1;
+
+ required Type type = 2;
+ enum Type {
+ UNKNOWN = 0;
+ PLAYLIST = 1;
+ ALBUM = 2;
+ ARTIST = 3;
+ STATION = 4;
+ GENRE = 5;
+ }
+
+ optional string name = 3;
+ optional bytes album_art = 4;
+}
+
+message MediaListNode {
+ required MediaList list = 1;
+ optional int32 start = 2;
+ optional int32 total = 3;
+ repeated MediaSong songs = 4;
+}
+
+message MediaSong {
+ required string path = 1;
+ required string name = 2;
+ optional string artist = 3;
+ optional string album = 4;
+}
+
+message MediaSongNode {
+ required MediaSong song = 1;
+ optional bytes album_art = 2;
+ optional uint32 duration_seconds = 3;
+}
+
+message MediaGetNode {
+ required string path = 1;
+ optional int32 start = 2;
+ optional bool get_album_art = 3 [default = true];
+}
+
+message MediaBrowserInput {
+ required InstrumentClusterInput input = 1;
+ required string path = 2;
+}
+
+message GalVerificationSetSensor {
+ optional SensorBatch sensors = 1;
+}
+
+message GalVerificationMediaSinkStatus {
+ required int32 channel = 1;
+ required Config.Status status = 2;
+}
+
+message GalVerificationVideoFocus {
+ required VideoFocusMode video_focus_mode = 1;
+ optional bool deny = 2;
+ optional bool unsolicited = 3;
+}
+
+message GalVerificationAudioFocus {
+ required AudioFocusStateType audio_focus_state = 1;
+ required int32 channel = 2;
+ optional bool unsolicited = 3;
+}
+
+message GalVerificationInjectInput {
+ required InputReport input = 1;
+}
+
+message GalVerificationBugReportRequest {
+
+}
+
+message GalVerificationBugReportResponse {
+ required string bug_report = 1;
+}
+
+message GalVerificationScreenCaptureRequest {
+
+}
+
+message GalVerificationScreenCaptureResponse {
+ required bytes screen_capture = 1;
+}
+
+message GalVerificationDisplayInformationRequest {
+
+}
+
+message GalVerificationDisplayInformationResponse {
+ required int32 native_width = 1;
+ required int32 native_height = 2;
+}
+
+message GenericNotificationSubscribe {
+
+}
+
+message GenericNotificationUnsubscribe {
+
+}
+
+message GenericNotificationMessage {
+ optional string id = 1;
+ optional string text = 2;
+ optional bytes icon = 3;
+}
+
+message GenericNotificationAck {
+ optional string id = 1;
+ optional bool handled = 2;
+}
+
+message GoogleDiagnosticsBugReportRequest {
+ required int32 token = 1;
+}
+
+message GoogleDiagnosticsBugReportResponse {
+ optional string bug_report = 1;
+ repeated int32 tokens = 2;
+}
+
+enum ControlMessageType {
+ MESSAGE_VERSION_REQUEST = 1;
+ MESSAGE_VERSION_RESPONSE = 2;
+ MESSAGE_ENCAPSULATED_SSL = 3;
+ MESSAGE_AUTH_COMPLETE = 4;
+ MESSAGE_SERVICE_DISCOVERY_REQUEST = 5;
+ MESSAGE_SERVICE_DISCOVERY_RESPONSE = 6;
+ MESSAGE_CHANNEL_OPEN_REQUEST = 7;
+ MESSAGE_CHANNEL_OPEN_RESPONSE = 8;
+ MESSAGE_CHANNEL_CLOSE_NOTIFICATION = 9;
+ MESSAGE_PING_REQUEST = 11;
+ MESSAGE_PING_RESPONSE = 12;
+ MESSAGE_NAV_FOCUS_REQUEST = 13;
+ MESSAGE_NAV_FOCUS_NOTIFICATION = 14;
+ MESSAGE_BYEBYE_REQUEST = 15;
+ MESSAGE_BYEBYE_RESPONSE = 16;
+ MESSAGE_VOICE_SESSION_NOTIFICATION = 17;
+ MESSAGE_AUDIO_FOCUS_REQUEST = 18;
+ MESSAGE_AUDIO_FOCUS_NOTIFICATION = 19;
+ MESSAGE_CAR_CONNECTED_DEVICES_REQUEST = 20;
+ MESSAGE_CAR_CONNECTED_DEVICES_RESPONSE = 21;
+ MESSAGE_USER_SWITCH_REQUEST = 22;
+ MESSAGE_BATTERY_STATUS_NOTIFICATION = 23;
+ MESSAGE_CALL_AVAILABILITY_STATUS = 24;
+ MESSAGE_USER_SWITCH_RESPONSE = 25;
+ MESSAGE_SERVICE_DISCOVERY_UPDATE = 26;
+ MESSAGE_UNEXPECTED_MESSAGE = 255;
+ MESSAGE_FRAMING_ERROR = 65535;
+}
+
+enum FragInfo {
+ FRAG_CONTINUATION = 0;
+ FRAG_FIRST = 1;
+ FRAG_LAST = 2;
+ FRAG_UNFRAGMENTED = 3;
+}
+
+enum DriverPosition {
+ DRIVER_POSITION_LEFT = 0;
+ DRIVER_POSITION_RIGHT = 1;
+ DRIVER_POSITION_CENTER = 2;
+ DRIVER_POSITION_UNKNOWN = 3;
+}
+
+enum SessionConfiguration {
+ UI_CONFIG_HIDE_CLOCK = 1;
+ UI_CONFIG_HIDE_PHONE_SIGNAL = 2;
+ UI_CONFIG_HIDE_BATTERY_LEVEL = 4;
+ CAN_PLAY_NATIVE_MEDIA_DURING_VR = 8;
+}
+
+enum LocationCharacterization {
+ PRIOR_LOCATIONS = 1;
+ GYROSCOPE_FUSION = 2;
+ ACCELEROMETER_FUSION = 4;
+ COMPASS_FUSION = 8;
+ WHEEL_SPEED_FUSION = 16;
+ STEERING_ANGLE_FUSION = 32;
+ CAR_SPEED_FUSION = 64;
+ DEAD_RECKONED = 128;
+ RAW_GPS_ONLY = 256;
+}
+
+enum SensorType {
+ SENSOR_LOCATION = 1;
+ SENSOR_COMPASS = 2;
+ SENSOR_SPEED = 3;
+ SENSOR_RPM = 4;
+ SENSOR_ODOMETER = 5;
+ SENSOR_FUEL = 6;
+ SENSOR_PARKING_BRAKE = 7;
+ SENSOR_GEAR = 8;
+ SENSOR_OBDII_DIAGNOSTIC_CODE = 9;
+ SENSOR_NIGHT_MODE = 10;
+ SENSOR_ENVIRONMENT_DATA = 11;
+ SENSOR_HVAC_DATA = 12;
+ SENSOR_DRIVING_STATUS_DATA = 13;
+ SENSOR_DEAD_RECKONING_DATA = 14;
+ SENSOR_PASSENGER_DATA = 15;
+ SENSOR_DOOR_DATA = 16;
+ SENSOR_LIGHT_DATA = 17;
+ SENSOR_TIRE_PRESSURE_DATA = 18;
+ SENSOR_ACCELEROMETER_DATA = 19;
+ SENSOR_GYROSCOPE_DATA = 20;
+ SENSOR_GPS_SATELLITE_DATA = 21;
+ SENSOR_TOLL_CARD = 22;
+}
+
+enum FuelType {
+ FUEL_TYPE_UNKNOWN = 0;
+ FUEL_TYPE_UNLEADED = 1;
+ FUEL_TYPE_LEADED = 2;
+ FUEL_TYPE_DIESEL_1 = 3;
+ FUEL_TYPE_DIESEL_2 = 4;
+ FUEL_TYPE_BIODIESEL = 5;
+ FUEL_TYPE_E85 = 6;
+ FUEL_TYPE_LPG = 7;
+ FUEL_TYPE_CNG = 8;
+ FUEL_TYPE_LNG = 9;
+ FUEL_TYPE_ELECTRIC = 10;
+ FUEL_TYPE_HYDROGEN = 11;
+ FUEL_TYPE_OTHER = 12;
+}
+
+enum EvConnectorType {
+ EV_CONNECTOR_TYPE_UNKNOWN = 0;
+ EV_CONNECTOR_TYPE_J1772 = 1;
+ EV_CONNECTOR_TYPE_MENNEKES = 2;
+ EV_CONNECTOR_TYPE_CHADEMO = 3;
+ EV_CONNECTOR_TYPE_COMBO_1 = 4;
+ EV_CONNECTOR_TYPE_COMBO_2 = 5;
+ EV_CONNECTOR_TYPE_TESLA_ROADSTER = 6 [deprecated = true];
+ EV_CONNECTOR_TYPE_TESLA_HPWC = 7 [deprecated = true];
+ EV_CONNECTOR_TYPE_TESLA_SUPERCHARGER = 8;
+ EV_CONNECTOR_TYPE_GBT = 9;
+ EV_CONNECTOR_TYPE_OTHER = 101;
+}
+
+enum VideoCodecResolutionType {
+ VIDEO_800x480 = 1;
+ VIDEO_1280x720 = 2;
+ VIDEO_1920x1080 = 3;
+ VIDEO_2560x1440 = 4;
+ VIDEO_3840x2160 = 5;
+ VIDEO_720x1280 = 6;
+ VIDEO_1080x1920 = 7;
+ VIDEO_1440x2560 = 8;
+ VIDEO_2160x3840 = 9;
+}
+
+enum VideoFrameRateType {
+ VIDEO_FPS_60 = 1;
+ VIDEO_FPS_30 = 2;
+}
+
+enum MediaCodecType {
+ MEDIA_CODEC_AUDIO_PCM = 1;
+ MEDIA_CODEC_AUDIO_AAC_LC = 2;
+ MEDIA_CODEC_VIDEO_H264_BP = 3;
+ MEDIA_CODEC_AUDIO_AAC_LC_ADTS = 4;
+ MEDIA_CODEC_VIDEO_VP9 = 5;
+ MEDIA_CODEC_VIDEO_AV1 = 6;
+ MEDIA_CODEC_VIDEO_H265 = 7;
+}
+
+enum AudioStreamType {
+ AUDIO_STREAM_GUIDANCE = 1;
+ AUDIO_STREAM_SYSTEM_AUDIO = 2;
+ AUDIO_STREAM_MEDIA = 3;
+ AUDIO_STREAM_TELEPHONY = 4;
+}
+
+enum DisplayType {
+ DISPLAY_TYPE_MAIN = 0;
+ DISPLAY_TYPE_CLUSTER = 1;
+ DISPLAY_TYPE_AUXILIARY = 2;
+}
+
+enum UiTheme {
+ UI_THEME_AUTOMATIC = 0;
+ UI_THEME_LIGHT = 1;
+ UI_THEME_DARK = 2;
+}
+
+enum TouchScreenType {
+ CAPACITIVE = 1;
+ RESISTIVE = 2;
+ INFRARED = 3;
+}
+
+enum BluetoothPairingMethod {
+ BLUETOOTH_PAIRING_UNAVAILABLE = -1;
+ BLUETOOTH_PAIRING_OOB = 1;
+ BLUETOOTH_PAIRING_NUMERIC_COMPARISON = 2;
+ BLUETOOTH_PAIRING_PASSKEY_ENTRY = 3;
+ BLUETOOTH_PAIRING_PIN = 4;
+}
+
+enum TrafficServiceType {
+ NO_TRAFFIC_SERVICE = 0;
+ TMC_TRAFFIC_SERVICE = 1;
+}
+
+enum RdsType {
+ NO_RDS = 0;
+ RDS = 1;
+ RBDS = 2;
+}
+
+enum RadioType {
+ AM_RADIO = 0;
+ FM_RADIO = 1;
+ AM_HD_RADIO = 2;
+ FM_HD_RADIO = 3;
+ DAB_RADIO = 4;
+ XM_RADIO = 5;
+}
+
+enum ItuRegion {
+ RADIO_REGION_NONE = 0;
+ RADIO_REGION_ITU_1 = 1;
+ RADIO_REGION_ITU_2 = 2;
+ RADIO_REGION_OIRT = 3;
+ RADIO_REGION_JAPAN = 4;
+ RADIO_REGION_KOREA = 5;
+}
+
+enum NavFocusType {
+ NAV_FOCUS_NATIVE = 1;
+ NAV_FOCUS_PROJECTED = 2;
+}
+
+enum ByeByeReason {
+ USER_SELECTION = 1;
+ DEVICE_SWITCH = 2;
+ NOT_SUPPORTED = 3;
+ NOT_CURRENTLY_SUPPORTED = 4;
+ PROBE_SUPPORTED = 5;
+}
+
+enum VoiceSessionStatus {
+ VOICE_SESSION_START = 1;
+ VOICE_SESSION_END = 2;
+}
+
+enum UserSwitchStatus {
+ STATUS_OK = 0;
+ ERROR_NO_RFCOMM_CONNECTION = -1;
+ ERROR_BT_CLOSED_BEFORE_START = -2;
+ ERROR_BT_CLOSED_AFTER_START = -3;
+ ERROR_INCOMPATIBLE_PHONE_PROTOCOL_VERSION = -4;
+ ERROR_PHONE_UNABLE_TO_CONNECT_WIFI = -5;
+ ERROR_MULTIPLE_USER_SWITCH_REQUEST = -6;
+ ERROR_HU_INTERNAL = -7;
+ ERROR_INVALID_REQUEST = -8;
+ ERROR_REQUEST_TIMEOUT = -9;
+}
+
+enum SensorErrorType {
+ SENSOR_OK = 1;
+ SENSOR_ERROR_TRANSIENT = 2;
+ SENSOR_ERROR_PERMANENT = 3;
+}
+
+enum Gear {
+ GEAR_NEUTRAL = 0;
+ GEAR_1 = 1;
+ GEAR_2 = 2;
+ GEAR_3 = 3;
+ GEAR_4 = 4;
+ GEAR_5 = 5;
+ GEAR_6 = 6;
+ GEAR_7 = 7;
+ GEAR_8 = 8;
+ GEAR_9 = 9;
+ GEAR_10 = 10;
+ GEAR_DRIVE = 100;
+ GEAR_PARK = 101;
+ GEAR_REVERSE = 102;
+}
+
+enum DrivingStatus {
+ DRIVE_STATUS_UNRESTRICTED = 0;
+ DRIVE_STATUS_NO_VIDEO = 1;
+ DRIVE_STATUS_NO_KEYBOARD_INPUT = 2;
+ DRIVE_STATUS_NO_VOICE_INPUT = 4;
+ DRIVE_STATUS_NO_CONFIG = 8;
+ DRIVE_STATUS_LIMIT_MESSAGE_LEN = 16;
+}
+
+enum HeadLightState {
+ HEAD_LIGHT_STATE_OFF = 1;
+ HEAD_LIGHT_STATE_ON = 2;
+ HEAD_LIGHT_STATE_HIGH = 3;
+}
+
+enum TurnIndicatorState {
+ TURN_INDICATOR_NONE = 1;
+ TURN_INDICATOR_LEFT = 2;
+ TURN_INDICATOR_RIGHT = 3;
+}
+
+enum SensorMessageId {
+ SENSOR_MESSAGE_REQUEST = 32769;
+ SENSOR_MESSAGE_RESPONSE = 32770;
+ SENSOR_MESSAGE_BATCH = 32771;
+ SENSOR_MESSAGE_ERROR = 32772;
+}
+
+enum VideoFocusReason {
+ UNKNOWN = 0;
+ PHONE_SCREEN_OFF = 1;
+ LAUNCH_NATIVE = 2;
+}
+
+enum VideoFocusMode {
+ VIDEO_FOCUS_PROJECTED = 1;
+ VIDEO_FOCUS_NATIVE = 2;
+ VIDEO_FOCUS_NATIVE_TRANSIENT = 3;
+ VIDEO_FOCUS_PROJECTED_NO_INPUT_FOCUS = 4;
+}
+
+enum AudioFocusRequestType {
+ AUDIO_FOCUS_GAIN = 1;
+ AUDIO_FOCUS_GAIN_TRANSIENT = 2;
+ AUDIO_FOCUS_GAIN_TRANSIENT_MAY_DUCK = 3;
+ AUDIO_FOCUS_RELEASE = 4;
+}
+
+enum AudioFocusStateType {
+ AUDIO_FOCUS_STATE_INVALID = 0;
+ AUDIO_FOCUS_STATE_GAIN = 1;
+ AUDIO_FOCUS_STATE_GAIN_TRANSIENT = 2;
+ AUDIO_FOCUS_STATE_LOSS = 3;
+ AUDIO_FOCUS_STATE_LOSS_TRANSIENT_CAN_DUCK = 4;
+ AUDIO_FOCUS_STATE_LOSS_TRANSIENT = 5;
+ AUDIO_FOCUS_STATE_GAIN_MEDIA_ONLY = 6;
+ AUDIO_FOCUS_STATE_GAIN_TRANSIENT_GUIDANCE_ONLY = 7;
+}
+
+enum MediaMessageId {
+ MEDIA_MESSAGE_DATA = 0;
+ MEDIA_MESSAGE_CODEC_CONFIG = 1;
+ MEDIA_MESSAGE_SETUP = 32768;
+ MEDIA_MESSAGE_START = 32769;
+ MEDIA_MESSAGE_STOP = 32770;
+ MEDIA_MESSAGE_CONFIG = 32771;
+ MEDIA_MESSAGE_ACK = 32772;
+ MEDIA_MESSAGE_MICROPHONE_REQUEST = 32773;
+ MEDIA_MESSAGE_MICROPHONE_RESPONSE = 32774;
+ MEDIA_MESSAGE_VIDEO_FOCUS_REQUEST = 32775;
+ MEDIA_MESSAGE_VIDEO_FOCUS_NOTIFICATION = 32776;
+ MEDIA_MESSAGE_UPDATE_UI_CONFIG_REQUEST = 32777;
+ MEDIA_MESSAGE_UPDATE_UI_CONFIG_REPLY = 32778;
+ MEDIA_MESSAGE_AUDIO_UNDERFLOW_NOTIFICATION = 32779;
+}
+
+enum PointerAction {
+ ACTION_DOWN = 0;
+ ACTION_UP = 1;
+ ACTION_MOVED = 2;
+ ACTION_POINTER_DOWN = 5;
+ ACTION_POINTER_UP = 6;
+}
+
+enum FeedbackEvent {
+ FEEDBACK_SELECT = 1;
+ FEEDBACK_FOCUS_CHANGE = 2;
+ FEEDBACK_DRAG_SELECT = 3;
+ FEEDBACK_DRAG_START = 4;
+ FEEDBACK_DRAG_END = 5;
+}
+
+enum InputMessageId {
+ INPUT_MESSAGE_INPUT_REPORT = 32769;
+ INPUT_MESSAGE_KEY_BINDING_REQUEST = 32770;
+ INPUT_MESSAGE_KEY_BINDING_RESPONSE = 32771;
+ INPUT_MESSAGE_INPUT_FEEDBACK = 32772;
+}
+
+enum BluetoothMessageId {
+ BLUETOOTH_MESSAGE_PAIRING_REQUEST = 32769;
+ BLUETOOTH_MESSAGE_PAIRING_RESPONSE = 32770;
+ BLUETOOTH_MESSAGE_AUTHENTICATION_DATA = 32771;
+ BLUETOOTH_MESSAGE_AUTHENTICATION_RESULT = 32772;
+}
+
+enum WifiSecurityMode {
+ UNKNOWN_SECURITY_MODE = 0;
+ OPEN = 1;
+ WEP_64 = 2;
+ WEP_128 = 3;
+ WPA_PERSONAL = 4;
+ WPA2_PERSONAL = 5;
+ WPA_WPA2_PERSONAL = 6;
+ WPA_ENTERPRISE = 7;
+ WPA2_ENTERPRISE = 8;
+ WPA_WPA2_ENTERPRISE = 9;
+}
+
+enum AccessPointType {
+ STATIC = 0;
+ DYNAMIC = 1;
+}
+
+enum WifiProjectionMessageId {
+ WIFI_MESSAGE_CREDENTIALS_REQUEST = 32769;
+ WIFI_MESSAGE_CREDENTIALS_RESPONSE = 32770;
+}
+
+enum RadioMessageId {
+ RADIO_MESSAGE_ACTIVE_RADIO_NOTIFICATION = 32769;
+ RADIO_MESSAGE_SELECT_ACTIVE_RADIO_REQUEST = 32770;
+ RADIO_MESSAGE_STEP_CHANNEL_REQUEST = 32771;
+ RADIO_MESSAGE_STEP_CHANNEL_RESPONSE = 32772;
+ RADIO_MESSAGE_SEEK_STATION_REQUEST = 32773;
+ RADIO_MESSAGE_SEEK_STATION_RESPONSE = 32774;
+ RADIO_MESSAGE_SCAN_STATIONS_REQUEST = 32775;
+ RADIO_MESSAGE_SCAN_STATIONS_RESPONSE = 32776;
+ RADIO_MESSAGE_TUNE_TO_STATION_REQUEST = 32777;
+ RADIO_MESSAGE_TUNE_TO_STATION_RESPONSE = 32778;
+ RADIO_MESSAGE_GET_PROGRAM_LIST_REQUEST = 32779;
+ RADIO_MESSAGE_GET_PROGRAM_LIST_RESPONSE = 32780;
+ RADIO_MESSAGE_STATION_PRESETS_NOTIFICATION = 32781;
+ RADIO_MESSAGE_CANCEL_OPERATIONS_REQUEST = 32782;
+ RADIO_MESSAGE_CANCEL_OPERATIONS_RESPONSE = 32783;
+ RADIO_MESSAGE_CONFIGURE_CHANNEL_SPACING_REQUEST = 32784;
+ RADIO_MESSAGE_CONFIGURE_CHANNEL_SPACING_RESPONSE = 32785;
+ RADIO_MESSAGE_RADIO_STATION_INFO_NOTIFICATION = 32786;
+ RADIO_MESSAGE_MUTE_RADIO_REQUEST = 32787;
+ RADIO_MESSAGE_MUTE_RADIO_RESPONSE = 32788;
+ RADIO_MESSAGE_GET_TRAFFIC_UPDATE_REQUEST = 32789;
+ RADIO_MESSAGE_GET_TRAFFIC_UPDATE_RESPONSE = 32790;
+ RADIO_MESSAGE_RADIO_SOURCE_REQUEST = 32791;
+ RADIO_MESSAGE_RADIO_SOURCE_RESPONSE = 32792;
+ RADIO_MESSAGE_STATE_NOTIFICATION = 32793;
+}
+
+enum HdAcquisionState {
+ ANALOG = 0;
+ ACQUIRING_HD = 1;
+ ACQUIRED_HD = 2;
+}
+
+enum NavigationStatusMessageId {
+ INSTRUMENT_CLUSTER_START = 32769;
+ INSTRUMENT_CLUSTER_STOP = 32770;
+ INSTRUMENT_CLUSTER_NAVIGATION_STATUS = 32771;
+ INSTRUMENT_CLUSTER_NAVIGATION_TURN_EVENT = 32772 [deprecated = true];
+ INSTRUMENT_CLUSTER_NAVIGATION_DISTANCE_EVENT = 32773 [deprecated = true];
+ INSTRUMENT_CLUSTER_NAVIGATION_STATE = 32774;
+ INSTRUMENT_CLUSTER_NAVIGATION_CURRENT_POSITION = 32775;
+}
+
+enum MediaPlaybackStatusMessageId {
+ MEDIA_PLAYBACK_STATUS = 32769;
+ MEDIA_PLAYBACK_INPUT = 32770;
+ MEDIA_PLAYBACK_METADATA = 32771;
+}
+
+enum PhoneStatusMessageId {
+ PHONE_STATUS = 32769;
+ PHONE_STATUS_INPUT = 32770;
+}
+
+enum MediaBrowserMessageId {
+ MEDIA_ROOT_NODE = 32769;
+ MEDIA_SOURCE_NODE = 32770;
+ MEDIA_LIST_NODE = 32771;
+ MEDIA_SONG_NODE = 32772;
+ MEDIA_GET_NODE = 32773;
+ MEDIA_BROWSE_INPUT = 32774;
+}
+
+enum GalVerificationVendorExtensionMessageId {
+ GAL_VERIFICATION_SET_SENSOR = 32769;
+ GAL_VERIFICATION_MEDIA_SINK_STATUS = 32770;
+ GAL_VERIFICATION_VIDEO_FOCUS = 32771;
+ GAL_VERIFICATION_AUDIO_FOCUS = 32772;
+ GAL_VERIFICATION_INJECT_INPUT = 32773;
+ GAL_VERIFICATION_BUG_REPORT_REQUEST = 32774;
+ GAL_VERIFICATION_BUG_REPORT_RESPONSE = 32775;
+ GAL_VERIFICATION_SCREEN_CAPTURE_REQUEST = 32776;
+ GAL_VERIFICATION_SCREEN_CAPTURE_RESPONSE = 32777;
+ GAL_VERIFICATION_DISPLAY_INFORMATION_REQUEST = 32778;
+ GAL_VERIFICATION_DISPLAY_INFORMATION_RESPONSE = 32779;
+}
+
+enum GenericNotificationMessageId {
+ GENERIC_NOTIFICATION_SUBSCRIBE = 32769;
+ GENERIC_NOTIFICATION_UNSUBSCRIBE = 32770;
+ GENERIC_NOTIFICATION_MESSAGE = 32771;
+ GENERIC_NOTIFICATION_ACK = 32772;
+}
+
+enum GoogleDiagnosticsVendorExtensionMessageId {
+ DIAGNOSTICS_BUG_REPORT_REQUEST = 1;
+ DIAGNOSTICS_BUG_REPORT_RESPONSE = 2;
+}
+
+enum MessageStatus {
+ STATUS_UNSOLICITED_MESSAGE = 1;
+ STATUS_SUCCESS = 0;
+ STATUS_NO_COMPATIBLE_VERSION = -1;
+ STATUS_CERTIFICATE_ERROR = -2;
+ STATUS_AUTHENTICATION_FAILURE = -3;
+ STATUS_INVALID_SERVICE = -4;
+ STATUS_INVALID_CHANNEL = -5;
+ STATUS_INVALID_PRIORITY = -6;
+ STATUS_INTERNAL_ERROR = -7;
+ STATUS_MEDIA_CONFIG_MISMATCH = -8;
+ STATUS_INVALID_SENSOR = -9;
+ STATUS_BLUETOOTH_PAIRING_DELAYED = -10;
+ STATUS_BLUETOOTH_UNAVAILABLE = -11;
+ STATUS_BLUETOOTH_INVALID_ADDRESS = -12;
+ STATUS_BLUETOOTH_INVALID_PAIRING_METHOD = -13;
+ STATUS_BLUETOOTH_INVALID_AUTH_DATA = -14;
+ STATUS_BLUETOOTH_AUTH_DATA_MISMATCH = -15;
+ STATUS_BLUETOOTH_HFP_ANOTHER_CONNECTION = -16;
+ STATUS_BLUETOOTH_HFP_CONNECTION_FAILURE = -17;
+ STATUS_KEYCODE_NOT_BOUND = -18;
+ STATUS_RADIO_INVALID_STATION = -19;
+ STATUS_INVALID_INPUT = -20;
+ STATUS_RADIO_STATION_PRESETS_NOT_SUPPORTED = -21;
+ STATUS_RADIO_COMM_ERROR = -22;
+ STATUS_AUTHENTICATION_FAILURE_CERT_NOT_YET_VALID = -23;
+ STATUS_AUTHENTICATION_FAILURE_CERT_EXPIRED = -24;
+ STATUS_PING_TIMEOUT = -25;
+ STATUS_COMMAND_NOT_SUPPORTED = -250;
+ STATUS_FRAMING_ERROR = -251;
+ STATUS_UNEXPECTED_MESSAGE = -253;
+ STATUS_BUSY = -254;
+ STATUS_OUT_OF_MEMORY = -255;
+}
+
+enum KeyCode {
+ KEYCODE_UNKNOWN = 0;
+ KEYCODE_SOFT_LEFT = 1;
+ KEYCODE_SOFT_RIGHT = 2;
+ KEYCODE_HOME = 3;
+ KEYCODE_BACK = 4;
+ KEYCODE_CALL = 5;
+ KEYCODE_ENDCALL = 6;
+ KEYCODE_0 = 7;
+ KEYCODE_1 = 8;
+ KEYCODE_2 = 9;
+ KEYCODE_3 = 10;
+ KEYCODE_4 = 11;
+ KEYCODE_5 = 12;
+ KEYCODE_6 = 13;
+ KEYCODE_7 = 14;
+ KEYCODE_8 = 15;
+ KEYCODE_9 = 16;
+ KEYCODE_STAR = 17;
+ KEYCODE_POUND = 18;
+ KEYCODE_DPAD_UP = 19;
+ KEYCODE_DPAD_DOWN = 20;
+ KEYCODE_DPAD_LEFT = 21;
+ KEYCODE_DPAD_RIGHT = 22;
+ KEYCODE_DPAD_CENTER = 23;
+ KEYCODE_VOLUME_UP = 24;
+ KEYCODE_VOLUME_DOWN = 25;
+ KEYCODE_POWER = 26;
+ KEYCODE_CAMERA = 27;
+ KEYCODE_CLEAR = 28;
+ KEYCODE_A = 29;
+ KEYCODE_B = 30;
+ KEYCODE_C = 31;
+ KEYCODE_D = 32;
+ KEYCODE_E = 33;
+ KEYCODE_F = 34;
+ KEYCODE_G = 35;
+ KEYCODE_H = 36;
+ KEYCODE_I = 37;
+ KEYCODE_J = 38;
+ KEYCODE_K = 39;
+ KEYCODE_L = 40;
+ KEYCODE_M = 41;
+ KEYCODE_N = 42;
+ KEYCODE_O = 43;
+ KEYCODE_P = 44;
+ KEYCODE_Q = 45;
+ KEYCODE_R = 46;
+ KEYCODE_S = 47;
+ KEYCODE_T = 48;
+ KEYCODE_U = 49;
+ KEYCODE_V = 50;
+ KEYCODE_W = 51;
+ KEYCODE_X = 52;
+ KEYCODE_Y = 53;
+ KEYCODE_Z = 54;
+ KEYCODE_COMMA = 55;
+ KEYCODE_PERIOD = 56;
+ KEYCODE_ALT_LEFT = 57;
+ KEYCODE_ALT_RIGHT = 58;
+ KEYCODE_SHIFT_LEFT = 59;
+ KEYCODE_SHIFT_RIGHT = 60;
+ KEYCODE_TAB = 61;
+ KEYCODE_SPACE = 62;
+ KEYCODE_SYM = 63;
+ KEYCODE_EXPLORER = 64;
+ KEYCODE_ENVELOPE = 65;
+ KEYCODE_ENTER = 66;
+ KEYCODE_DEL = 67;
+ KEYCODE_GRAVE = 68;
+ KEYCODE_MINUS = 69;
+ KEYCODE_EQUALS = 70;
+ KEYCODE_LEFT_BRACKET = 71;
+ KEYCODE_RIGHT_BRACKET = 72;
+ KEYCODE_BACKSLASH = 73;
+ KEYCODE_SEMICOLON = 74;
+ KEYCODE_APOSTROPHE = 75;
+ KEYCODE_SLASH = 76;
+ KEYCODE_AT = 77;
+ KEYCODE_NUM = 78;
+ KEYCODE_HEADSETHOOK = 79;
+ KEYCODE_FOCUS = 80;
+ KEYCODE_PLUS = 81;
+ KEYCODE_MENU = 82;
+ KEYCODE_NOTIFICATION = 83;
+ KEYCODE_SEARCH = 84;
+ KEYCODE_MEDIA_PLAY_PAUSE = 85;
+ KEYCODE_MEDIA_STOP = 86;
+ KEYCODE_MEDIA_NEXT = 87;
+ KEYCODE_MEDIA_PREVIOUS = 88;
+ KEYCODE_MEDIA_REWIND = 89;
+ KEYCODE_MEDIA_FAST_FORWARD = 90;
+ KEYCODE_MUTE = 91;
+ KEYCODE_PAGE_UP = 92;
+ KEYCODE_PAGE_DOWN = 93;
+ KEYCODE_PICTSYMBOLS = 94;
+ KEYCODE_SWITCH_CHARSET = 95;
+ KEYCODE_BUTTON_A = 96;
+ KEYCODE_BUTTON_B = 97;
+ KEYCODE_BUTTON_C = 98;
+ KEYCODE_BUTTON_X = 99;
+ KEYCODE_BUTTON_Y = 100;
+ KEYCODE_BUTTON_Z = 101;
+ KEYCODE_BUTTON_L1 = 102;
+ KEYCODE_BUTTON_R1 = 103;
+ KEYCODE_BUTTON_L2 = 104;
+ KEYCODE_BUTTON_R2 = 105;
+ KEYCODE_BUTTON_THUMBL = 106;
+ KEYCODE_BUTTON_THUMBR = 107;
+ KEYCODE_BUTTON_START = 108;
+ KEYCODE_BUTTON_SELECT = 109;
+ KEYCODE_BUTTON_MODE = 110;
+ KEYCODE_ESCAPE = 111;
+ KEYCODE_FORWARD_DEL = 112;
+ KEYCODE_CTRL_LEFT = 113;
+ KEYCODE_CTRL_RIGHT = 114;
+ KEYCODE_CAPS_LOCK = 115;
+ KEYCODE_SCROLL_LOCK = 116;
+ KEYCODE_META_LEFT = 117;
+ KEYCODE_META_RIGHT = 118;
+ KEYCODE_FUNCTION = 119;
+ KEYCODE_SYSRQ = 120;
+ KEYCODE_BREAK = 121;
+ KEYCODE_MOVE_HOME = 122;
+ KEYCODE_MOVE_END = 123;
+ KEYCODE_INSERT = 124;
+ KEYCODE_FORWARD = 125;
+ KEYCODE_MEDIA_PLAY = 126;
+ KEYCODE_MEDIA_PAUSE = 127;
+ KEYCODE_MEDIA_CLOSE = 128;
+ KEYCODE_MEDIA_EJECT = 129;
+ KEYCODE_MEDIA_RECORD = 130;
+ KEYCODE_F1 = 131;
+ KEYCODE_F2 = 132;
+ KEYCODE_F3 = 133;
+ KEYCODE_F4 = 134;
+ KEYCODE_F5 = 135;
+ KEYCODE_F6 = 136;
+ KEYCODE_F7 = 137;
+ KEYCODE_F8 = 138;
+ KEYCODE_F9 = 139;
+ KEYCODE_F10 = 140;
+ KEYCODE_F11 = 141;
+ KEYCODE_F12 = 142;
+ KEYCODE_NUM_LOCK = 143;
+ KEYCODE_NUMPAD_0 = 144;
+ KEYCODE_NUMPAD_1 = 145;
+ KEYCODE_NUMPAD_2 = 146;
+ KEYCODE_NUMPAD_3 = 147;
+ KEYCODE_NUMPAD_4 = 148;
+ KEYCODE_NUMPAD_5 = 149;
+ KEYCODE_NUMPAD_6 = 150;
+ KEYCODE_NUMPAD_7 = 151;
+ KEYCODE_NUMPAD_8 = 152;
+ KEYCODE_NUMPAD_9 = 153;
+ KEYCODE_NUMPAD_DIVIDE = 154;
+ KEYCODE_NUMPAD_MULTIPLY = 155;
+ KEYCODE_NUMPAD_SUBTRACT = 156;
+ KEYCODE_NUMPAD_ADD = 157;
+ KEYCODE_NUMPAD_DOT = 158;
+ KEYCODE_NUMPAD_COMMA = 159;
+ KEYCODE_NUMPAD_ENTER = 160;
+ KEYCODE_NUMPAD_EQUALS = 161;
+ KEYCODE_NUMPAD_LEFT_PAREN = 162;
+ KEYCODE_NUMPAD_RIGHT_PAREN = 163;
+ KEYCODE_VOLUME_MUTE = 164;
+ KEYCODE_INFO = 165;
+ KEYCODE_CHANNEL_UP = 166;
+ KEYCODE_CHANNEL_DOWN = 167;
+ KEYCODE_ZOOM_IN = 168;
+ KEYCODE_ZOOM_OUT = 169;
+ KEYCODE_TV = 170;
+ KEYCODE_WINDOW = 171;
+ KEYCODE_GUIDE = 172;
+ KEYCODE_DVR = 173;
+ KEYCODE_BOOKMARK = 174;
+ KEYCODE_CAPTIONS = 175;
+ KEYCODE_SETTINGS = 176;
+ KEYCODE_TV_POWER = 177;
+ KEYCODE_TV_INPUT = 178;
+ KEYCODE_STB_POWER = 179;
+ KEYCODE_STB_INPUT = 180;
+ KEYCODE_AVR_POWER = 181;
+ KEYCODE_AVR_INPUT = 182;
+ KEYCODE_PROG_RED = 183;
+ KEYCODE_PROG_GREEN = 184;
+ KEYCODE_PROG_YELLOW = 185;
+ KEYCODE_PROG_BLUE = 186;
+ KEYCODE_APP_SWITCH = 187;
+ KEYCODE_BUTTON_1 = 188;
+ KEYCODE_BUTTON_2 = 189;
+ KEYCODE_BUTTON_3 = 190;
+ KEYCODE_BUTTON_4 = 191;
+ KEYCODE_BUTTON_5 = 192;
+ KEYCODE_BUTTON_6 = 193;
+ KEYCODE_BUTTON_7 = 194;
+ KEYCODE_BUTTON_8 = 195;
+ KEYCODE_BUTTON_9 = 196;
+ KEYCODE_BUTTON_10 = 197;
+ KEYCODE_BUTTON_11 = 198;
+ KEYCODE_BUTTON_12 = 199;
+ KEYCODE_BUTTON_13 = 200;
+ KEYCODE_BUTTON_14 = 201;
+ KEYCODE_BUTTON_15 = 202;
+ KEYCODE_BUTTON_16 = 203;
+ KEYCODE_LANGUAGE_SWITCH = 204;
+ KEYCODE_MANNER_MODE = 205;
+ KEYCODE_3D_MODE = 206;
+ KEYCODE_CONTACTS = 207;
+ KEYCODE_CALENDAR = 208;
+ KEYCODE_MUSIC = 209;
+ KEYCODE_CALCULATOR = 210;
+ KEYCODE_ZENKAKU_HANKAKU = 211;
+ KEYCODE_EISU = 212;
+ KEYCODE_MUHENKAN = 213;
+ KEYCODE_HENKAN = 214;
+ KEYCODE_KATAKANA_HIRAGANA = 215;
+ KEYCODE_YEN = 216;
+ KEYCODE_RO = 217;
+ KEYCODE_KANA = 218;
+ KEYCODE_ASSIST = 219;
+ KEYCODE_BRIGHTNESS_DOWN = 220;
+ KEYCODE_BRIGHTNESS_UP = 221;
+ KEYCODE_MEDIA_AUDIO_TRACK = 222;
+ KEYCODE_SLEEP = 223;
+ KEYCODE_WAKEUP = 224;
+ KEYCODE_PAIRING = 225;
+ KEYCODE_MEDIA_TOP_MENU = 226;
+ KEYCODE_11 = 227;
+ KEYCODE_12 = 228;
+ KEYCODE_LAST_CHANNEL = 229;
+ KEYCODE_TV_DATA_SERVICE = 230;
+ KEYCODE_VOICE_ASSIST = 231;
+ KEYCODE_TV_RADIO_SERVICE = 232;
+ KEYCODE_TV_TELETEXT = 233;
+ KEYCODE_TV_NUMBER_ENTRY = 234;
+ KEYCODE_TV_TERRESTRIAL_ANALOG = 235;
+ KEYCODE_TV_TERRESTRIAL_DIGITAL = 236;
+ KEYCODE_TV_SATELLITE = 237;
+ KEYCODE_TV_SATELLITE_BS = 238;
+ KEYCODE_TV_SATELLITE_CS = 239;
+ KEYCODE_TV_SATELLITE_SERVICE = 240;
+ KEYCODE_TV_NETWORK = 241;
+ KEYCODE_TV_ANTENNA_CABLE = 242;
+ KEYCODE_TV_INPUT_HDMI_1 = 243;
+ KEYCODE_TV_INPUT_HDMI_2 = 244;
+ KEYCODE_TV_INPUT_HDMI_3 = 245;
+ KEYCODE_TV_INPUT_HDMI_4 = 246;
+ KEYCODE_TV_INPUT_COMPOSITE_1 = 247;
+ KEYCODE_TV_INPUT_COMPOSITE_2 = 248;
+ KEYCODE_TV_INPUT_COMPONENT_1 = 249;
+ KEYCODE_TV_INPUT_COMPONENT_2 = 250;
+ KEYCODE_TV_INPUT_VGA_1 = 251;
+ KEYCODE_TV_AUDIO_DESCRIPTION = 252;
+ KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP = 253;
+ KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN = 254;
+ KEYCODE_TV_ZOOM_MODE = 255;
+ KEYCODE_TV_CONTENTS_MENU = 256;
+ KEYCODE_TV_MEDIA_CONTEXT_MENU = 257;
+ KEYCODE_TV_TIMER_PROGRAMMING = 258;
+ KEYCODE_HELP = 259;
+ KEYCODE_NAVIGATE_PREVIOUS = 260;
+ KEYCODE_NAVIGATE_NEXT = 261;
+ KEYCODE_NAVIGATE_IN = 262;
+ KEYCODE_NAVIGATE_OUT = 263;
+ KEYCODE_DPAD_UP_LEFT = 268;
+ KEYCODE_DPAD_DOWN_LEFT = 269;
+ KEYCODE_DPAD_UP_RIGHT = 270;
+ KEYCODE_DPAD_DOWN_RIGHT = 271;
+ KEYCODE_SENTINEL = 65535;
+ KEYCODE_ROTARY_CONTROLLER = 65536;
+ KEYCODE_MEDIA = 65537;
+ KEYCODE_NAVIGATION = 65538;
+ KEYCODE_RADIO = 65539;
+ KEYCODE_TEL = 65540;
+ KEYCODE_PRIMARY_BUTTON = 65541;
+ KEYCODE_SECONDARY_BUTTON = 65542;
+ KEYCODE_TERTIARY_BUTTON = 65543;
+ KEYCODE_TURN_CARD = 65544;
+}
+
+enum GalConstants {
+ WIFI_PORT = 30515;
+ PROTOCOL_MAJOR_VERSION = 1;
+ PROTOCOL_MINOR_VERSION = 6;
+}
diff --git a/include/aasdk/Channel/AV/AVInputServiceChannel.hpp b/include/aasdk/Channel/AV/AVInputServiceChannel.hpp
deleted file mode 100644
index d4ddb404..00000000
--- a/include/aasdk/Channel/AV/AVInputServiceChannel.hpp
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class AVInputServiceChannel: public IAVInputServiceChannel, public ServiceChannel, public std::enable_shared_from_this
-{
-public:
- AVInputServiceChannel(boost::asio::io_service::strand& strand, messenger::IMessenger::Pointer messenger);
-
- void receive(IAVInputServiceChannelEventHandler::Pointer eventHandler) override;
- void sendChannelOpenResponse(const proto::messages::ChannelOpenResponse& response, SendPromise::Pointer promise) override;
- void sendAVChannelSetupResponse(const proto::messages::AVChannelSetupResponse& response, SendPromise::Pointer promise) override;
- void sendAVInputOpenResponse(const proto::messages::AVInputOpenResponse& response, SendPromise::Pointer promise) override;
- void sendAVMediaWithTimestampIndication(messenger::Timestamp::ValueType, const common::Data& data, SendPromise::Pointer promise) override;
- messenger::ChannelId getId() const override;
-
-private:
- using std::enable_shared_from_this::shared_from_this;
- void messageHandler(messenger::Message::Pointer message, IAVInputServiceChannelEventHandler::Pointer eventHandler);
- void handleAVChannelSetupRequest(const common::DataConstBuffer& payload, IAVInputServiceChannelEventHandler::Pointer eventHandler);
- void handleAVInputOpenRequest(const common::DataConstBuffer& payload, IAVInputServiceChannelEventHandler::Pointer eventHandler);
- void handleAVMediaAckIndication(const common::DataConstBuffer& payload, IAVInputServiceChannelEventHandler::Pointer eventHandler);
- void handleChannelOpenRequest(const common::DataConstBuffer& payload, IAVInputServiceChannelEventHandler::Pointer eventHandler);
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/AudioServiceChannel.hpp b/include/aasdk/Channel/AV/AudioServiceChannel.hpp
deleted file mode 100644
index d460a0b7..00000000
--- a/include/aasdk/Channel/AV/AudioServiceChannel.hpp
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class AudioServiceChannel: public IAudioServiceChannel, public ServiceChannel, public std::enable_shared_from_this
-{
-public:
- AudioServiceChannel(boost::asio::io_service::strand& strand, messenger::IMessenger::Pointer messenger, messenger::ChannelId channelId);
-
- void receive(IAudioServiceChannelEventHandler::Pointer eventHandler) override;
- void sendChannelOpenResponse(const proto::messages::ChannelOpenResponse& response, SendPromise::Pointer promise) override;
- void sendAVChannelSetupResponse(const proto::messages::AVChannelSetupResponse& response, SendPromise::Pointer promise) override;
- void sendAVMediaAckIndication(const proto::messages::AVMediaAckIndication& indication, SendPromise::Pointer promise) override;
- messenger::ChannelId getId() const override;
-
-private:
- using std::enable_shared_from_this::shared_from_this;
- void messageHandler(messenger::Message::Pointer message, IAudioServiceChannelEventHandler::Pointer eventHandler);
- void handleAVChannelSetupRequest(const common::DataConstBuffer& payload, IAudioServiceChannelEventHandler::Pointer eventHandler);
- void handleStartIndication(const common::DataConstBuffer& payload, IAudioServiceChannelEventHandler::Pointer eventHandler);
- void handleStopIndication(const common::DataConstBuffer& payload, IAudioServiceChannelEventHandler::Pointer eventHandler);
- void handleChannelOpenRequest(const common::DataConstBuffer& payload, IAudioServiceChannelEventHandler::Pointer eventHandler);
- void handleAVMediaWithTimestampIndication(const common::DataConstBuffer& payload, IAudioServiceChannelEventHandler::Pointer eventHandler);
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/IAVInputServiceChannel.hpp b/include/aasdk/Channel/AV/IAVInputServiceChannel.hpp
deleted file mode 100644
index 189eebb6..00000000
--- a/include/aasdk/Channel/AV/IAVInputServiceChannel.hpp
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class IAVInputServiceChannel
-{
-public:
- typedef std::shared_ptr Pointer;
-
- IAVInputServiceChannel() = default;
- virtual ~IAVInputServiceChannel() = default;
-
- virtual void receive(IAVInputServiceChannelEventHandler::Pointer eventHandler) = 0;
- virtual void sendChannelOpenResponse(const proto::messages::ChannelOpenResponse& response, SendPromise::Pointer promise) = 0;
- virtual void sendAVChannelSetupResponse(const proto::messages::AVChannelSetupResponse& response, SendPromise::Pointer promise) = 0;
- virtual void sendAVMediaWithTimestampIndication(messenger::Timestamp::ValueType, const common::Data& data, SendPromise::Pointer promise) = 0;
- virtual void sendAVInputOpenResponse(const proto::messages::AVInputOpenResponse& response, SendPromise::Pointer promise) = 0;
- virtual messenger::ChannelId getId() const = 0;
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/IAVInputServiceChannelEventHandler.hpp b/include/aasdk/Channel/AV/IAVInputServiceChannelEventHandler.hpp
deleted file mode 100644
index 7f47de0f..00000000
--- a/include/aasdk/Channel/AV/IAVInputServiceChannelEventHandler.hpp
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class IAVInputServiceChannelEventHandler
-{
-public:
- typedef std::shared_ptr Pointer;
-
- IAVInputServiceChannelEventHandler() = default;
- virtual ~IAVInputServiceChannelEventHandler() = default;
-
- virtual void onChannelOpenRequest(const proto::messages::ChannelOpenRequest& request) = 0;
- virtual void onAVChannelSetupRequest(const proto::messages::AVChannelSetupRequest& request) = 0;
- virtual void onAVInputOpenRequest(const proto::messages::AVInputOpenRequest& request) = 0;
- virtual void onAVMediaAckIndication(const proto::messages::AVMediaAckIndication& indication) = 0;
- virtual void onChannelError(const error::Error& e) = 0;
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/IAudioServiceChannel.hpp b/include/aasdk/Channel/AV/IAudioServiceChannel.hpp
deleted file mode 100644
index 7e42a32a..00000000
--- a/include/aasdk/Channel/AV/IAudioServiceChannel.hpp
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class IAudioServiceChannel
-{
-public:
- typedef std::shared_ptr Pointer;
-
- IAudioServiceChannel() = default;
- virtual ~IAudioServiceChannel() = default;
-
- virtual void receive(IAudioServiceChannelEventHandler::Pointer eventHandler) = 0;
- virtual void sendChannelOpenResponse(const proto::messages::ChannelOpenResponse& response, SendPromise::Pointer promise) = 0;
- virtual void sendAVChannelSetupResponse(const proto::messages::AVChannelSetupResponse& response, SendPromise::Pointer promise) = 0;
- virtual void sendAVMediaAckIndication(const proto::messages::AVMediaAckIndication& indication, SendPromise::Pointer promise) = 0;
- virtual messenger::ChannelId getId() const = 0;
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/IAudioServiceChannelEventHandler.hpp b/include/aasdk/Channel/AV/IAudioServiceChannelEventHandler.hpp
deleted file mode 100644
index c633ff8f..00000000
--- a/include/aasdk/Channel/AV/IAudioServiceChannelEventHandler.hpp
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class IAudioServiceChannelEventHandler
-{
-public:
- typedef std::shared_ptr Pointer;
-
- IAudioServiceChannelEventHandler() = default;
- virtual ~IAudioServiceChannelEventHandler() = default;
-
- virtual void onChannelOpenRequest(const proto::messages::ChannelOpenRequest& request) = 0;
- virtual void onAVChannelSetupRequest(const proto::messages::AVChannelSetupRequest& request) = 0;
- virtual void onAVChannelStartIndication(const proto::messages::AVChannelStartIndication& indication) = 0;
- virtual void onAVChannelStopIndication(const proto::messages::AVChannelStopIndication& indication) = 0;
- virtual void onAVMediaWithTimestampIndication(messenger::Timestamp::ValueType, const common::DataConstBuffer& buffer) = 0;
- virtual void onAVMediaIndication(const common::DataConstBuffer& buffer) = 0;
- virtual void onChannelError(const error::Error& e) = 0;
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/IMediaStatusServiceChannel.hpp b/include/aasdk/Channel/AV/IMediaStatusServiceChannel.hpp
deleted file mode 100644
index e388f607..00000000
--- a/include/aasdk/Channel/AV/IMediaStatusServiceChannel.hpp
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class IMediaStatusServiceChannel
-{
-public:
- typedef std::shared_ptr Pointer;
-
- IMediaStatusServiceChannel() = default;
- virtual ~IMediaStatusServiceChannel() = default;
-
- virtual void receive(IMediaStatusServiceChannelEventHandler::Pointer eventHandler) = 0;
- virtual void sendChannelOpenResponse(const proto::messages::ChannelOpenResponse& response, SendPromise::Pointer promise) = 0;
- virtual messenger::ChannelId getId() const = 0;
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/IMediaStatusServiceChannelEventHandler.hpp b/include/aasdk/Channel/AV/IMediaStatusServiceChannelEventHandler.hpp
deleted file mode 100644
index 56e068d2..00000000
--- a/include/aasdk/Channel/AV/IMediaStatusServiceChannelEventHandler.hpp
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class IMediaStatusServiceChannelEventHandler
-{
-public:
- typedef std::shared_ptr Pointer;
-
- IMediaStatusServiceChannelEventHandler() = default;
- virtual ~IMediaStatusServiceChannelEventHandler() = default;
-
- virtual void onChannelOpenRequest(const proto::messages::ChannelOpenRequest& request) = 0;
- virtual void onChannelError(const error::Error& e) = 0;
- virtual void onMetadataUpdate(const proto::messages::MediaInfoChannelMetadataData& metadata) = 0;
- virtual void onPlaybackUpdate(const proto::messages::MediaInfoChannelPlaybackData& playback) = 0;
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/IVideoServiceChannel.hpp b/include/aasdk/Channel/AV/IVideoServiceChannel.hpp
deleted file mode 100644
index c0d6d68b..00000000
--- a/include/aasdk/Channel/AV/IVideoServiceChannel.hpp
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class IVideoServiceChannel
-{
-public:
- typedef std::shared_ptr Pointer;
-
- IVideoServiceChannel() = default;
- virtual ~IVideoServiceChannel() = default;
-
- virtual void receive(IVideoServiceChannelEventHandler::Pointer eventHandler) = 0;
- virtual void sendChannelOpenResponse(const proto::messages::ChannelOpenResponse& response, SendPromise::Pointer promise) = 0;
- virtual void sendAVChannelSetupResponse(const proto::messages::AVChannelSetupResponse& response, SendPromise::Pointer promise) = 0;
- virtual void sendVideoFocusIndication(const proto::messages::VideoFocusIndication& indication, SendPromise::Pointer promise) = 0;
- virtual void sendAVMediaAckIndication(const proto::messages::AVMediaAckIndication& indication, SendPromise::Pointer promise) = 0;
- virtual messenger::ChannelId getId() const = 0;
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/IVideoServiceChannelEventHandler.hpp b/include/aasdk/Channel/AV/IVideoServiceChannelEventHandler.hpp
deleted file mode 100644
index 0ff91eb1..00000000
--- a/include/aasdk/Channel/AV/IVideoServiceChannelEventHandler.hpp
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class IVideoServiceChannelEventHandler
-{
-public:
- typedef std::shared_ptr Pointer;
-
- IVideoServiceChannelEventHandler() = default;
- virtual ~IVideoServiceChannelEventHandler() = default;
-
- virtual void onChannelOpenRequest(const proto::messages::ChannelOpenRequest& request) = 0;
- virtual void onAVChannelSetupRequest(const proto::messages::AVChannelSetupRequest& request) = 0;
- virtual void onAVChannelStartIndication(const proto::messages::AVChannelStartIndication& indication) = 0;
- virtual void onAVChannelStopIndication(const proto::messages::AVChannelStopIndication& indication) = 0;
- virtual void onAVMediaWithTimestampIndication(messenger::Timestamp::ValueType, const common::DataConstBuffer& buffer) = 0;
- virtual void onAVMediaIndication(const common::DataConstBuffer& buffer) = 0;
- virtual void onVideoFocusRequest(const proto::messages::VideoFocusRequest& request) = 0;
- virtual void onChannelError(const error::Error& e) = 0;
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/MediaAudioServiceChannel.hpp b/include/aasdk/Channel/AV/MediaAudioServiceChannel.hpp
deleted file mode 100644
index 3dd1af40..00000000
--- a/include/aasdk/Channel/AV/MediaAudioServiceChannel.hpp
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class MediaAudioServiceChannel: public AudioServiceChannel
-{
-public:
- MediaAudioServiceChannel(boost::asio::io_service::strand& strand, messenger::IMessenger::Pointer messenger);
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/MediaStatusServiceChannel.hpp b/include/aasdk/Channel/AV/MediaStatusServiceChannel.hpp
deleted file mode 100644
index 0b02992f..00000000
--- a/include/aasdk/Channel/AV/MediaStatusServiceChannel.hpp
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class MediaStatusServiceChannel: public IMediaStatusServiceChannel, public ServiceChannel, public std::enable_shared_from_this
-{
-public:
- MediaStatusServiceChannel(boost::asio::io_service::strand& strand, messenger::IMessenger::Pointer messenger);
-
- void receive(IMediaStatusServiceChannelEventHandler::Pointer eventHandler) override;
- messenger::ChannelId getId() const override;
- void sendChannelOpenResponse(const proto::messages::ChannelOpenResponse& response, SendPromise::Pointer promise) override;
-
-private:
- using std::enable_shared_from_this::shared_from_this;
- void messageHandler(messenger::Message::Pointer message, IMediaStatusServiceChannelEventHandler::Pointer eventHandler);
- void handleChannelOpenRequest(const common::DataConstBuffer& payload, IMediaStatusServiceChannelEventHandler::Pointer eventHandler);
- void handleMetadataUpdate(const common::DataConstBuffer& payload, IMediaStatusServiceChannelEventHandler::Pointer eventHandler);
- void handlePlaybackUpdate(const common::DataConstBuffer& payload, IMediaStatusServiceChannelEventHandler::Pointer eventHandler);
-
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/SpeechAudioServiceChannel.hpp b/include/aasdk/Channel/AV/SpeechAudioServiceChannel.hpp
deleted file mode 100644
index 70b88bad..00000000
--- a/include/aasdk/Channel/AV/SpeechAudioServiceChannel.hpp
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class SpeechAudioServiceChannel: public AudioServiceChannel
-{
-public:
- SpeechAudioServiceChannel(boost::asio::io_service::strand& strand, messenger::IMessenger::Pointer messenger);
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/SystemAudioServiceChannel.hpp b/include/aasdk/Channel/AV/SystemAudioServiceChannel.hpp
deleted file mode 100644
index f7b98fe5..00000000
--- a/include/aasdk/Channel/AV/SystemAudioServiceChannel.hpp
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class SystemAudioServiceChannel: public AudioServiceChannel
-{
-public:
- SystemAudioServiceChannel(boost::asio::io_service::strand& strand, messenger::IMessenger::Pointer messenger);
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/AV/VideoServiceChannel.hpp b/include/aasdk/Channel/AV/VideoServiceChannel.hpp
deleted file mode 100644
index 42557058..00000000
--- a/include/aasdk/Channel/AV/VideoServiceChannel.hpp
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace av
-{
-
-class VideoServiceChannel: public IVideoServiceChannel, public ServiceChannel, public std::enable_shared_from_this
-{
-public:
- VideoServiceChannel(boost::asio::io_service::strand& strand, messenger::IMessenger::Pointer messenger);
-
- void receive(IVideoServiceChannelEventHandler::Pointer eventHandler) override;
- void sendChannelOpenResponse(const proto::messages::ChannelOpenResponse& response, SendPromise::Pointer promise) override;
- void sendAVChannelSetupResponse(const proto::messages::AVChannelSetupResponse& response, SendPromise::Pointer promise) override;
- void sendVideoFocusIndication(const proto::messages::VideoFocusIndication& indication, SendPromise::Pointer promise) override;
- void sendAVMediaAckIndication(const proto::messages::AVMediaAckIndication& indication, SendPromise::Pointer promise) override;
- messenger::ChannelId getId() const override;
-
-private:
- using std::enable_shared_from_this::shared_from_this;
- void messageHandler(messenger::Message::Pointer message, IVideoServiceChannelEventHandler::Pointer eventHandler);
- void handleAVChannelSetupRequest(const common::DataConstBuffer& payload, IVideoServiceChannelEventHandler::Pointer eventHandler);
- void handleStartIndication(const common::DataConstBuffer& payload, IVideoServiceChannelEventHandler::Pointer eventHandler);
- void handleStopIndication(const common::DataConstBuffer& payload, IVideoServiceChannelEventHandler::Pointer eventHandler);
- void handleChannelOpenRequest(const common::DataConstBuffer& payload, IVideoServiceChannelEventHandler::Pointer eventHandler);
- void handleVideoFocusRequest(const common::DataConstBuffer& payload, IVideoServiceChannelEventHandler::Pointer eventHandler);
- void handleAVMediaWithTimestampIndication(const common::DataConstBuffer& payload, IVideoServiceChannelEventHandler::Pointer eventHandler);
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/Bluetooth/BluetoothService.hpp b/include/aasdk/Channel/Bluetooth/BluetoothService.hpp
new file mode 100644
index 00000000..eb689251
--- /dev/null
+++ b/include/aasdk/Channel/Bluetooth/BluetoothService.hpp
@@ -0,0 +1,65 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include "aasdk/Channel/Channel.hpp"
+#include "IBluetoothService.hpp"
+
+namespace aasdk::channel::bluetooth {
+
+ class BluetoothService
+ : public IBluetoothService, public Channel, public std::enable_shared_from_this {
+ public:
+ BluetoothService(boost::asio::io_service::strand &strand, messenger::IMessenger::Pointer messenger);
+
+ // Senders and Receivers
+
+ void receive(IBluetoothServiceEventHandler::Pointer eventHandler) override;
+
+ void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) override;
+
+ void
+ sendBluetoothPairingResponse(const aap_protobuf::service::bluetooth::message::BluetoothPairingResponse &response,
+ SendPromise::Pointer promise) override;
+
+ void sendBluetoothAuthenticationData(
+ const aap_protobuf::service::bluetooth::message::BluetoothAuthenticationData &response,
+ SendPromise::Pointer promise) override;
+
+ private:
+ using std::enable_shared_from_this::shared_from_this;
+
+ // Internal Message Handlers
+
+ void messageHandler(messenger::Message::Pointer message, IBluetoothServiceEventHandler::Pointer eventHandler);
+
+ void handleChannelOpenRequest(const common::DataConstBuffer &payload,
+ IBluetoothServiceEventHandler::Pointer eventHandler);
+
+ void handleBluetoothPairingRequest(const common::DataConstBuffer &payload,
+ IBluetoothServiceEventHandler::Pointer eventHandler);
+
+ void handleBluetoothAuthenticationResult(const common::DataConstBuffer &payload,
+ IBluetoothServiceEventHandler::Pointer eventHandler);
+ };
+
+}
+
+
diff --git a/include/aasdk/Channel/Bluetooth/BluetoothServiceChannel.hpp b/include/aasdk/Channel/Bluetooth/BluetoothServiceChannel.hpp
deleted file mode 100644
index 3f2eb241..00000000
--- a/include/aasdk/Channel/Bluetooth/BluetoothServiceChannel.hpp
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace bluetooth
-{
-
-class BluetoothServiceChannel: public IBluetoothServiceChannel, public ServiceChannel, public std::enable_shared_from_this
-{
-public:
- BluetoothServiceChannel(boost::asio::io_service::strand& strand, messenger::IMessenger::Pointer messenger);
-
- void receive(IBluetoothServiceChannelEventHandler::Pointer eventHandler) override;
- messenger::ChannelId getId() const override;
- void sendChannelOpenResponse(const proto::messages::ChannelOpenResponse& response, SendPromise::Pointer promise) override;
- void sendBluetoothPairingResponse(const proto::messages::BluetoothPairingResponse& response, SendPromise::Pointer promise) override;
-
-private:
- using std::enable_shared_from_this::shared_from_this;
- void messageHandler(messenger::Message::Pointer message, IBluetoothServiceChannelEventHandler::Pointer eventHandler);
- void handleChannelOpenRequest(const common::DataConstBuffer& payload, IBluetoothServiceChannelEventHandler::Pointer eventHandler);
- void handleBluetoothPairingRequest(const common::DataConstBuffer& payload, IBluetoothServiceChannelEventHandler::Pointer eventHandler);
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/Bluetooth/IBluetoothService.hpp b/include/aasdk/Channel/Bluetooth/IBluetoothService.hpp
new file mode 100644
index 00000000..a2008175
--- /dev/null
+++ b/include/aasdk/Channel/Bluetooth/IBluetoothService.hpp
@@ -0,0 +1,56 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include "aasdk/Channel/Promise.hpp"
+#include "aasdk/Channel/IChannel.hpp"
+#include "aasdk/Messenger/ChannelId.hpp"
+#include
+#include
+#include
+#include "IBluetoothServiceEventHandler.hpp"
+
+namespace aasdk::channel::bluetooth {
+
+ class IBluetoothService : public virtual IChannel {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IBluetoothService() = default;
+
+ virtual ~IBluetoothService() = default;
+
+ virtual void receive(IBluetoothServiceEventHandler::Pointer eventHandler) = 0;
+
+ virtual void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void sendBluetoothAuthenticationData(
+ const aap_protobuf::service::bluetooth::message::BluetoothAuthenticationData &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendBluetoothPairingResponse(const aap_protobuf::service::bluetooth::message::BluetoothPairingResponse &response,
+ SendPromise::Pointer promise) = 0;
+ };
+
+}
+
+
diff --git a/include/aasdk/Channel/Bluetooth/IBluetoothServiceChannel.hpp b/include/aasdk/Channel/Bluetooth/IBluetoothServiceChannel.hpp
deleted file mode 100644
index 6e21fffe..00000000
--- a/include/aasdk/Channel/Bluetooth/IBluetoothServiceChannel.hpp
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace bluetooth
-{
-
-class IBluetoothServiceChannel
-{
-public:
- typedef std::shared_ptr Pointer;
-
- IBluetoothServiceChannel() = default;
- virtual ~IBluetoothServiceChannel() = default;
-
- virtual void receive(IBluetoothServiceChannelEventHandler::Pointer eventHandler) = 0;
- virtual void sendChannelOpenResponse(const proto::messages::ChannelOpenResponse& response, SendPromise::Pointer promise) = 0;
- virtual void sendBluetoothPairingResponse(const proto::messages::BluetoothPairingResponse& response, SendPromise::Pointer promise) = 0;
- virtual messenger::ChannelId getId() const = 0;
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/Bluetooth/IBluetoothServiceChannelEventHandler.hpp b/include/aasdk/Channel/Bluetooth/IBluetoothServiceChannelEventHandler.hpp
deleted file mode 100644
index 956e66de..00000000
--- a/include/aasdk/Channel/Bluetooth/IBluetoothServiceChannelEventHandler.hpp
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace bluetooth
-{
-
-class IBluetoothServiceChannelEventHandler
-{
-public:
- typedef std::shared_ptr Pointer;
-
- IBluetoothServiceChannelEventHandler() = default;
- virtual ~IBluetoothServiceChannelEventHandler() = default;
-
- virtual void onChannelOpenRequest(const proto::messages::ChannelOpenRequest& request) = 0;
- virtual void onBluetoothPairingRequest(const proto::messages::BluetoothPairingRequest& request) = 0;
- virtual void onChannelError(const error::Error& e) = 0;
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/Bluetooth/IBluetoothServiceEventHandler.hpp b/include/aasdk/Channel/Bluetooth/IBluetoothServiceEventHandler.hpp
new file mode 100644
index 00000000..4c11ff5d
--- /dev/null
+++ b/include/aasdk/Channel/Bluetooth/IBluetoothServiceEventHandler.hpp
@@ -0,0 +1,49 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include
+#include
+#include
+#include "aasdk/Error/Error.hpp"
+
+namespace aasdk::channel::bluetooth {
+
+ class IBluetoothServiceEventHandler {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IBluetoothServiceEventHandler() = default;
+
+ virtual ~IBluetoothServiceEventHandler() = default;
+
+ virtual void onChannelOpenRequest(const aap_protobuf::service::control::message::ChannelOpenRequest &request) = 0;
+
+ virtual void
+ onBluetoothPairingRequest(const aap_protobuf::service::bluetooth::message::BluetoothPairingRequest &request) = 0;
+
+ virtual void
+ onBluetoothAuthenticationResult(const aap_protobuf::service::bluetooth::message::BluetoothAuthenticationResult &request) = 0;
+
+ virtual void onChannelError(const error::Error &e) = 0;
+ };
+
+}
+
+
diff --git a/include/aasdk/Channel/Channel.hpp b/include/aasdk/Channel/Channel.hpp
new file mode 100644
index 00000000..838936c8
--- /dev/null
+++ b/include/aasdk/Channel/Channel.hpp
@@ -0,0 +1,47 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include "aasdk/Messenger/IMessenger.hpp"
+#include "aasdk/Channel/Promise.hpp"
+#include "aasdk/Channel/IChannel.hpp"
+#include
+
+namespace aasdk {
+ namespace channel {
+ class Channel : public virtual IChannel {
+ public:
+ Channel(boost::asio::io_service::strand &strand,
+ messenger::IMessenger::Pointer messenger,
+ messenger::ChannelId channelId);
+
+ virtual ~Channel() = default;
+
+ messenger::ChannelId getId() const override;
+
+ void send(messenger::Message::Pointer message, SendPromise::Pointer promise) override;
+
+ protected:
+ boost::asio::io_service::strand &strand_;
+ messenger::IMessenger::Pointer messenger_;
+ messenger::ChannelId channelId_;
+ };
+
+ }
+}
diff --git a/include/aasdk/Channel/Control/ControlServiceChannel.hpp b/include/aasdk/Channel/Control/ControlServiceChannel.hpp
index e8062cee..e15ea2a9 100644
--- a/include/aasdk/Channel/Control/ControlServiceChannel.hpp
+++ b/include/aasdk/Channel/Control/ControlServiceChannel.hpp
@@ -1,69 +1,115 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
#pragma once
#include
#include
-#include
+#include "aasdk/Channel/Channel.hpp"
#include
-namespace aasdk
-{
-namespace channel
-{
-namespace control
-{
+namespace aasdk::channel::control {
-class ControlServiceChannel: public IControlServiceChannel, public ServiceChannel, public std::enable_shared_from_this
-{
-public:
- ControlServiceChannel(boost::asio::io_service::strand& strand, messenger::IMessenger::Pointer messenger);
+ class ControlServiceChannel
+ : public IControlServiceChannel, public Channel, public std::enable_shared_from_this {
+ public:
+ ControlServiceChannel(boost::asio::io_service::strand &strand, messenger::IMessenger::Pointer messenger);
+
+ // Senders and Receivers
void receive(IControlServiceChannelEventHandler::Pointer eventHandler) override;
void sendVersionRequest(SendPromise::Pointer promise) override;
+
void sendHandshake(common::Data handshakeBuffer, SendPromise::Pointer promise) override;
- void sendAuthComplete(const proto::messages::AuthCompleteIndication& response, SendPromise::Pointer promise) override;
- void sendServiceDiscoveryResponse(const proto::messages::ServiceDiscoveryResponse& response, SendPromise::Pointer promise) override;
- void sendAudioFocusResponse(const proto::messages::AudioFocusResponse& response, SendPromise::Pointer promise) override;
- void sendShutdownRequest(const proto::messages::ShutdownRequest& request, SendPromise::Pointer promise) override;
- void sendShutdownResponse(const proto::messages::ShutdownResponse& response, SendPromise::Pointer promise) override;
- void sendNavigationFocusResponse(const proto::messages::NavigationFocusResponse& respons, SendPromise::Pointer promisee) override;
- void sendPingRequest(const proto::messages::PingRequest& request, SendPromise::Pointer promise) override;
- void sendPingResponse(const proto::messages::PingResponse& response, SendPromise::Pointer promise) override;
-
-private:
+
+ void sendAuthComplete(const aap_protobuf::service::control::message::AuthResponse &response,
+ SendPromise::Pointer promise) override;
+
+ void sendServiceDiscoveryResponse(
+ const aap_protobuf::service::control::message::ServiceDiscoveryResponse &response,
+ SendPromise::Pointer promise) override;
+
+ void
+ sendAudioFocusResponse(
+ const aap_protobuf::service::control::message::AudioFocusNotification &response,
+ SendPromise::Pointer promise) override;
+
+ void sendShutdownRequest(const aap_protobuf::service::control::message::ByeByeRequest &request,
+ SendPromise::Pointer promise) override;
+
+ void sendShutdownResponse(const aap_protobuf::service::control::message::ByeByeResponse &response,
+ SendPromise::Pointer promise) override;
+
+ void sendVoiceSessionFocusResponse(const aap_protobuf::service::control::message::VoiceSessionNotification &response,
+ SendPromise::Pointer promise) override;
+
+ void sendNavigationFocusResponse(
+ const aap_protobuf::service::control::message::NavFocusNotification &response,
+ SendPromise::Pointer promise) override;
+
+ void
+ sendPingRequest(const aap_protobuf::service::control::message::PingRequest &request,
+ SendPromise::Pointer promise) override;
+
+ void
+ sendPingResponse(const aap_protobuf::service::control::message::PingResponse &response,
+ SendPromise::Pointer promise) override;
+
+ private:
using std::enable_shared_from_this::shared_from_this;
- void messageHandler(messenger::Message::Pointer message, IControlServiceChannelEventHandler::Pointer eventHandler);
-
- void handleVersionResponse(const common::DataConstBuffer& payload, IControlServiceChannelEventHandler::Pointer eventHandler);
- void handleServiceDiscoveryRequest(const common::DataConstBuffer& payload, IControlServiceChannelEventHandler::Pointer eventHandler);
- void handleAudioFocusRequest(const common::DataConstBuffer& payload, IControlServiceChannelEventHandler::Pointer eventHandler);
- void handleShutdownRequest(const common::DataConstBuffer& payload, IControlServiceChannelEventHandler::Pointer eventHandler);
- void handleShutdownResponse(const common::DataConstBuffer& payload, IControlServiceChannelEventHandler::Pointer eventHandler);
- void handleNavigationFocusRequest(const common::DataConstBuffer& payload, IControlServiceChannelEventHandler::Pointer eventHandler);
- void handlePingRequest(const common::DataConstBuffer& payload, IControlServiceChannelEventHandler::Pointer eventHandler);
- void handlePingResponse(const common::DataConstBuffer& payload, IControlServiceChannelEventHandler::Pointer eventHandler);
- void handleVoiceSessionRequest(const common::DataConstBuffer& payload, IControlServiceChannelEventHandler::Pointer eventHandler);
-};
+
+ // Internal Message Handlers
+
+ void
+ messageHandler(messenger::Message::Pointer message, IControlServiceChannelEventHandler::Pointer eventHandler);
+
+ void handleVersionResponse(const common::DataConstBuffer &payload,
+ IControlServiceChannelEventHandler::Pointer eventHandler);
+
+ void handleServiceDiscoveryRequest(const common::DataConstBuffer &payload,
+ IControlServiceChannelEventHandler::Pointer eventHandler);
+
+ void handleAudioFocusRequest(const common::DataConstBuffer &payload,
+ IControlServiceChannelEventHandler::Pointer eventHandler);
+
+ void handleShutdownRequest(const common::DataConstBuffer &payload,
+ IControlServiceChannelEventHandler::Pointer eventHandler);
+
+ void handleShutdownResponse(const common::DataConstBuffer &payload,
+ IControlServiceChannelEventHandler::Pointer eventHandler);
+
+ void handleNavigationFocusRequest(const common::DataConstBuffer &payload,
+ IControlServiceChannelEventHandler::Pointer eventHandler);
+
+ void handlePingRequest(const common::DataConstBuffer &payload,
+ IControlServiceChannelEventHandler::Pointer eventHandler);
+
+ void handlePingResponse(const common::DataConstBuffer &payload,
+ IControlServiceChannelEventHandler::Pointer eventHandler);
+
+ void handleVoiceSessionRequest(const common::DataConstBuffer &payload,
+ IControlServiceChannelEventHandler::Pointer eventHandler);
+
+ void handleBatteryStatusNotification(const common::DataConstBuffer &payload,
+ IControlServiceChannelEventHandler::Pointer eventHandler);
+ };
}
-}
-}
+
+
diff --git a/include/aasdk/Channel/Control/IControlServiceChannel.hpp b/include/aasdk/Channel/Control/IControlServiceChannel.hpp
index e1cbe26f..d2a208c5 100644
--- a/include/aasdk/Channel/Control/IControlServiceChannel.hpp
+++ b/include/aasdk/Channel/Control/IControlServiceChannel.hpp
@@ -1,66 +1,92 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
#pragma once
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
+#include "aasdk/Channel/Promise.hpp"
+#include "aasdk/Channel/IChannel.hpp"
+#include "aasdk/Messenger/ChannelId.hpp"
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
#include
-#include
#include
-namespace aasdk
-{
-namespace channel
-{
-namespace control
-{
+namespace aasdk::channel::control {
-class IControlServiceChannel
-{
-public:
+ class IControlServiceChannel : public virtual IChannel {
+ public:
typedef std::shared_ptr Pointer;
IControlServiceChannel() = default;
+
virtual ~IControlServiceChannel() = default;
virtual void receive(IControlServiceChannelEventHandler::Pointer eventHandler) = 0;
virtual void sendVersionRequest(SendPromise::Pointer promise) = 0;
+
virtual void sendHandshake(common::Data handshakeBuffer, SendPromise::Pointer promise) = 0;
- virtual void sendAuthComplete(const proto::messages::AuthCompleteIndication& response, SendPromise::Pointer promise) = 0;
- virtual void sendServiceDiscoveryResponse(const proto::messages::ServiceDiscoveryResponse& response, SendPromise::Pointer promise) = 0;
- virtual void sendAudioFocusResponse(const proto::messages::AudioFocusResponse& response, SendPromise::Pointer promise) = 0;
- virtual void sendShutdownRequest(const proto::messages::ShutdownRequest& request, SendPromise::Pointer promise) = 0;
- virtual void sendShutdownResponse(const proto::messages::ShutdownResponse& response, SendPromise::Pointer promise) = 0;
- virtual void sendNavigationFocusResponse(const proto::messages::NavigationFocusResponse& response, SendPromise::Pointer promise) = 0;
- virtual void sendPingRequest(const proto::messages::PingRequest& request, SendPromise::Pointer promise) = 0;
- virtual void sendPingResponse(const proto::messages::PingResponse& response, SendPromise::Pointer promise) = 0;
-};
+ virtual void sendAuthComplete(const aap_protobuf::service::control::message::AuthResponse &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void sendServiceDiscoveryResponse(
+ const aap_protobuf::service::control::message::ServiceDiscoveryResponse &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendAudioFocusResponse(
+ const aap_protobuf::service::control::message::AudioFocusNotification &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendShutdownRequest(const aap_protobuf::service::control::message::ByeByeRequest &request,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendShutdownResponse(const aap_protobuf::service::control::message::ByeByeResponse &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendNavigationFocusResponse(
+ const aap_protobuf::service::control::message::NavFocusNotification &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendVoiceSessionFocusResponse(const aap_protobuf::service::control::message::VoiceSessionNotification &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendPingRequest(const aap_protobuf::service::control::message::PingRequest &request, SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendPingResponse(const aap_protobuf::service::control::message::PingResponse &response,
+ SendPromise::Pointer promise) = 0;
+ };
}
-}
-}
+
+
diff --git a/include/aasdk/Channel/Control/IControlServiceChannelEventHandler.hpp b/include/aasdk/Channel/Control/IControlServiceChannelEventHandler.hpp
index d0bf0b8e..99032d73 100644
--- a/include/aasdk/Channel/Control/IControlServiceChannelEventHandler.hpp
+++ b/include/aasdk/Channel/Control/IControlServiceChannelEventHandler.hpp
@@ -1,65 +1,76 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
#pragma once
#include
#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace control
-{
-
-class IControlServiceChannelEventHandler
-{
-public:
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace aasdk::channel::control {
+
+ class IControlServiceChannelEventHandler {
+ public:
typedef std::shared_ptr Pointer;
IControlServiceChannelEventHandler() = default;
+
virtual ~IControlServiceChannelEventHandler() = default;
- virtual void onVersionResponse(uint16_t majorCode, uint16_t minorCode, proto::enums::VersionResponseStatus::Enum status) = 0;
- virtual void onHandshake(const common::DataConstBuffer& payload) = 0;
- virtual void onServiceDiscoveryRequest(const proto::messages::ServiceDiscoveryRequest& request) = 0;
- virtual void onAudioFocusRequest(const proto::messages::AudioFocusRequest& request) = 0;
- virtual void onShutdownRequest(const proto::messages::ShutdownRequest& request) = 0;
- virtual void onShutdownResponse(const proto::messages::ShutdownResponse& response) = 0;
- virtual void onNavigationFocusRequest(const proto::messages::NavigationFocusRequest& request) = 0;
- virtual void onPingRequest(const proto::messages::PingRequest& request) = 0;
- virtual void onPingResponse(const proto::messages::PingResponse& response) = 0;
- virtual void onChannelError(const error::Error& e) = 0;
- virtual void onVoiceSessionRequest(const proto::messages::VoiceSessionRequest& request) = 0;
-};
+ virtual void onVersionResponse(uint16_t majorCode, uint16_t minorCode,
+ aap_protobuf::shared::MessageStatus status) = 0;
+ virtual void onHandshake(const common::DataConstBuffer &payload) = 0;
+
+ virtual void onServiceDiscoveryRequest(
+ const aap_protobuf::service::control::message::ServiceDiscoveryRequest &request) = 0;
+
+ virtual void
+ onAudioFocusRequest(const aap_protobuf::service::control::message::AudioFocusRequest &request) = 0;
+
+ virtual void onByeByeRequest(const aap_protobuf::service::control::message::ByeByeRequest &request) = 0;
+
+ virtual void
+ onByeByeResponse(const aap_protobuf::service::control::message::ByeByeResponse &response) = 0;
+
+ virtual void onBatteryStatusNotification(const aap_protobuf::service::control::message::BatteryStatusNotification ¬ification) = 0;
+
+ virtual void
+ onNavigationFocusRequest(
+ const aap_protobuf::service::control::message::NavFocusRequestNotification &request) = 0;
+
+ virtual void
+ onVoiceSessionRequest(const aap_protobuf::service::control::message::VoiceSessionNotification &request) = 0;
+
+ virtual void onPingRequest(const aap_protobuf::service::control::message::PingRequest &request) = 0;
+
+ virtual void onPingResponse(const aap_protobuf::service::control::message::PingResponse &response) = 0;
+
+ virtual void onChannelError(const error::Error &e) = 0;
+
+
+ };
}
-}
-}
+
+
diff --git a/include/aasdk/Channel/GenericNotification/GenericNotificationService.hpp b/include/aasdk/Channel/GenericNotification/GenericNotificationService.hpp
new file mode 100644
index 00000000..d0fc49e1
--- /dev/null
+++ b/include/aasdk/Channel/GenericNotification/GenericNotificationService.hpp
@@ -0,0 +1,56 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include "aasdk/Channel/Channel.hpp"
+#include "IGenericNotificationService.hpp"
+
+
+namespace aasdk::channel::genericnotification {
+
+
+ class GenericNotificationService
+ : public IGenericNotificationService,
+ public Channel,
+ public std::enable_shared_from_this {
+ public:
+ GenericNotificationService(boost::asio::io_service::strand &strand, messenger::IMessenger::Pointer messenger);
+
+ // Senders and Receivers
+
+ void receive(IGenericNotificationServiceEventHandler::Pointer eventHandler) override;
+
+ void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) override;
+
+
+ private:
+ using std::enable_shared_from_this::shared_from_this;
+
+ // Internal Message Handlers
+
+ void
+ messageHandler(messenger::Message::Pointer message, IGenericNotificationServiceEventHandler::Pointer eventHandler);
+
+ void handleChannelOpenRequest(const common::DataConstBuffer &payload,
+ IGenericNotificationServiceEventHandler::Pointer eventHandler);
+
+ };
+
+}
diff --git a/include/aasdk/Channel/GenericNotification/IGenericNotificationService.hpp b/include/aasdk/Channel/GenericNotification/IGenericNotificationService.hpp
new file mode 100644
index 00000000..b5510786
--- /dev/null
+++ b/include/aasdk/Channel/GenericNotification/IGenericNotificationService.hpp
@@ -0,0 +1,45 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include "aasdk/Channel/Promise.hpp"
+#include "aasdk/Channel/IChannel.hpp"
+#include "aasdk/Messenger/ChannelId.hpp"
+#include
+#include
+#include "IGenericNotificationServiceEventHandler.hpp"
+
+namespace aasdk::channel::genericnotification {
+
+ class IGenericNotificationService : public virtual IChannel {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IGenericNotificationService() = default;
+
+ virtual ~IGenericNotificationService() = default;
+
+ virtual void receive(IGenericNotificationServiceEventHandler::Pointer eventHandler) = 0;
+
+ virtual void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) = 0;
+
+ };
+}
diff --git a/include/aasdk/Channel/GenericNotification/IGenericNotificationServiceEventHandler.hpp b/include/aasdk/Channel/GenericNotification/IGenericNotificationServiceEventHandler.hpp
new file mode 100644
index 00000000..2e0b4651
--- /dev/null
+++ b/include/aasdk/Channel/GenericNotification/IGenericNotificationServiceEventHandler.hpp
@@ -0,0 +1,40 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+
+#include
+#include "aasdk/Error/Error.hpp"
+
+namespace aasdk::channel::genericnotification {
+
+
+ class IGenericNotificationServiceEventHandler {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IGenericNotificationServiceEventHandler() = default;
+
+ virtual ~IGenericNotificationServiceEventHandler() = default;
+
+ virtual void onChannelOpenRequest(const aap_protobuf::service::control::message::ChannelOpenRequest &request) = 0;
+
+ virtual void onChannelError(const error::Error &e) = 0;
+ };
+
+}
diff --git a/include/aasdk/Channel/IChannel.hpp b/include/aasdk/Channel/IChannel.hpp
new file mode 100644
index 00000000..8cca9591
--- /dev/null
+++ b/include/aasdk/Channel/IChannel.hpp
@@ -0,0 +1,37 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include "aasdk/Messenger/ChannelId.hpp"
+#include "aasdk/Channel/Promise.hpp"
+
+namespace aasdk::channel {
+
+ class IChannel {
+ public:
+ IChannel() = default;
+
+ virtual ~IChannel() = default;
+
+ virtual messenger::ChannelId getId() const = 0;
+
+ virtual void send(messenger::Message::Pointer message, SendPromise::Pointer promise) = 0;
+
+ };
+}
diff --git a/include/aasdk/Channel/Input/IInputServiceChannel.hpp b/include/aasdk/Channel/Input/IInputServiceChannel.hpp
deleted file mode 100644
index d626a884..00000000
--- a/include/aasdk/Channel/Input/IInputServiceChannel.hpp
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace input
-{
-
-class IInputServiceChannel
-{
-public:
- typedef std::shared_ptr Pointer;
-
- IInputServiceChannel() = default;
- virtual ~IInputServiceChannel() = default;
-
- virtual void receive(IInputServiceChannelEventHandler::Pointer eventHandler) = 0;
- virtual void sendChannelOpenResponse(const proto::messages::ChannelOpenResponse& response, SendPromise::Pointer promise) = 0;
- virtual void sendInputEventIndication(const proto::messages::InputEventIndication& indication, SendPromise::Pointer promise) = 0;
- virtual void sendBindingResponse(const proto::messages::BindingResponse& response, SendPromise::Pointer promise) = 0;
- virtual messenger::ChannelId getId() const = 0;
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/Input/IInputServiceChannelEventHandler.hpp b/include/aasdk/Channel/Input/IInputServiceChannelEventHandler.hpp
deleted file mode 100644
index 5a0ae7b8..00000000
--- a/include/aasdk/Channel/Input/IInputServiceChannelEventHandler.hpp
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace input
-{
-
-class IInputServiceChannelEventHandler
-{
-public:
- typedef std::shared_ptr Pointer;
-
- IInputServiceChannelEventHandler() = default;
- virtual ~IInputServiceChannelEventHandler() = default;
-
- virtual void onChannelOpenRequest(const proto::messages::ChannelOpenRequest& request) = 0;
- virtual void onBindingRequest(const proto::messages::BindingRequest& request) = 0;
- virtual void onChannelError(const error::Error& e) = 0;
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/Input/InputServiceChannel.hpp b/include/aasdk/Channel/Input/InputServiceChannel.hpp
deleted file mode 100644
index 75706fc5..00000000
--- a/include/aasdk/Channel/Input/InputServiceChannel.hpp
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
-* This file is part of aasdk library project.
-* Copyright (C) 2018 f1x.studio (Michal Szwaj)
-*
-* aasdk is free software: you can redistribute it and/or modify
-* it under the terms of the GNU General Public License as published by
-* the Free Software Foundation; either version 3 of the License, or
-* (at your option) any later version.
-
-* aasdk is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with aasdk. If not, see .
-*/
-
-#pragma once
-
-#include
-#include
-
-
-namespace aasdk
-{
-namespace channel
-{
-namespace input
-{
-
-class InputServiceChannel: public IInputServiceChannel, public ServiceChannel, public std::enable_shared_from_this
-{
- public:
- InputServiceChannel(boost::asio::io_service::strand& strand, messenger::IMessenger::Pointer messenger);
-
- void receive(IInputServiceChannelEventHandler::Pointer eventHandler) override;
- void sendChannelOpenResponse(const proto::messages::ChannelOpenResponse& response, SendPromise::Pointer promise) override;
- void sendInputEventIndication(const proto::messages::InputEventIndication& indication, SendPromise::Pointer promise) override;
- void sendBindingResponse(const proto::messages::BindingResponse& response, SendPromise::Pointer promise) override;
- messenger::ChannelId getId() const override;
-
-private:
- using std::enable_shared_from_this::shared_from_this;
- void messageHandler(messenger::Message::Pointer message, IInputServiceChannelEventHandler::Pointer eventHandler);
- void handleBindingRequest(const common::DataConstBuffer& payload, IInputServiceChannelEventHandler::Pointer eventHandler);
- void handleChannelOpenRequest(const common::DataConstBuffer& payload, IInputServiceChannelEventHandler::Pointer eventHandler);
-};
-
-}
-}
-}
diff --git a/include/aasdk/Channel/InputSource/IInputSourceService.hpp b/include/aasdk/Channel/InputSource/IInputSourceService.hpp
new file mode 100644
index 00000000..2acbb2ed
--- /dev/null
+++ b/include/aasdk/Channel/InputSource/IInputSourceService.hpp
@@ -0,0 +1,55 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include "aasdk/Channel/Promise.hpp"
+#include "aasdk/Channel/IChannel.hpp"
+#include "aasdk/Messenger/ChannelId.hpp"
+#include
+#include
+#include
+#include
+#include "IInputSourceServiceEventHandler.hpp"
+
+
+namespace aasdk::channel::inputsource {
+ class IInputSourceService : public virtual IChannel {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IInputSourceService() = default;
+
+ virtual ~IInputSourceService() = default;
+
+ virtual void receive(IInputSourceServiceEventHandler::Pointer eventHandler) = 0;
+
+ virtual void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void sendInputReport(const aap_protobuf::service::inputsource::message::InputReport &indication,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void sendKeyBindingResponse(const aap_protobuf::service::media::sink::message::KeyBindingResponse &response,
+ SendPromise::Pointer promise) = 0;
+ };
+
+}
+
+
diff --git a/include/aasdk/Channel/InputSource/IInputSourceServiceEventHandler.hpp b/include/aasdk/Channel/InputSource/IInputSourceServiceEventHandler.hpp
new file mode 100644
index 00000000..392d4797
--- /dev/null
+++ b/include/aasdk/Channel/InputSource/IInputSourceServiceEventHandler.hpp
@@ -0,0 +1,43 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include
+#include
+
+namespace aasdk::channel::inputsource {
+
+ class IInputSourceServiceEventHandler {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IInputSourceServiceEventHandler() = default;
+
+ virtual ~IInputSourceServiceEventHandler() = default;
+
+ virtual void onChannelOpenRequest(const aap_protobuf::service::control::message::ChannelOpenRequest &request) = 0;
+
+ virtual void onKeyBindingRequest(const aap_protobuf::service::media::sink::message::KeyBindingRequest &request) = 0;
+
+ virtual void onChannelError(const error::Error &e) = 0;
+ };
+
+}
+
+
diff --git a/include/aasdk/Channel/InputSource/InputSourceService.hpp b/include/aasdk/Channel/InputSource/InputSourceService.hpp
new file mode 100644
index 00000000..c4cb0456
--- /dev/null
+++ b/include/aasdk/Channel/InputSource/InputSourceService.hpp
@@ -0,0 +1,60 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include "aasdk/Channel/Channel.hpp"
+#include "IInputSourceService.hpp"
+
+namespace aasdk::channel::inputsource {
+
+ class InputSourceService
+ : public IInputSourceService, public Channel, public std::enable_shared_from_this {
+ public:
+ InputSourceService(boost::asio::io_service::strand &strand, messenger::IMessenger::Pointer messenger);
+
+ // Senders and Receivers
+
+ void receive(IInputSourceServiceEventHandler::Pointer eventHandler) override;
+
+ void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) override;
+
+ void sendInputReport(const aap_protobuf::service::inputsource::message::InputReport &indication,
+ SendPromise::Pointer promise) override;
+
+ void sendKeyBindingResponse(const aap_protobuf::service::media::sink::message::KeyBindingResponse &response,
+ SendPromise::Pointer promise) override;
+
+ private:
+ using std::enable_shared_from_this::shared_from_this;
+
+ // Internal Message Handlers
+
+ void messageHandler(messenger::Message::Pointer message, IInputSourceServiceEventHandler::Pointer eventHandler);
+
+ void
+ handleKeyBindingRequest(const common::DataConstBuffer &payload, IInputSourceServiceEventHandler::Pointer eventHandler);
+
+ void handleChannelOpenRequest(const common::DataConstBuffer &payload,
+ IInputSourceServiceEventHandler::Pointer eventHandler);
+ };
+
+}
+
+
diff --git a/include/aasdk/Channel/MediaBrowser/IMediaBrowserService.hpp b/include/aasdk/Channel/MediaBrowser/IMediaBrowserService.hpp
new file mode 100644
index 00000000..d3fad433
--- /dev/null
+++ b/include/aasdk/Channel/MediaBrowser/IMediaBrowserService.hpp
@@ -0,0 +1,44 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include "aasdk/Channel/Promise.hpp"
+#include "aasdk/Channel/IChannel.hpp"
+#include "aasdk/Messenger/ChannelId.hpp"
+#include
+#include "IMediaBrowserServiceEventHandler.hpp"
+
+namespace aasdk::channel::mediabrowser {
+
+ class IMediaBrowserService : public virtual IChannel {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IMediaBrowserService() = default;
+
+ virtual ~IMediaBrowserService() = default;
+
+ virtual void receive(IMediaBrowserServiceEventHandler::Pointer eventHandler) = 0;
+
+ virtual void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) = 0;
+
+ };
+}
diff --git a/include/aasdk/Channel/MediaBrowser/IMediaBrowserServiceEventHandler.hpp b/include/aasdk/Channel/MediaBrowser/IMediaBrowserServiceEventHandler.hpp
new file mode 100644
index 00000000..d1a9f2ba
--- /dev/null
+++ b/include/aasdk/Channel/MediaBrowser/IMediaBrowserServiceEventHandler.hpp
@@ -0,0 +1,40 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+
+#include
+#include "aasdk/Error/Error.hpp"
+
+namespace aasdk::channel::mediabrowser {
+
+
+ class IMediaBrowserServiceEventHandler {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IMediaBrowserServiceEventHandler() = default;
+
+ virtual ~IMediaBrowserServiceEventHandler() = default;
+
+ virtual void onChannelOpenRequest(const aap_protobuf::service::control::message::ChannelOpenRequest &request) = 0;
+
+ virtual void onChannelError(const error::Error &e) = 0;
+ };
+
+}
diff --git a/include/aasdk/Channel/MediaBrowser/MediaBrowserService.hpp b/include/aasdk/Channel/MediaBrowser/MediaBrowserService.hpp
new file mode 100644
index 00000000..86cde368
--- /dev/null
+++ b/include/aasdk/Channel/MediaBrowser/MediaBrowserService.hpp
@@ -0,0 +1,53 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include "aasdk/Channel/Channel.hpp"
+#include "IMediaBrowserService.hpp"
+
+
+namespace aasdk::channel::mediabrowser {
+
+
+ class MediaBrowserService
+ : public IMediaBrowserService, public Channel, public std::enable_shared_from_this {
+ public:
+ MediaBrowserService(boost::asio::io_service::strand &strand, messenger::IMessenger::Pointer messenger);
+
+ // Senders and Receivers
+
+ void receive(IMediaBrowserServiceEventHandler::Pointer eventHandler) override;
+
+ void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) override;
+
+
+ private:
+ using std::enable_shared_from_this::shared_from_this;
+
+ // Internal Message Handlers
+
+ void messageHandler(messenger::Message::Pointer message, IMediaBrowserServiceEventHandler::Pointer eventHandler);
+
+ void handleChannelOpenRequest(const common::DataConstBuffer &payload,
+ IMediaBrowserServiceEventHandler::Pointer eventHandler);
+
+ };
+
+}
diff --git a/include/aasdk/Channel/MediaPlaybackStatus/IMediaPlaybackStatusService.hpp b/include/aasdk/Channel/MediaPlaybackStatus/IMediaPlaybackStatusService.hpp
new file mode 100644
index 00000000..a16f79d2
--- /dev/null
+++ b/include/aasdk/Channel/MediaPlaybackStatus/IMediaPlaybackStatusService.hpp
@@ -0,0 +1,45 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include "aasdk/Channel/Promise.hpp"
+#include "aasdk/Channel/IChannel.hpp"
+#include "aasdk/Messenger/ChannelId.hpp"
+#include
+#include "IMediaPlaybackStatusServiceEventHandler.hpp"
+
+
+namespace aasdk::channel::mediaplaybackstatus {
+
+ class IMediaPlaybackStatusService : public virtual IChannel {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IMediaPlaybackStatusService() = default;
+
+ virtual ~IMediaPlaybackStatusService() = default;
+
+ virtual void receive(IMediaPlaybackStatusServiceEventHandler::Pointer eventHandler) = 0;
+
+ virtual void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) = 0;
+ };
+
+}
diff --git a/include/aasdk/Channel/MediaPlaybackStatus/IMediaPlaybackStatusServiceEventHandler.hpp b/include/aasdk/Channel/MediaPlaybackStatus/IMediaPlaybackStatusServiceEventHandler.hpp
new file mode 100644
index 00000000..14083443
--- /dev/null
+++ b/include/aasdk/Channel/MediaPlaybackStatus/IMediaPlaybackStatusServiceEventHandler.hpp
@@ -0,0 +1,49 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include
+#include
+#include "aasdk/Error/Error.hpp"
+
+
+namespace aasdk::channel::mediaplaybackstatus {
+
+ class IMediaPlaybackStatusServiceEventHandler {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IMediaPlaybackStatusServiceEventHandler() = default;
+
+ virtual ~IMediaPlaybackStatusServiceEventHandler() = default;
+
+ virtual void onChannelOpenRequest(const aap_protobuf::service::control::message::ChannelOpenRequest &request) = 0;
+
+ virtual void onChannelError(const error::Error &e) = 0;
+
+ virtual void
+ onMetadataUpdate(const aap_protobuf::service::mediaplayback::message::MediaPlaybackMetadata &metadata) = 0;
+
+ virtual void
+ onPlaybackUpdate(const aap_protobuf::service::mediaplayback::message::MediaPlaybackStatus &playback) = 0;
+ };
+
+}
+
+
diff --git a/include/aasdk/Channel/MediaPlaybackStatus/MediaPlaybackStatusService.hpp b/include/aasdk/Channel/MediaPlaybackStatus/MediaPlaybackStatusService.hpp
new file mode 100644
index 00000000..75085594
--- /dev/null
+++ b/include/aasdk/Channel/MediaPlaybackStatus/MediaPlaybackStatusService.hpp
@@ -0,0 +1,62 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include "aasdk/Channel/Channel.hpp"
+#include "IMediaPlaybackStatusService.hpp"
+
+
+namespace aasdk::channel::mediaplaybackstatus {
+
+
+ class MediaPlaybackStatusService
+ : public IMediaPlaybackStatusService,
+ public Channel,
+ public std::enable_shared_from_this {
+ public:
+ MediaPlaybackStatusService(boost::asio::io_service::strand &strand, messenger::IMessenger::Pointer messenger);
+
+ // Senders and Receivers
+
+ void receive(IMediaPlaybackStatusServiceEventHandler::Pointer eventHandler) override;
+
+ void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) override;
+
+ private:
+ using std::enable_shared_from_this::shared_from_this;
+
+ // Internal Message Handlers
+
+ void
+ messageHandler(messenger::Message::Pointer message, IMediaPlaybackStatusServiceEventHandler::Pointer eventHandler);
+
+ void handleChannelOpenRequest(const common::DataConstBuffer &payload,
+ IMediaPlaybackStatusServiceEventHandler::Pointer eventHandler);
+
+ void handleMetadataUpdate(const common::DataConstBuffer &payload,
+ IMediaPlaybackStatusServiceEventHandler::Pointer eventHandler);
+
+ void handlePlaybackUpdate(const common::DataConstBuffer &payload,
+ IMediaPlaybackStatusServiceEventHandler::Pointer eventHandler);
+
+ };
+
+}
+
diff --git a/include/aasdk/Channel/MediaSink/Audio/AudioMediaSinkService.hpp b/include/aasdk/Channel/MediaSink/Audio/AudioMediaSinkService.hpp
new file mode 100644
index 00000000..30a3d4d8
--- /dev/null
+++ b/include/aasdk/Channel/MediaSink/Audio/AudioMediaSinkService.hpp
@@ -0,0 +1,82 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include "aasdk/Messenger/MessageId.hpp"
+#include "aasdk/Channel/Channel.hpp"
+#include "IAudioMediaSinkService.hpp"
+
+namespace aasdk::channel::mediasink::audio {
+
+ class AudioMediaSinkService
+ : public IAudioMediaSinkService, public Channel, public std::enable_shared_from_this {
+ public:
+ AudioMediaSinkService(boost::asio::io_service::strand &strand, messenger::IMessenger::Pointer messenger,
+ messenger::ChannelId channelId);
+
+ // Senders and Receivers
+
+ void receive(IAudioMediaSinkServiceEventHandler::Pointer eventHandler) override;
+
+ void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) override;
+
+ void
+ sendChannelSetupResponse(const aap_protobuf::service::media::shared::message::Config &response,
+ SendPromise::Pointer promise) override;
+
+ void
+ sendMediaAckIndication(
+ const aap_protobuf::service::media::source::message::Ack &indication,
+ SendPromise::Pointer promise) override;
+
+
+ protected:
+ void registerMessageHandler(int messageId,
+ std::function handler);
+
+ private:
+ using std::enable_shared_from_this::shared_from_this;
+
+ // Internal Message Handlers
+ std::unordered_map> messageHandlers_;
+
+ void messageHandler(messenger::Message::Pointer message, IAudioMediaSinkServiceEventHandler::Pointer eventHandler);
+
+ void handleChannelSetupRequest(const common::DataConstBuffer &payload,
+ IAudioMediaSinkServiceEventHandler::Pointer eventHandler);
+
+ void
+ handleStartIndication(const common::DataConstBuffer &payload,
+ IAudioMediaSinkServiceEventHandler::Pointer eventHandler);
+
+ void
+ handleStopIndication(const common::DataConstBuffer &payload,
+ IAudioMediaSinkServiceEventHandler::Pointer eventHandler);
+
+ void handleChannelOpenRequest(const common::DataConstBuffer &payload,
+ IAudioMediaSinkServiceEventHandler::Pointer eventHandler);
+
+ void handleMediaWithTimestampIndication(const common::DataConstBuffer &payload,
+ IAudioMediaSinkServiceEventHandler::Pointer eventHandler);
+
+ };
+}
\ No newline at end of file
diff --git a/include/aasdk/Channel/MediaSink/Audio/Channel/GuidanceAudioChannel.hpp b/include/aasdk/Channel/MediaSink/Audio/Channel/GuidanceAudioChannel.hpp
new file mode 100644
index 00000000..8b7f339f
--- /dev/null
+++ b/include/aasdk/Channel/MediaSink/Audio/Channel/GuidanceAudioChannel.hpp
@@ -0,0 +1,30 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include "aasdk/Channel/MediaSink/Audio/AudioMediaSinkService.hpp"
+
+namespace aasdk::channel::mediasink::audio::channel {
+ using aasdk::channel::mediasink::audio::AudioMediaSinkService;
+
+
+ class GuidanceAudioChannel : public AudioMediaSinkService {
+ public:
+ GuidanceAudioChannel(boost::asio::io_service::strand &strand, messenger::IMessenger::Pointer messenger);
+ };
+}
diff --git a/include/aasdk/Channel/MediaSink/Audio/Channel/MediaAudioChannel.hpp b/include/aasdk/Channel/MediaSink/Audio/Channel/MediaAudioChannel.hpp
new file mode 100644
index 00000000..09f7add9
--- /dev/null
+++ b/include/aasdk/Channel/MediaSink/Audio/Channel/MediaAudioChannel.hpp
@@ -0,0 +1,30 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include "aasdk/Channel/MediaSink/Audio/AudioMediaSinkService.hpp"
+
+namespace aasdk::channel::mediasink::audio::channel {
+ using aasdk::channel::mediasink::audio::AudioMediaSinkService;
+
+
+ class MediaAudioChannel : public AudioMediaSinkService {
+ public:
+ MediaAudioChannel(boost::asio::io_service::strand &strand, messenger::IMessenger::Pointer messenger);
+ };
+}
diff --git a/include/aasdk/Channel/MediaSink/Audio/Channel/SystemAudioChannel.hpp b/include/aasdk/Channel/MediaSink/Audio/Channel/SystemAudioChannel.hpp
new file mode 100644
index 00000000..38fe1bc7
--- /dev/null
+++ b/include/aasdk/Channel/MediaSink/Audio/Channel/SystemAudioChannel.hpp
@@ -0,0 +1,30 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include "aasdk/Channel/MediaSink/Audio/AudioMediaSinkService.hpp"
+
+namespace aasdk::channel::mediasink::audio::channel {
+ using aasdk::channel::mediasink::audio::AudioMediaSinkService;
+
+
+ class SystemAudioChannel : public AudioMediaSinkService {
+ public:
+ SystemAudioChannel(boost::asio::io_service::strand &strand, messenger::IMessenger::Pointer messenger);
+ };
+}
diff --git a/include/aasdk/Channel/MediaSink/Audio/Channel/TelephonyAudioChannel.hpp b/include/aasdk/Channel/MediaSink/Audio/Channel/TelephonyAudioChannel.hpp
new file mode 100644
index 00000000..93505796
--- /dev/null
+++ b/include/aasdk/Channel/MediaSink/Audio/Channel/TelephonyAudioChannel.hpp
@@ -0,0 +1,35 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include "aasdk/Channel/MediaSink/Audio/AudioMediaSinkService.hpp"
+
+namespace aasdk::channel::mediasink::audio::channel {
+ using aasdk::channel::mediasink::audio::AudioMediaSinkService;
+
+
+ class TelephonyAudioChannel : public AudioMediaSinkService {
+ public:
+ TelephonyAudioChannel(boost::asio::io_service::strand &strand, messenger::IMessenger::Pointer messenger);
+ };
+}
+
+
+
+
+
diff --git a/include/aasdk/Channel/MediaSink/Audio/IAudioMediaSinkService.hpp b/include/aasdk/Channel/MediaSink/Audio/IAudioMediaSinkService.hpp
new file mode 100644
index 00000000..f11d77f2
--- /dev/null
+++ b/include/aasdk/Channel/MediaSink/Audio/IAudioMediaSinkService.hpp
@@ -0,0 +1,62 @@
+
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include "IAudioMediaSinkServiceEventHandler.hpp"
+#include "aasdk/Channel/Promise.hpp"
+#include "aasdk/Channel/IChannel.hpp"
+#include "aasdk/Messenger/ChannelId.hpp"
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace aasdk::channel::mediasink::audio {
+
+ class IAudioMediaSinkService : public virtual IChannel {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IAudioMediaSinkService() = default;
+
+ virtual ~IAudioMediaSinkService() = default;
+
+ virtual void receive(IAudioMediaSinkServiceEventHandler::Pointer eventHandler) = 0;
+
+ virtual void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendChannelSetupResponse(const aap_protobuf::service::media::shared::message::Config &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendMediaAckIndication(
+ const aap_protobuf::service::media::source::message::Ack &indication,
+ SendPromise::Pointer promise) = 0;
+
+ };
+
+}
+
+
diff --git a/include/aasdk/Channel/MediaSink/Audio/IAudioMediaSinkServiceEventHandler.hpp b/include/aasdk/Channel/MediaSink/Audio/IAudioMediaSinkServiceEventHandler.hpp
new file mode 100644
index 00000000..d40e9a1c
--- /dev/null
+++ b/include/aasdk/Channel/MediaSink/Audio/IAudioMediaSinkServiceEventHandler.hpp
@@ -0,0 +1,60 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include "aasdk/Messenger/Timestamp.hpp"
+#include "aasdk/Common/Data.hpp"
+#include "aasdk/Error/Error.hpp"
+#include
+
+namespace aasdk::channel::mediasink::audio {
+
+ class IAudioMediaSinkServiceEventHandler {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IAudioMediaSinkServiceEventHandler() = default;
+
+ virtual ~IAudioMediaSinkServiceEventHandler() = default;
+
+ virtual void onChannelOpenRequest(const aap_protobuf::service::control::message::ChannelOpenRequest &request) = 0;
+
+ virtual void onMediaChannelSetupRequest(const aap_protobuf::service::media::shared::message::Setup &request) = 0;
+
+ virtual void onMediaChannelStartIndication(const aap_protobuf::service::media::shared::message::Start &indication) = 0;
+
+ virtual void onMediaChannelStopIndication(const aap_protobuf::service::media::shared::message::Stop &indication) = 0;
+
+ virtual void
+ onMediaWithTimestampIndication(messenger::Timestamp::ValueType, const common::DataConstBuffer &buffer) = 0;
+
+ virtual void onMediaIndication(const common::DataConstBuffer &buffer) = 0;
+
+ virtual void onChannelError(const error::Error &e) = 0;
+
+ };
+
+}
+
+
diff --git a/include/aasdk/Channel/MediaSink/Video/Channel/VideoChannel.hpp b/include/aasdk/Channel/MediaSink/Video/Channel/VideoChannel.hpp
new file mode 100644
index 00000000..c4e13982
--- /dev/null
+++ b/include/aasdk/Channel/MediaSink/Video/Channel/VideoChannel.hpp
@@ -0,0 +1,30 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include "aasdk/Channel/MediaSink/Video/VideoMediaSinkService.hpp"
+
+namespace aasdk::channel::mediasink::video::channel {
+ using aasdk::channel::mediasink::video::VideoMediaSinkService;
+
+
+ class VideoChannel : public VideoMediaSinkService {
+ public:
+ VideoChannel(boost::asio::io_service::strand &strand, messenger::IMessenger::Pointer messenger);
+ };
+}
diff --git a/include/aasdk/Channel/MediaSink/Video/IVideoMediaSinkService.hpp b/include/aasdk/Channel/MediaSink/Video/IVideoMediaSinkService.hpp
new file mode 100644
index 00000000..1118ce82
--- /dev/null
+++ b/include/aasdk/Channel/MediaSink/Video/IVideoMediaSinkService.hpp
@@ -0,0 +1,69 @@
+
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include "IVideoMediaSinkServiceEventHandler.hpp"
+#include "aasdk/Channel/Promise.hpp"
+#include "aasdk/Channel/IChannel.hpp"
+#include "aasdk/Messenger/ChannelId.hpp"
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace aasdk::channel::mediasink::video {
+
+ class IVideoMediaSinkService : public virtual IChannel {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IVideoMediaSinkService() = default;
+
+ virtual ~IVideoMediaSinkService() = default;
+
+ virtual void receive(IVideoMediaSinkServiceEventHandler::Pointer eventHandler) = 0;
+
+ virtual void
+ sendChannelOpenResponse(const aap_protobuf::service::control::message::ChannelOpenResponse &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendChannelSetupResponse(const aap_protobuf::service::media::shared::message::Config &response,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendMediaAckIndication(
+ const aap_protobuf::service::media::source::message::Ack &indication,
+ SendPromise::Pointer promise) = 0;
+
+ virtual void
+ sendVideoFocusIndication(
+ const aap_protobuf::service::media::video::message::VideoFocusNotification &indication,
+ SendPromise::Pointer promise) = 0;
+
+ };
+
+}
+
+
+
+
diff --git a/include/aasdk/Channel/MediaSink/Video/IVideoMediaSinkServiceEventHandler.hpp b/include/aasdk/Channel/MediaSink/Video/IVideoMediaSinkServiceEventHandler.hpp
new file mode 100644
index 00000000..09d498b4
--- /dev/null
+++ b/include/aasdk/Channel/MediaSink/Video/IVideoMediaSinkServiceEventHandler.hpp
@@ -0,0 +1,62 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see .
+
+#pragma once
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include "aasdk/Messenger/Timestamp.hpp"
+#include "aasdk/Common/Data.hpp"
+#include "aasdk/Error/Error.hpp"
+#include
+
+namespace aasdk::channel::mediasink::video {
+
+ class IVideoMediaSinkServiceEventHandler {
+ public:
+ typedef std::shared_ptr Pointer;
+
+ IVideoMediaSinkServiceEventHandler() = default;
+
+ virtual ~IVideoMediaSinkServiceEventHandler() = default;
+
+ virtual void onChannelOpenRequest(const aap_protobuf::service::control::message::ChannelOpenRequest &request) = 0;
+
+ virtual void onMediaChannelSetupRequest(const aap_protobuf::service::media::shared::message::Setup &request) = 0;
+
+ virtual void onMediaChannelStartIndication(const aap_protobuf::service::media::shared::message::Start &indication) = 0;
+
+ virtual void onMediaChannelStopIndication(const aap_protobuf::service::media::shared::message::Stop &indication) = 0;
+
+ virtual void
+ onMediaWithTimestampIndication(messenger::Timestamp::ValueType, const common::DataConstBuffer &buffer) = 0;
+
+ virtual void onMediaIndication(const common::DataConstBuffer &buffer) = 0;
+
+ virtual void onVideoFocusRequest(
+ const aap_protobuf::service::media::video::message::VideoFocusRequestNotification &request) = 0;
+
+ virtual void onChannelError(const error::Error &e) = 0;
+ };
+
+}
+
+
diff --git a/include/aasdk/Channel/MediaSink/Video/VideoMediaSinkService.hpp b/include/aasdk/Channel/MediaSink/Video/VideoMediaSinkService.hpp
new file mode 100644
index 00000000..fdfd8bb0
--- /dev/null
+++ b/include/aasdk/Channel/MediaSink/Video/VideoMediaSinkService.hpp
@@ -0,0 +1,92 @@
+// This file is part of aasdk library project.
+// Copyright (C) 2018 f1x.studio (Michal Szwaj)
+// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
+//
+// aasdk is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// aasdk is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with aasdk. If not, see