mirror of https://github.com/opencardev/aasdk
Compare commits
74 Commits
Author | SHA1 | Date |
---|---|---|
Matthew Hilton | 014350918a | |
Matthew Hilton | 4c910d2956 | |
dice14u | 1efe564feb | |
Matthew Hilton | a9cb5e46df | |
TildenWinston | fbc1f585e2 | |
TildenWinston | 8981042d30 | |
TildenWinston | 4bc084d356 | |
TildenWinston | 20b4ec930e | |
Matthew Hilton | 1934037ee4 | |
Simon.Dean | bd18165181 | |
Simon.Dean | f80e72c480 | |
Simon.Dean | 5f4220b059 | |
Simon.Dean | b8bbdf1288 | |
Simon.Dean | 59d8d70b83 | |
Simon.Dean | a897fc1a8b | |
Matt Hilton | 6d7eda1bcb | |
Cole Brinsfield | 1bc0fe69d5 | |
matt | d327d9059c | |
Matthew Hilton | e29f2cd9d1 | |
Matthew Hilton | 3476cf9fc8 | |
Matthew Hilton | 053d69ecf3 | |
Matthew Hilton | eb53d31c1d | |
stefan-sherwood | 34384025f0 | |
Matthew Hilton | e1dd406287 | |
Zero | 18219a240d | |
Cole Brinsfield | 1f561aa711 | |
Egidijus | 7cb2b41863 | |
Jason Wenger | 9170cef8a8 | |
Jason C. Wenger | 5dda24782d | |
Jason Wenger | f9f02815d0 | |
Jason Wenger | 204c2edbe3 | |
Robert Stanley Judka | 7f3d07ea59 | |
Kyle Gordon | c96e250166 | |
Kyle Gordon | 5f2cea7201 | |
Kyle Gordon | 7493a98f8f | |
Kyle Gordon | 406086dd0d | |
Kyle Gordon | 9593dd4414 | |
Kyle Gordon | ec562fee7e | |
Kyle Gordon | be194ecb4e | |
Kyle Gordon | 2194455681 | |
Jason Wenger | 2f8ab3d900 | |
Jason Wenger | 3f200e9e59 | |
Jason Wenger | 5cdac83352 | |
Jason Wenger | 4486455f17 | |
Jason Wenger | f01d90a692 | |
Robert Stanley Judka | a4888526da | |
Jason Wenger | 96d2d90c67 | |
Jason Wenger | 3acf7d221b | |
Jason Wenger | ae72b7190f | |
Jason Wenger | c71a6565b5 | |
jcwenger | b2733fe146 | |
Robert Stanley Judka | d387974e9d | |
Cole Brinsfield | 5d7b2bf332 | |
Huan Truong | 1d91dec240 | |
Ryan Press | 902707fe34 | |
Ryan Press | 0e18a3a1e7 | |
Kevin Abraham | 95617c24b2 | |
Kevin Abraham | 361380e7d7 | |
Kevin Abraham | 5045f58867 | |
Emil Borconi-Szedressy | df25ec907d | |
Kevin Abraham | ba04fa980c | |
Kevin Abraham | b9cd29aede | |
Kevin Abraham | 3c402da75e | |
Emil Borconi-Szedressy | 8ffa3d351b | |
Kevin Abraham | 8aec5b45a0 | |
Kevin Abraham | 5f4ec331a5 | |
Kevin Abraham | 68bd1d8c00 | |
Kevin Abraham | 1be914a6f6 | |
Emil Borconi-Szedressy | 516a98c348 | |
michal.szwaj | 046b3b3815 | |
michal.szwaj | 894da2e214 | |
michal.szwaj | de146367bb | |
Michal Szwaj | 77d15dead9 | |
Huan Truong | 7ebd59ff85 |
|
@ -0,0 +1,6 @@
|
|||
*.proto text
|
||||
*.cpp text
|
||||
*.hpp text
|
||||
*.txt text
|
||||
*.md text
|
||||
*.cmake text
|
|
@ -0,0 +1,162 @@
|
|||
name: Build and test with docker
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
version:
|
||||
outputs:
|
||||
version: ${{ steps.get_version.outputs.version }}
|
||||
buildname: ${{ steps.get_version.outputs.buildname }}
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
-
|
||||
name: Checkout repository
|
||||
uses: actions/checkout@v1
|
||||
-
|
||||
name: Get the version
|
||||
id: get_version
|
||||
run: |
|
||||
if [ -z "$version" ]
|
||||
then
|
||||
version=$(date '+%Y%m%d')
|
||||
echo ::set-output name=version::"${version}"
|
||||
else
|
||||
echo ::set-output name=version::"${version}"
|
||||
fi
|
||||
builddate=$(date '+%Y-%m-%d')
|
||||
buildhash=$(git rev-parse --short "$GITHUB_SHA")
|
||||
buildname="${builddate}-${buildhash}"
|
||||
echo ::set-output name=version::${VERSION}
|
||||
echo ::set-output name=buildhash::${buildhash}
|
||||
echo ::set-output name=builddate::${builddate}
|
||||
echo ::set-output name=buildname::${buildname}
|
||||
env:
|
||||
version: ${{ github.event.inputs.version }}
|
||||
compile:
|
||||
runs-on: ${{ matrix.host }}
|
||||
needs: [ version ]
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 3
|
||||
matrix:
|
||||
host: [
|
||||
"ubuntu-latest",
|
||||
#"macos-10.15",
|
||||
]
|
||||
config:
|
||||
- {
|
||||
name: "armhf Release",
|
||||
arch: "armhf"
|
||||
}
|
||||
- {
|
||||
name: "amd64 Release",
|
||||
arch: "amd64"
|
||||
}
|
||||
|
||||
name: 'Build and Upload release: ${{ matrix.config.name }}'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
-
|
||||
name: Build the Docker image
|
||||
run: docker build -t aasdk_builder --file buildenv/Dockerfile .
|
||||
-
|
||||
name: 'Build ${{ matrix.config.arch }} Debian package'
|
||||
run: docker run -v "${PWD}/release":/release aasdk_builder:latest ${{ matrix.config.arch }}
|
||||
-
|
||||
name: Get Name of Artifact
|
||||
id: get-artifact-name
|
||||
run: |
|
||||
ls -hla
|
||||
ARTIFACT_PATHNAME=$(ls ./release/*.deb | head -n 1)
|
||||
ARTIFACT_NAME=$(basename $ARTIFACT_PATHNAME)
|
||||
echo ::set-output name=artifact_filename::${ARTIFACT_NAME}
|
||||
echo ::set-output name=artifact_path::${ARTIFACT_PATHNAME}
|
||||
-
|
||||
name: Upload build artifacts
|
||||
id: upload_deploy
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ matrix.config.arch }}
|
||||
path: |
|
||||
${{ steps.get-artifact-name.outputs.artifact_path }}
|
||||
# Create Release
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [ version, compile ]
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
name: 'Create release'
|
||||
outputs:
|
||||
release_upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
-
|
||||
name: Build Changelog
|
||||
id: github_release
|
||||
uses: mikepenz/release-changelog-builder-action@v2.4.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
-
|
||||
name: Create GitHub release
|
||||
id: create_release
|
||||
uses: softprops/action-gh-release@v0.1.13
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{needs.version.outputs.version }}
|
||||
release_name: ${{needs.version.outputs.buildname }}
|
||||
body: ${{steps.github_release.outputs.changelog}}
|
||||
draft: true
|
||||
prerelease: true
|
||||
# Upload release artifacts
|
||||
upload:
|
||||
needs: [ version, compile, release ]
|
||||
runs-on: ${{ matrix.host }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 3
|
||||
matrix:
|
||||
host: [
|
||||
"ubuntu-latest",
|
||||
#"macos-10.15",
|
||||
]
|
||||
config:
|
||||
- {
|
||||
name: "armhf Release",
|
||||
arch: "armhf"
|
||||
}
|
||||
- {
|
||||
name: "amd64 Release",
|
||||
arch: "amd64"
|
||||
}
|
||||
|
||||
name: 'Upload release: ${{ matrix.config.name }}'
|
||||
steps:
|
||||
-
|
||||
name: Download build artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: ${{ steps.get_version.outputs.version }}
|
||||
|
||||
-
|
||||
name: Get Artifact Filenames
|
||||
id: get-artifact-name
|
||||
run: |
|
||||
ARTIFACT_PATHNAME=$(ls ${{ matrix.config.arch }}/*.deb | head -n 1)
|
||||
ARTIFACT_NAME=$(basename $ARTIFACT_PATHNAME)
|
||||
echo ::set-output name=artifact_filename::${ARTIFACT_NAME}
|
||||
echo ::set-output name=artifact_path::${ARTIFACT_PATHNAME}
|
||||
-
|
||||
name: Upload zip to release
|
||||
id: upload_zip
|
||||
uses: actions/upload-release-asset@v1.0.2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
RELEASE_VERSION: ${{ needs.version.outputs.buildname }}
|
||||
with:
|
||||
upload_url: ${{needs.release.outputs.release_upload_url}}
|
||||
asset_path: ${{ steps.get-artifact-name.outputs.artifact_path }}
|
||||
asset_name: ${{ steps.get-artifact-name.outputs.artifact_filename }}
|
||||
asset_content_type: application/vnd.debian.binary-package
|
|
@ -1,4 +1,12 @@
|
|||
# Add any directories, files, or patterns you don't want to be tracked by version control
|
||||
lib/
|
||||
bin/
|
||||
CMakeLists.txt.user
|
||||
CMakeLists.txt.user
|
||||
CMakeCache.txt
|
||||
CMakeFiles
|
||||
aasdk_proto/*.pb.cc
|
||||
aasdk_proto/*.pb.h
|
||||
Makefile
|
||||
cmake_install.cmake
|
||||
install_manifest.txt
|
||||
build/**
|
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Clean",
|
||||
"command": "sudo rm -R build",
|
||||
"type": "shell",
|
||||
"args": [],
|
||||
"problemMatcher": [
|
||||
"$tsc"
|
||||
],
|
||||
"presentation": {
|
||||
"reveal": "always"
|
||||
},
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "Build",
|
||||
"command": "mkdir build;cd build;cmake -DCMAKE_BUILD_TYPE=Release ../",
|
||||
"type": "shell",
|
||||
"args": [],
|
||||
"problemMatcher": [
|
||||
"$tsc"
|
||||
],
|
||||
"presentation": {
|
||||
"reveal": "always"
|
||||
},
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "Create DEB Package",
|
||||
"command": "cd build;cpack --config CPackConfig.cmake",
|
||||
"type": "shell",
|
||||
"args": [],
|
||||
"problemMatcher": [
|
||||
"$tsc"
|
||||
],
|
||||
"presentation": {
|
||||
"reveal": "always"
|
||||
},
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "Create DEB SRC Package",
|
||||
"command": "cd build;cpack --config CPackSourceConfig.cmake",
|
||||
"type": "shell",
|
||||
"args": [],
|
||||
"problemMatcher": [
|
||||
"$tsc"
|
||||
],
|
||||
"presentation": {
|
||||
"reveal": "always"
|
||||
},
|
||||
"group": "build"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,5 +1,29 @@
|
|||
cmake_minimum_required(VERSION 3.5.1)
|
||||
project(aasdk CXX)
|
||||
|
||||
if( TARGET_ARCH STREQUAL "amd64" )
|
||||
message("Building for amd64")
|
||||
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
|
||||
elseif( TARGET_ARCH STREQUAL "armhf" )
|
||||
message("Building for 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")
|
||||
else()
|
||||
message("Target Architecture not specified, 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)
|
||||
|
||||
find_program(CCACHE_PROGRAM ccache)
|
||||
if(CCACHE_PROGRAM)
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
|
||||
endif()
|
||||
|
||||
set(base_directory ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
set(sources_directory ${base_directory}/src)
|
||||
|
@ -25,6 +49,10 @@ 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(WIN32)
|
||||
set(WINSOCK2_LIBRARIES "ws2_32")
|
||||
endif(WIN32)
|
||||
|
@ -44,7 +72,6 @@ set(AASDK_PROTO_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR})
|
|||
|
||||
include_directories(${AASDK_PROTO_INCLUDE_DIRS}
|
||||
${Boost_INCLUDE_DIRS}
|
||||
${LIBUSB_1_INCLUDE_DIRS}
|
||||
${PROTOBUF_INCLUDE_DIR}
|
||||
${OPENSSL_INCLUDE_DIR}
|
||||
${GTEST_INCLUDE_DIRS}
|
||||
|
@ -66,12 +93,20 @@ add_library(aasdk SHARED
|
|||
add_dependencies(aasdk aasdk_proto)
|
||||
target_link_libraries(aasdk
|
||||
aasdk_proto
|
||||
libusb
|
||||
${Boost_LIBRARIES}
|
||||
${LIBUSB_1_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(AASDK_TEST)
|
||||
add_executable(aasdk_ut
|
||||
${tests_source_files}
|
||||
|
@ -89,3 +124,27 @@ 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_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")
|
||||
set(CPACK_COMPONENT_HEADERS_DESCRIPTION
|
||||
"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")
|
||||
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)
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
|
||||
# aasdk
|
||||
|
||||
### Support project
|
||||
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9YH2QCXZ3YZXJ)
|
||||
|
||||
For support of other platforms please contact me at f1xstudiopl@gmail.com
|
||||
|
||||
### Brief description
|
||||
C++ object-oriented library containing implementation of core AndroidAuto(tm) functionalities needed to build headunit software.
|
||||
|
||||
### Changes
|
||||
Added recent changes by the OpenDsh team
|
||||
|
||||
### Supported functionalities
|
||||
- AOAP (Android Open Accessory Protocol)
|
||||
- USB transport
|
||||
|
@ -42,4 +40,3 @@ Copyrights (c) 2018 f1x.studio (Michal Szwaj)
|
|||
- [Protocol buffers](https://developers.google.com/protocol-buffers/)
|
||||
- [OpenSSL](https://www.openssl.org/)
|
||||
- [Google test framework](https://github.com/google/googletest)
|
||||
|
||||
|
|
|
@ -16,20 +16,20 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "AVStreamTypeEnum.proto";
|
||||
import "AudioTypeEnum.proto";
|
||||
import "AudioConfigData.proto";
|
||||
import "VideoConfigData.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message AVChannel
|
||||
{
|
||||
enums.AVStreamType.Enum stream_type = 1;
|
||||
enums.AudioType.Enum audio_type = 2;
|
||||
required enums.AVStreamType.Enum stream_type = 1;
|
||||
optional enums.AudioType.Enum audio_type = 2;
|
||||
repeated AudioConfig audio_configs = 3;
|
||||
repeated VideoConfig video_configs = 4;
|
||||
bool available_while_in_call = 5;
|
||||
optional bool available_while_in_call = 5;
|
||||
}
|
||||
|
|
|
@ -16,16 +16,16 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.ids;
|
||||
package aasdk.proto.ids;
|
||||
|
||||
message AVChannelMessage
|
||||
{
|
||||
enum Enum
|
||||
{
|
||||
AV_MEDIA_WITH_TIMESTAMP_INDICATION = 0x0000;
|
||||
AV_MEDIA_INDICATION = 0x0001;
|
||||
AV_MEDIA_INDICATION = 0x0001;
|
||||
SETUP_REQUEST = 0x8000;
|
||||
START_INDICATION = 0x8001;
|
||||
STOP_INDICATION = 0x8002;
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message AVChannelSetupRequest
|
||||
{
|
||||
uint32 config_index = 1;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message AVChannelSetupRequest
|
||||
{
|
||||
required uint32 config_index = 1;
|
||||
}
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
import "AVChannelSetupStatusEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message AVChannelSetupResponse
|
||||
{
|
||||
required enums.AVChannelSetupStatus.Enum media_status = 1;
|
||||
required uint32 max_unacked = 2;
|
||||
repeated uint32 configs = 3;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
|
||||
message AVChannelSetupStatus
|
||||
{
|
||||
enum Enum
|
||||
{
|
||||
NONE = 0;
|
||||
FAIL = 1;
|
||||
OK = 2;
|
||||
}
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message AVChannelSetupStatus
|
||||
{
|
||||
enum Enum
|
||||
{
|
||||
NONE = 0;
|
||||
FAIL = 1;
|
||||
OK = 2;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message AVChannelStartIndication
|
||||
{
|
||||
int32 session = 1;
|
||||
uint32 config = 2;
|
||||
required int32 session = 1;
|
||||
required uint32 config = 2;
|
||||
}
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message AVChannelStopIndication
|
||||
{
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message AVChannelStopIndication
|
||||
{
|
||||
}
|
||||
|
|
|
@ -16,16 +16,16 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "AVStreamTypeEnum.proto";
|
||||
import "AudioConfigData.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message AVInputChannel
|
||||
{
|
||||
enums.AVStreamType.Enum stream_type = 1;
|
||||
AudioConfig audio_config = 2;
|
||||
bool available_while_in_call = 3;
|
||||
required enums.AVStreamType.Enum stream_type = 1;
|
||||
required AudioConfig audio_config = 2;
|
||||
optional bool available_while_in_call = 3;
|
||||
}
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message AVInputOpenRequest
|
||||
{
|
||||
bool open = 1;
|
||||
bool anc = 2;
|
||||
bool ec = 3;
|
||||
int32 max_unacked = 4;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message AVInputOpenResponse
|
||||
{
|
||||
required int32 session = 1;
|
||||
required uint32 value = 2;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message AVInputOpenResponse
|
||||
{
|
||||
required int32 session = 1;
|
||||
required uint32 value = 2;
|
||||
}
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message AVMediaAckIndication
|
||||
{
|
||||
required int32 session = 1;
|
||||
required uint32 value = 2;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message AVMediaAckIndication
|
||||
{
|
||||
required int32 session = 1;
|
||||
required uint32 value = 2;
|
||||
}
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
|
||||
message AVStreamType
|
||||
{
|
||||
enum Enum
|
||||
{
|
||||
NONE = 0;
|
||||
AUDIO = 1;
|
||||
VIDEO = 3;
|
||||
}
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message AVStreamType
|
||||
{
|
||||
enum Enum
|
||||
{
|
||||
NONE = 0;
|
||||
AUDIO = 1;
|
||||
VIDEO = 3;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
|
||||
message AbsoluteInputEvent
|
||||
{
|
||||
uint32 scan_code = 1;
|
||||
int32 value = 2;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.data;
|
||||
|
||||
message AbsoluteInputEvent
|
||||
{
|
||||
required uint32 scan_code = 1;
|
||||
required int32 value = 2;
|
||||
}
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
import "AbsoluteInputEventData.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
|
||||
message AbsoluteInputEvents
|
||||
{
|
||||
repeated AbsoluteInputEvent absolute_input_events = 1;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
import "AbsoluteInputEventData.proto";
|
||||
|
||||
package aasdk.proto.data;
|
||||
|
||||
message AbsoluteInputEvents
|
||||
{
|
||||
repeated AbsoluteInputEvent absolute_input_events = 1;
|
||||
}
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message Accel
|
||||
{
|
||||
int32 acceleration_x = 1;
|
||||
int32 acceleration_y = 2;
|
||||
int32 acceleration_z = 3;
|
||||
required int32 acceleration_x = 1;
|
||||
required int32 acceleration_y = 2;
|
||||
required int32 acceleration_z = 3;
|
||||
}
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message AudioConfig
|
||||
{
|
||||
uint32 sample_rate = 1;
|
||||
uint32 bit_depth = 2;
|
||||
uint32 channel_count = 3;
|
||||
required uint32 sample_rate = 1;
|
||||
required uint32 bit_depth = 2;
|
||||
required uint32 channel_count = 3;
|
||||
}
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "AudioFocusTypeEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message AudioFocusRequest
|
||||
{
|
||||
enums.AudioFocusType.Enum audio_focus_type = 1;
|
||||
required enums.AudioFocusType.Enum audio_focus_type = 1;
|
||||
}
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "AudioFocusStateEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message AudioFocusResponse
|
||||
{
|
||||
enums.AudioFocusState.Enum audio_focus_state = 1;
|
||||
required enums.AudioFocusState.Enum audio_focus_state = 1;
|
||||
}
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message AudioFocusState
|
||||
{
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message AudioFocusType
|
||||
{
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message AudioType
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ syntax="proto2";
|
|||
|
||||
import "StatusEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message AuthCompleteIndication
|
||||
{
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message BindingRequest
|
||||
{
|
||||
repeated int32 scan_codes = 1;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message BindingRequest
|
||||
{
|
||||
repeated int32 scan_codes = 1;
|
||||
}
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
import "StatusEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message BindingResponse
|
||||
{
|
||||
required enums.Status.Enum status = 1;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
import "StatusEnum.proto";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message BindingResponse
|
||||
{
|
||||
required enums.Status.Enum status = 1;
|
||||
}
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "BluetoothPairingMethodEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message BluetoothChannel
|
||||
{
|
||||
string adapter_address = 1;
|
||||
required string adapter_address = 1;
|
||||
repeated enums.BluetoothPairingMethod.Enum supported_pairing_methods = 2;
|
||||
}
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.ids;
|
||||
package aasdk.proto.ids;
|
||||
|
||||
message BluetoothChannelMessage
|
||||
{
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message BluetoothPairingMethod
|
||||
{
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "BluetoothPairingMethodEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message BluetoothPairingRequest
|
||||
{
|
||||
string phone_address = 1;
|
||||
enums.BluetoothPairingMethod.Enum pairing_method = 2;
|
||||
required string phone_address = 1;
|
||||
required enums.BluetoothPairingMethod.Enum pairing_method = 2;
|
||||
}
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "BluetoothPairingStatusEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message BluetoothPairingResponse
|
||||
{
|
||||
bool already_paired = 1;
|
||||
enums.BluetoothPairingStatus.Enum status = 2;
|
||||
required bool already_paired = 1;
|
||||
required enums.BluetoothPairingStatus.Enum status = 2;
|
||||
}
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message BluetoothPairingStatus
|
||||
{
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message ButtonCode
|
||||
{
|
||||
|
@ -42,6 +42,14 @@ message ButtonCode
|
|||
PREV = 0x58;
|
||||
PLAY = 0x7E;
|
||||
PAUSE = 0x7F;
|
||||
SCROLL_WHEEL = 65536;
|
||||
MUSIC = 0xD1;
|
||||
SCROLL_WHEEL = 0x10000;
|
||||
MEDIA = 0x10001;
|
||||
NAVIGATION = 0x10002;
|
||||
RADIO = 0x10003;
|
||||
TEL = 0x10004;
|
||||
PRIMARY_BUTTON = 0x10005;
|
||||
SECONDARY_BUTTON = 0x10006;
|
||||
TERTIARY_BUTTON = 0x10007;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
|
||||
message ButtonEvent
|
||||
{
|
||||
uint32 scan_code = 1;
|
||||
bool is_pressed = 2;
|
||||
uint32 meta = 3;
|
||||
bool long_press = 4;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
import "ButtonEventData.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
|
||||
message ButtonEvents
|
||||
{
|
||||
repeated ButtonEvent button_events = 1;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
import "ButtonEventData.proto";
|
||||
|
||||
package aasdk.proto.data;
|
||||
|
||||
message ButtonEvents
|
||||
{
|
||||
repeated ButtonEvent button_events = 1;
|
||||
}
|
||||
|
|
|
@ -7,3 +7,11 @@ 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 )
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
option optimize_for=SPEED;
|
||||
|
||||
import "SensorChannelData.proto";
|
||||
import "AVChannelData.proto";
|
||||
|
@ -25,17 +27,21 @@ import "AVInputChannelData.proto";
|
|||
import "BluetoothChannelData.proto";
|
||||
import "NavigationChannelData.proto";
|
||||
import "VendorExtensionChannelData.proto";
|
||||
import "MediaChannelData.proto";
|
||||
import "WifiChannelData.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message ChannelDescriptor
|
||||
{
|
||||
uint32 channel_id = 1;
|
||||
SensorChannel sensor_channel = 2;
|
||||
AVChannel av_channel = 3;
|
||||
InputChannel input_channel = 4;
|
||||
AVInputChannel av_input_channel = 5;
|
||||
BluetoothChannel bluetooth_channel = 6;
|
||||
NavigationChannel navigation_channel = 8;
|
||||
VendorExtensionChannel vendor_extension_channel = 12;
|
||||
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 NavigationChannel navigation_channel = 8;
|
||||
optional MediaInfoChannel media_infoChannel = 9;
|
||||
optional VendorExtensionChannel vendor_extension_channel = 12;
|
||||
optional WifiChannel wifi_channel=16;
|
||||
}
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message ChannelOpenRequest
|
||||
{
|
||||
int32 priority = 1;
|
||||
int32 channel_id = 2;
|
||||
required int32 priority = 1;
|
||||
required int32 channel_id = 2;
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ syntax="proto2";
|
|||
|
||||
import "StatusEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message ChannelOpenResponse
|
||||
{
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message Compass
|
||||
{
|
||||
int32 bearing =1;
|
||||
int32 pitch = 2;
|
||||
int32 roll = 3;
|
||||
required int32 bearing =1;
|
||||
required int32 pitch = 2;
|
||||
required int32 roll = 3;
|
||||
}
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.ids;
|
||||
package aasdk.proto.ids;
|
||||
|
||||
message ControlMessage
|
||||
{
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message Diagnostics
|
||||
{
|
||||
bytes diagnostics = 1;
|
||||
required bytes diagnostics = 1;
|
||||
}
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message Door
|
||||
{
|
||||
bool hood_open = 1;
|
||||
bool boot_open = 2;
|
||||
required bool hood_open = 1;
|
||||
required bool boot_open = 2;
|
||||
repeated bool door_open = 3;
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message DrivingStatus
|
||||
{
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message DrivingStatus
|
||||
{
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message Environment
|
||||
{
|
||||
int32 temperature =1;
|
||||
int32 pressure = 2;
|
||||
int32 rain = 3;
|
||||
required int32 temperature =1;
|
||||
required int32 pressure = 2;
|
||||
required int32 rain = 3;
|
||||
}
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message FuelLevel
|
||||
{
|
||||
int32 fuel_level = 1;
|
||||
int32 range = 2;
|
||||
bool low_fuel = 3;
|
||||
required int32 fuel_level = 1;
|
||||
required int32 range = 2;
|
||||
required bool low_fuel = 3;
|
||||
}
|
||||
|
|
|
@ -16,17 +16,17 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message GPSLocation
|
||||
{
|
||||
uint64 timestamp = 1;
|
||||
int32 latitude = 2;
|
||||
int32 longitude = 3;
|
||||
uint32 accuracy = 4;
|
||||
int32 altitude = 5;
|
||||
int32 speed = 6;
|
||||
int32 bearing = 7;
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "GearEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message Gear
|
||||
{
|
||||
enums.Gear.Enum gear = 1;
|
||||
required enums.Gear.Enum gear = 1;
|
||||
}
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message Gear
|
||||
{
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message Gyro
|
||||
{
|
||||
int32 rotation_speed_x = 1;
|
||||
int32 rotation_speed_y = 2;
|
||||
int32 rotation_speed_z = 3;
|
||||
required int32 rotation_speed_x = 1;
|
||||
required int32 rotation_speed_y = 2;
|
||||
required int32 rotation_speed_z = 3;
|
||||
}
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message HVAC
|
||||
{
|
||||
int32 target_temperature = 1;
|
||||
int32 current_temperature = 2;
|
||||
required int32 target_temperature = 1;
|
||||
required int32 current_temperature = 2;
|
||||
}
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message HeadlightStatus
|
||||
{
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message IndicatorStatus
|
||||
{
|
||||
|
|
|
@ -16,15 +16,15 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "TouchConfigData.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message InputChannel
|
||||
{
|
||||
repeated uint32 supported_keycodes = 1;
|
||||
TouchConfig touch_screen_config = 2;
|
||||
TouchConfig touch_pad_config = 3;
|
||||
optional TouchConfig touch_screen_config = 2;
|
||||
optional TouchConfig touch_pad_config = 3;
|
||||
}
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.ids;
|
||||
package aasdk.proto.ids;
|
||||
|
||||
message InputChannelMessage
|
||||
{
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
import "TouchEventData.proto";
|
||||
import "ButtonEventsData.proto";
|
||||
import "AbsoluteInputEventsData.proto";
|
||||
import "RelativeInputEventsData.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message InputEventIndication
|
||||
{
|
||||
uint64 timestamp = 1;
|
||||
int32 disp_channel = 2;
|
||||
data.TouchEvent touch_event = 3;
|
||||
data.ButtonEvents button_event = 4;
|
||||
data.AbsoluteInputEvents absolute_input_event = 5;
|
||||
data.RelativeInputEvents relative_input_event = 6;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -16,16 +16,16 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "HeadlightStatusEnum.proto";
|
||||
import "IndicatorStatusEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message Light
|
||||
{
|
||||
enums.HeadlightStatus.Enum headlight = 1;
|
||||
enums.IndicatorStatus.Enum indicator = 2;
|
||||
bool hazard_light_on = 3;
|
||||
required enums.HeadlightStatus.Enum headlight = 1;
|
||||
required enums.IndicatorStatus.Enum indicator = 2;
|
||||
required bool hazard_light_on = 3;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.data;
|
||||
|
||||
message MediaInfoChannel
|
||||
{
|
||||
|
||||
}
|
|
@ -16,15 +16,15 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "NavigationImageOptionsData.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message NavigationChannel
|
||||
{
|
||||
uint32 minimum_interval_ms = 1;
|
||||
uint32 type = 2;
|
||||
NavigationImageOptions image_options = 3;
|
||||
required uint32 minimum_interval_ms = 1;
|
||||
required uint32 type = 2;
|
||||
required NavigationImageOptions image_options = 3;
|
||||
}
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message NavigationFocusRequest
|
||||
{
|
||||
uint32 type = 1;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message NavigationFocusRequest
|
||||
{
|
||||
required uint32 type = 1;
|
||||
}
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message NavigationFocusResponse
|
||||
{
|
||||
uint32 type = 1;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message NavigationFocusResponse
|
||||
{
|
||||
required uint32 type = 1;
|
||||
}
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message NavigationImageOptions
|
||||
{
|
||||
int32 width = 1;
|
||||
int32 height = 2;
|
||||
int32 colour_depth_bits = 3;
|
||||
required int32 width = 1;
|
||||
required int32 height = 2;
|
||||
required int32 colour_depth_bits = 3;
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message NightMode
|
||||
{
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message Odometer
|
||||
{
|
||||
int32 total_mileage = 1;
|
||||
int32 trip_mileage = 2;
|
||||
required int32 total_mileage = 1;
|
||||
required int32 trip_mileage = 2;
|
||||
}
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message ParkingBrake
|
||||
{
|
||||
bool parking_brake = 1;
|
||||
required bool parking_brake = 1;
|
||||
}
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message Passenger
|
||||
{
|
||||
bool passenger_present = 1;
|
||||
required bool passenger_present = 1;
|
||||
}
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message PingRequest
|
||||
{
|
||||
int64 timestamp = 1;
|
||||
required int64 timestamp = 1;
|
||||
}
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message PingResponse
|
||||
{
|
||||
int64 timestamp = 1;
|
||||
required int64 timestamp = 1;
|
||||
}
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message RPM
|
||||
{
|
||||
int32 rpm = 1;
|
||||
required int32 rpm = 1;
|
||||
}
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
|
||||
message RelativeInputEvent
|
||||
{
|
||||
uint32 scan_code = 1;
|
||||
int32 delta = 2;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.data;
|
||||
|
||||
message RelativeInputEvent
|
||||
{
|
||||
required uint32 scan_code = 1;
|
||||
required int32 delta = 2;
|
||||
}
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
import "RelativeInputEventData.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
|
||||
message RelativeInputEvents
|
||||
{
|
||||
repeated RelativeInputEvent relative_input_events = 1;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
import "RelativeInputEventData.proto";
|
||||
|
||||
package aasdk.proto.data;
|
||||
|
||||
message RelativeInputEvents
|
||||
{
|
||||
repeated RelativeInputEvent relative_input_events = 1;
|
||||
}
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "SensorData.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message SensorChannel
|
||||
{
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.ids;
|
||||
package aasdk.proto.ids;
|
||||
|
||||
message SensorChannelMessage
|
||||
{
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "SensorTypeEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message Sensor
|
||||
{
|
||||
enums.SensorType.Enum type = 1;
|
||||
required enums.SensorType.Enum type = 1;
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "GPSLocationData.proto";
|
||||
import "CompassData.proto";
|
||||
|
@ -38,7 +38,7 @@ import "LightData.proto";
|
|||
import "AccelData.proto";
|
||||
import "GyroData.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message SensorEventIndication
|
||||
{
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
import "SensorTypeEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message SensorStartRequestMessage
|
||||
{
|
||||
enums.SensorType.Enum sensor_type = 1;
|
||||
int64 refresh_interval = 2;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
import "SensorTypeEnum.proto";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message SensorStartRequestMessage
|
||||
{
|
||||
required enums.SensorType.Enum sensor_type = 1;
|
||||
required int64 refresh_interval = 2;
|
||||
}
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
import "StatusEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message SensorStartResponseMessage
|
||||
{
|
||||
required enums.Status.Enum status = 1;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
import "StatusEnum.proto";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message SensorStartResponseMessage
|
||||
{
|
||||
required enums.Status.Enum status = 1;
|
||||
}
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message SensorType
|
||||
{
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message ServiceDiscoveryRequest
|
||||
{
|
||||
string device_name = 4;
|
||||
string device_brand = 5;
|
||||
required string device_name = 4;
|
||||
required string device_brand = 5;
|
||||
}
|
||||
|
|
|
@ -16,24 +16,24 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "ChannelDescriptorData.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message ServiceDiscoveryResponse
|
||||
{
|
||||
repeated data.ChannelDescriptor channels = 1;
|
||||
string head_unit_name = 2;
|
||||
string car_model = 3;
|
||||
string car_year = 4;
|
||||
string car_serial = 5;
|
||||
bool left_hand_drive_vehicle = 6;
|
||||
string headunit_manufacturer = 7;
|
||||
string headunit_model = 8;
|
||||
string sw_build = 9;
|
||||
string sw_version = 10;
|
||||
bool can_play_native_media_during_vr = 11;
|
||||
bool hide_clock = 12;
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
|
||||
message ShutdownReason
|
||||
{
|
||||
enum Enum
|
||||
{
|
||||
NONE = 0;
|
||||
QUIT = 1;
|
||||
}
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message ShutdownReason
|
||||
{
|
||||
enum Enum
|
||||
{
|
||||
NONE = 0;
|
||||
QUIT = 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
import "ShutdownReasonEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message ShutdownRequest
|
||||
{
|
||||
enums.ShutdownReason.Enum reason = 1;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
import "ShutdownReasonEnum.proto";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message ShutdownRequest
|
||||
{
|
||||
required enums.ShutdownReason.Enum reason = 1;
|
||||
}
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message ShutdownResponse
|
||||
{
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message ShutdownResponse
|
||||
{
|
||||
}
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message Speed
|
||||
{
|
||||
int32 speed = 1;
|
||||
bool cruise_engaged = 2;
|
||||
bool cruise_set_speed = 3;
|
||||
required int32 speed = 1;
|
||||
optional bool cruise_engaged = 2;
|
||||
optional bool cruise_set_speed = 3;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
/*
|
||||
* This file is part of aasdk library project.
|
||||
* Copyright (C) 2018 f1x.studio (Michal Szwaj)
|
||||
|
@ -16,15 +17,15 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message Status
|
||||
{
|
||||
enum Enum
|
||||
{
|
||||
OK = 0;
|
||||
OK = 0;
|
||||
FAIL = 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message SteeringWheel
|
||||
{
|
||||
int32 steering_angel = 1;
|
||||
int32 wheel_speed = 2;
|
||||
required int32 steering_angle = 1;
|
||||
required int32 wheel_speed = 2;
|
||||
}
|
||||
|
|
|
@ -1,31 +1,33 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
|
||||
message TouchAction
|
||||
{
|
||||
enum Enum
|
||||
{
|
||||
PRESS = 0;
|
||||
RELEASE = 1;
|
||||
DRAG = 2;
|
||||
}
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message TouchAction
|
||||
{
|
||||
enum Enum
|
||||
{
|
||||
PRESS = 0;
|
||||
RELEASE = 1;
|
||||
DRAG = 2;
|
||||
POINTER_DOWN = 5;
|
||||
POINTER_UP = 6;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message TouchConfig
|
||||
{
|
||||
uint32 width = 1;
|
||||
uint32 height = 2;
|
||||
required uint32 width = 1;
|
||||
required uint32 height = 2;
|
||||
}
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
import "TouchLocationData.proto";
|
||||
import "TouchActionEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
|
||||
message TouchEvent
|
||||
{
|
||||
repeated data.TouchLocation touch_location = 1;
|
||||
uint32 action_index = 2;
|
||||
enums.TouchAction.Enum touch_action = 3;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
|
||||
message TouchLocation
|
||||
{
|
||||
uint32 x = 1;
|
||||
uint32 y = 2;
|
||||
uint32 pointer_id = 3;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
package aasdk.proto.data;
|
||||
|
||||
message TouchLocation
|
||||
{
|
||||
required uint32 x = 1;
|
||||
required uint32 y = 2;
|
||||
required uint32 pointer_id = 3;
|
||||
}
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message VendorExtensionChannel
|
||||
{
|
||||
string name = 1;
|
||||
required string name = 1;
|
||||
repeated string package_white_list = 2;
|
||||
bytes data = 3;
|
||||
optional bytes data = 3;
|
||||
}
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message VersionResponseStatus
|
||||
{
|
||||
|
|
|
@ -16,19 +16,19 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
import "VideoResolutionEnum.proto";
|
||||
import "VideoFPSEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.data;
|
||||
package aasdk.proto.data;
|
||||
|
||||
message VideoConfig
|
||||
{
|
||||
enums.VideoResolution.Enum video_resolution = 1;
|
||||
enums.VideoFPS.Enum video_fps = 2;
|
||||
uint32 margin_width = 3;
|
||||
uint32 margin_height = 4;
|
||||
uint32 dpi = 5;
|
||||
uint32 additional_depth = 6;
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
syntax="proto2";
|
||||
|
||||
package f1x.aasdk.proto.enums;
|
||||
package aasdk.proto.enums;
|
||||
|
||||
message VideoFPS
|
||||
{
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto3";
|
||||
|
||||
import "VideoFocusModeEnum.proto";
|
||||
|
||||
package f1x.aasdk.proto.messages;
|
||||
|
||||
message VideoFocusIndication
|
||||
{
|
||||
enums.VideoFocusMode.Enum focus_mode = 1;
|
||||
bool unrequested = 2;
|
||||
}
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
syntax="proto2";
|
||||
|
||||
import "VideoFocusModeEnum.proto";
|
||||
|
||||
package aasdk.proto.messages;
|
||||
|
||||
message VideoFocusIndication
|
||||
{
|
||||
required enums.VideoFocusMode.Enum focus_mode = 1;
|
||||
required bool unrequested = 2;
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue