From 57853a571a38877b058bdea964ec9631e6b7af2c Mon Sep 17 00:00:00 2001 From: Emil Borconi-Szedressy Date: Wed, 3 Jul 2019 23:47:40 +0100 Subject: [PATCH] Add files via upload --- AVChannelData.proto | 35 +++++++++++++++ AVChannelMessageIdsEnum.proto | 39 ++++++++++++++++ AVChannelSetupRequestMessage.proto | 26 +++++++++++ AVChannelSetupResponseMessage.proto | 30 +++++++++++++ AVChannelSetupStatusEnum.proto | 31 +++++++++++++ AVChannelStartIndicationMessage.proto | 27 +++++++++++ AVChannelStopIndicationMessage.proto | 25 +++++++++++ AVInputChannelData.proto | 31 +++++++++++++ AVInputOpenRequestMessage.proto | 29 ++++++++++++ AVInputOpenResponseMessage.proto | 27 +++++++++++ AVMediaAckIndicationMessage.proto | 27 +++++++++++ AVStreamTypeEnum.proto | 31 +++++++++++++ AbsoluteInputEventData.proto | 27 +++++++++++ AbsoluteInputEventsData.proto | 28 ++++++++++++ AccelData.proto | 28 ++++++++++++ AudioConfigData.proto | 28 ++++++++++++ AudioFocusRequestMessage.proto | 28 ++++++++++++ AudioFocusResponseMessage.proto | 28 ++++++++++++ AudioFocusStateEnum.proto | 36 +++++++++++++++ AudioFocusTypeEnum.proto | 33 ++++++++++++++ AudioTypeEnum.proto | 33 ++++++++++++++ AuthCompleteIndicationMessage.proto | 28 ++++++++++++ BindingRequestMessage.proto | 26 +++++++++++ BindingResponseMessage.proto | 28 ++++++++++++ BluetoothChannelData.proto | 29 ++++++++++++ BluetoothChannelMessageIdsEnum.proto | 33 ++++++++++++++ BluetoothPairingMethodEnum.proto | 33 ++++++++++++++ BluetoothPairingRequestMessage.proto | 29 ++++++++++++ BluetoothPairingResponseMessage.proto | 29 ++++++++++++ BluetoothPairingStatusEnum.proto | 31 +++++++++++++ ButtonCodeEnum.proto | 47 ++++++++++++++++++++ ButtonEventData.proto | 29 ++++++++++++ ButtonEventsData.proto | 28 ++++++++++++ ChannelDescriptorData.proto | 41 +++++++++++++++++ ChannelOpenRequestMessage.proto | 27 +++++++++++ ChannelOpenResponseMessage.proto | 28 ++++++++++++ CompassData.proto | 28 ++++++++++++ ControlMessageIdsEnum.proto | 46 +++++++++++++++++++ DiagnosticsData.proto | 26 +++++++++++ DoorData.proto | 28 ++++++++++++ DrivingStatusData.proto | 26 +++++++++++ DrivingStatusEnum.proto | 35 +++++++++++++++ EnvironmentData.proto | 28 ++++++++++++ FuelLevelData.proto | 28 ++++++++++++ GPSLocationData.proto | 32 ++++++++++++++ GearData.proto | 28 ++++++++++++ GearEnum.proto | 42 ++++++++++++++++++ GyroData.proto | 28 ++++++++++++ HVACData.proto | 27 +++++++++++ HeadlightStatusEnum.proto | 32 ++++++++++++++ IndicatorStatusEnum.proto | 32 ++++++++++++++ InputChannelData.proto | 30 +++++++++++++ InputChannelMessageIdsEnum.proto | 32 ++++++++++++++ InputEventIndicationMessage.proto | 36 +++++++++++++++ LightData.proto | 31 +++++++++++++ NavigationChannelData.proto | 30 +++++++++++++ NavigationFocusRequestMessage.proto | 26 +++++++++++ NavigationFocusResponseMessage.proto | 26 +++++++++++ NavigationImageOptionsData.proto | 28 ++++++++++++ NightModeData.proto | 26 +++++++++++ OdometerData.proto | 27 +++++++++++ ParkingBrakeData.proto | 26 +++++++++++ PassengerData.proto | 26 +++++++++++ PingRequestMessage.proto | 26 +++++++++++ PingResponseMessage.proto | 26 +++++++++++ RPMData.proto | 26 +++++++++++ RelativeInputEventData.proto | 27 +++++++++++ RelativeInputEventsData.proto | 28 ++++++++++++ SensorChannelData.proto | 28 ++++++++++++ SensorChannelMessageIdsEnum.proto | 32 ++++++++++++++ SensorData.proto | 28 ++++++++++++ SensorEventIndicationMessage.proto | 64 +++++++++++++++++++++++++++ SensorStartRequestMessage.proto | 29 ++++++++++++ SensorStartResponseMessage.proto | 28 ++++++++++++ SensorTypeEnum.proto | 50 +++++++++++++++++++++ ServiceDiscoveryRequestMessage.proto | 27 +++++++++++ ServiceDiscoveryResponseMessage.proto | 39 ++++++++++++++++ ShutdownReasonEnum.proto | 30 +++++++++++++ ShutdownRequestMessage.proto | 28 ++++++++++++ ShutdownResponseMessage.proto | 25 +++++++++++ SpeedData.proto | 28 ++++++++++++ StatusEnum.proto | 30 +++++++++++++ SteeringWheelData.proto | 27 +++++++++++ TouchActionEnum.proto | 31 +++++++++++++ TouchConfigData.proto | 27 +++++++++++ TouchEventData.proto | 31 +++++++++++++ TouchLocationData.proto | 28 ++++++++++++ VendorExtensionChannelData.proto | 28 ++++++++++++ VersionResponseStatusEnum.proto | 30 +++++++++++++ VideoConfigData.proto | 34 ++++++++++++++ VideoFPSEnum.proto | 31 +++++++++++++ VideoFocusIndicationMessage.proto | 29 ++++++++++++ VideoFocusModeEnum.proto | 31 +++++++++++++ VideoFocusReasonEnum.proto | 31 +++++++++++++ VideoFocusRequestMessage.proto | 31 +++++++++++++ VideoResolutionEnum.proto | 32 ++++++++++++++ gen.bat | 3 ++ 97 files changed, 2926 insertions(+) create mode 100644 AVChannelData.proto create mode 100644 AVChannelMessageIdsEnum.proto create mode 100644 AVChannelSetupRequestMessage.proto create mode 100644 AVChannelSetupResponseMessage.proto create mode 100644 AVChannelSetupStatusEnum.proto create mode 100644 AVChannelStartIndicationMessage.proto create mode 100644 AVChannelStopIndicationMessage.proto create mode 100644 AVInputChannelData.proto create mode 100644 AVInputOpenRequestMessage.proto create mode 100644 AVInputOpenResponseMessage.proto create mode 100644 AVMediaAckIndicationMessage.proto create mode 100644 AVStreamTypeEnum.proto create mode 100644 AbsoluteInputEventData.proto create mode 100644 AbsoluteInputEventsData.proto create mode 100644 AccelData.proto create mode 100644 AudioConfigData.proto create mode 100644 AudioFocusRequestMessage.proto create mode 100644 AudioFocusResponseMessage.proto create mode 100644 AudioFocusStateEnum.proto create mode 100644 AudioFocusTypeEnum.proto create mode 100644 AudioTypeEnum.proto create mode 100644 AuthCompleteIndicationMessage.proto create mode 100644 BindingRequestMessage.proto create mode 100644 BindingResponseMessage.proto create mode 100644 BluetoothChannelData.proto create mode 100644 BluetoothChannelMessageIdsEnum.proto create mode 100644 BluetoothPairingMethodEnum.proto create mode 100644 BluetoothPairingRequestMessage.proto create mode 100644 BluetoothPairingResponseMessage.proto create mode 100644 BluetoothPairingStatusEnum.proto create mode 100644 ButtonCodeEnum.proto create mode 100644 ButtonEventData.proto create mode 100644 ButtonEventsData.proto create mode 100644 ChannelDescriptorData.proto create mode 100644 ChannelOpenRequestMessage.proto create mode 100644 ChannelOpenResponseMessage.proto create mode 100644 CompassData.proto create mode 100644 ControlMessageIdsEnum.proto create mode 100644 DiagnosticsData.proto create mode 100644 DoorData.proto create mode 100644 DrivingStatusData.proto create mode 100644 DrivingStatusEnum.proto create mode 100644 EnvironmentData.proto create mode 100644 FuelLevelData.proto create mode 100644 GPSLocationData.proto create mode 100644 GearData.proto create mode 100644 GearEnum.proto create mode 100644 GyroData.proto create mode 100644 HVACData.proto create mode 100644 HeadlightStatusEnum.proto create mode 100644 IndicatorStatusEnum.proto create mode 100644 InputChannelData.proto create mode 100644 InputChannelMessageIdsEnum.proto create mode 100644 InputEventIndicationMessage.proto create mode 100644 LightData.proto create mode 100644 NavigationChannelData.proto create mode 100644 NavigationFocusRequestMessage.proto create mode 100644 NavigationFocusResponseMessage.proto create mode 100644 NavigationImageOptionsData.proto create mode 100644 NightModeData.proto create mode 100644 OdometerData.proto create mode 100644 ParkingBrakeData.proto create mode 100644 PassengerData.proto create mode 100644 PingRequestMessage.proto create mode 100644 PingResponseMessage.proto create mode 100644 RPMData.proto create mode 100644 RelativeInputEventData.proto create mode 100644 RelativeInputEventsData.proto create mode 100644 SensorChannelData.proto create mode 100644 SensorChannelMessageIdsEnum.proto create mode 100644 SensorData.proto create mode 100644 SensorEventIndicationMessage.proto create mode 100644 SensorStartRequestMessage.proto create mode 100644 SensorStartResponseMessage.proto create mode 100644 SensorTypeEnum.proto create mode 100644 ServiceDiscoveryRequestMessage.proto create mode 100644 ServiceDiscoveryResponseMessage.proto create mode 100644 ShutdownReasonEnum.proto create mode 100644 ShutdownRequestMessage.proto create mode 100644 ShutdownResponseMessage.proto create mode 100644 SpeedData.proto create mode 100644 StatusEnum.proto create mode 100644 SteeringWheelData.proto create mode 100644 TouchActionEnum.proto create mode 100644 TouchConfigData.proto create mode 100644 TouchEventData.proto create mode 100644 TouchLocationData.proto create mode 100644 VendorExtensionChannelData.proto create mode 100644 VersionResponseStatusEnum.proto create mode 100644 VideoConfigData.proto create mode 100644 VideoFPSEnum.proto create mode 100644 VideoFocusIndicationMessage.proto create mode 100644 VideoFocusModeEnum.proto create mode 100644 VideoFocusReasonEnum.proto create mode 100644 VideoFocusRequestMessage.proto create mode 100644 VideoResolutionEnum.proto create mode 100644 gen.bat diff --git a/AVChannelData.proto b/AVChannelData.proto new file mode 100644 index 0000000..ada297c --- /dev/null +++ b/AVChannelData.proto @@ -0,0 +1,35 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +import "AVStreamTypeEnum.proto"; +import "AudioTypeEnum.proto"; +import "AudioConfigData.proto"; +import "VideoConfigData.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message AVChannel +{ + enums.AVStreamType.Enum stream_type = 1; + enums.AudioType.Enum audio_type = 2; + repeated AudioConfig audio_configs = 3; + repeated VideoConfig video_configs = 4; + bool available_while_in_call = 5; +} diff --git a/AVChannelMessageIdsEnum.proto b/AVChannelMessageIdsEnum.proto new file mode 100644 index 0000000..85c7b83 --- /dev/null +++ b/AVChannelMessageIdsEnum.proto @@ -0,0 +1,39 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.ids; + +message AVChannelMessage +{ + enum Enum + { + AV_MEDIA_WITH_TIMESTAMP_INDICATION = 0x0000; + AV_MEDIA_INDICATION = 0x0001; + SETUP_REQUEST = 0x8000; + START_INDICATION = 0x8001; + STOP_INDICATION = 0x8002; + SETUP_RESPONSE = 0x8003; + AV_MEDIA_ACK_INDICATION = 0x8004; + AV_INPUT_OPEN_REQUEST = 0x8005; + AV_INPUT_OPEN_RESPONSE = 0x8006; + VIDEO_FOCUS_REQUEST = 0x8007; + VIDEO_FOCUS_INDICATION = 0x8008; + } +} diff --git a/AVChannelSetupRequestMessage.proto b/AVChannelSetupRequestMessage.proto new file mode 100644 index 0000000..8d4510d --- /dev/null +++ b/AVChannelSetupRequestMessage.proto @@ -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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message AVChannelSetupRequest +{ + uint32 config_index = 1; +} diff --git a/AVChannelSetupResponseMessage.proto b/AVChannelSetupResponseMessage.proto new file mode 100644 index 0000000..f9bc325 --- /dev/null +++ b/AVChannelSetupResponseMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto2"; + +import "AVChannelSetupStatusEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message AVChannelSetupResponse +{ + required enums.AVChannelSetupStatus.Enum media_status = 1; + required uint32 max_unacked = 2; + repeated uint32 configs = 3; +} diff --git a/AVChannelSetupStatusEnum.proto b/AVChannelSetupStatusEnum.proto new file mode 100644 index 0000000..b5bc6a2 --- /dev/null +++ b/AVChannelSetupStatusEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message AVChannelSetupStatus +{ + enum Enum + { + NONE = 0; + FAIL = 1; + OK = 2; + } +} diff --git a/AVChannelStartIndicationMessage.proto b/AVChannelStartIndicationMessage.proto new file mode 100644 index 0000000..c45cb74 --- /dev/null +++ b/AVChannelStartIndicationMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message AVChannelStartIndication +{ + int32 session = 1; + uint32 config = 2; +} diff --git a/AVChannelStopIndicationMessage.proto b/AVChannelStopIndicationMessage.proto new file mode 100644 index 0000000..bb7897d --- /dev/null +++ b/AVChannelStopIndicationMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message AVChannelStopIndication +{ +} diff --git a/AVInputChannelData.proto b/AVInputChannelData.proto new file mode 100644 index 0000000..432eb05 --- /dev/null +++ b/AVInputChannelData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "AVStreamTypeEnum.proto"; +import "AudioConfigData.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message AVInputChannel +{ + enums.AVStreamType.Enum stream_type = 1; + AudioConfig audio_config = 2; + bool available_while_in_call = 3; +} diff --git a/AVInputOpenRequestMessage.proto b/AVInputOpenRequestMessage.proto new file mode 100644 index 0000000..0c242fa --- /dev/null +++ b/AVInputOpenRequestMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message AVInputOpenRequest +{ + bool open = 1; + bool anc = 2; + bool ec = 3; + int32 max_unacked = 4; +} diff --git a/AVInputOpenResponseMessage.proto b/AVInputOpenResponseMessage.proto new file mode 100644 index 0000000..fbfbd5e --- /dev/null +++ b/AVInputOpenResponseMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto2"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message AVInputOpenResponse +{ + required int32 session = 1; + required uint32 value = 2; +} diff --git a/AVMediaAckIndicationMessage.proto b/AVMediaAckIndicationMessage.proto new file mode 100644 index 0000000..52fc32c --- /dev/null +++ b/AVMediaAckIndicationMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto2"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message AVMediaAckIndication +{ + required int32 session = 1; + required uint32 value = 2; +} diff --git a/AVStreamTypeEnum.proto b/AVStreamTypeEnum.proto new file mode 100644 index 0000000..22f4b31 --- /dev/null +++ b/AVStreamTypeEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message AVStreamType +{ + enum Enum + { + NONE = 0; + AUDIO = 1; + VIDEO = 3; + } +} diff --git a/AbsoluteInputEventData.proto b/AbsoluteInputEventData.proto new file mode 100644 index 0000000..03dfce0 --- /dev/null +++ b/AbsoluteInputEventData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message AbsoluteInputEvent +{ + uint32 scan_code = 1; + int32 value = 2; +} diff --git a/AbsoluteInputEventsData.proto b/AbsoluteInputEventsData.proto new file mode 100644 index 0000000..0bd47ad --- /dev/null +++ b/AbsoluteInputEventsData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "AbsoluteInputEventData.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message AbsoluteInputEvents +{ + repeated AbsoluteInputEvent absolute_input_events = 1; +} diff --git a/AccelData.proto b/AccelData.proto new file mode 100644 index 0000000..c6a0d97 --- /dev/null +++ b/AccelData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message Accel +{ + int32 acceleration_x = 1; + int32 acceleration_y = 2; + int32 acceleration_z = 3; +} diff --git a/AudioConfigData.proto b/AudioConfigData.proto new file mode 100644 index 0000000..63d2f85 --- /dev/null +++ b/AudioConfigData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message AudioConfig +{ + uint32 sample_rate = 1; + uint32 bit_depth = 2; + uint32 channel_count = 3; +} diff --git a/AudioFocusRequestMessage.proto b/AudioFocusRequestMessage.proto new file mode 100644 index 0000000..13ca72c --- /dev/null +++ b/AudioFocusRequestMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "AudioFocusTypeEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message AudioFocusRequest +{ + enums.AudioFocusType.Enum audio_focus_type = 1; +} diff --git a/AudioFocusResponseMessage.proto b/AudioFocusResponseMessage.proto new file mode 100644 index 0000000..efd1934 --- /dev/null +++ b/AudioFocusResponseMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "AudioFocusStateEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message AudioFocusResponse +{ + enums.AudioFocusState.Enum audio_focus_state = 1; +} diff --git a/AudioFocusStateEnum.proto b/AudioFocusStateEnum.proto new file mode 100644 index 0000000..f195053 --- /dev/null +++ b/AudioFocusStateEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message AudioFocusState +{ + enum Enum + { + NONE = 0; + GAIN = 1; + GAIN_TRANSIENT = 2; + LOSS = 3; + LOSS_TRANSIENT_CAN_DUCK = 4; + LOSS_TRANSIENT = 5; + GAIN_MEDIA_ONLY = 6; + GAIN_TRANSIENT_GUIDANCE_ONLY = 7; + } +} diff --git a/AudioFocusTypeEnum.proto b/AudioFocusTypeEnum.proto new file mode 100644 index 0000000..a44b7a3 --- /dev/null +++ b/AudioFocusTypeEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message AudioFocusType +{ + enum Enum + { + NONE = 0; + GAIN = 1; + GAIN_TRANSIENT = 2; + GAIN_NAVI = 3; + RELEASE = 4; + } +} diff --git a/AudioTypeEnum.proto b/AudioTypeEnum.proto new file mode 100644 index 0000000..5e57ede --- /dev/null +++ b/AudioTypeEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message AudioType +{ + enum Enum + { + NONE = 0; + SPEECH = 1; + SYSTEM = 2; + MEDIA = 3; + ALARM = 4; + } +} diff --git a/AuthCompleteIndicationMessage.proto b/AuthCompleteIndicationMessage.proto new file mode 100644 index 0000000..ea2aeed --- /dev/null +++ b/AuthCompleteIndicationMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto2"; + +import "StatusEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message AuthCompleteIndication +{ + required enums.Status.Enum status = 1; +} diff --git a/BindingRequestMessage.proto b/BindingRequestMessage.proto new file mode 100644 index 0000000..694f72a --- /dev/null +++ b/BindingRequestMessage.proto @@ -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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message BindingRequest +{ + repeated int32 scan_codes = 1; +} diff --git a/BindingResponseMessage.proto b/BindingResponseMessage.proto new file mode 100644 index 0000000..35b1c87 --- /dev/null +++ b/BindingResponseMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto2"; + +import "StatusEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message BindingResponse +{ + required enums.Status.Enum status = 1; +} diff --git a/BluetoothChannelData.proto b/BluetoothChannelData.proto new file mode 100644 index 0000000..af74d04 --- /dev/null +++ b/BluetoothChannelData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "BluetoothPairingMethodEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message BluetoothChannel +{ + string adapter_address = 1; + repeated enums.BluetoothPairingMethod.Enum supported_pairing_methods = 2; +} diff --git a/BluetoothChannelMessageIdsEnum.proto b/BluetoothChannelMessageIdsEnum.proto new file mode 100644 index 0000000..2188334 --- /dev/null +++ b/BluetoothChannelMessageIdsEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.ids; + +message BluetoothChannelMessage +{ + enum Enum + { + NONE = 0x0000; + PAIRING_REQUEST = 0x8001; + PAIRING_RESPONSE = 0x8002; + AUTH_DATA = 0x8003; + } +} + diff --git a/BluetoothPairingMethodEnum.proto b/BluetoothPairingMethodEnum.proto new file mode 100644 index 0000000..299a746 --- /dev/null +++ b/BluetoothPairingMethodEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message BluetoothPairingMethod +{ + enum Enum + { + NONE = 0; + UNK_1 = 1; + A2DP = 2; + UNK_3 = 3; + HFP = 4; + } +} diff --git a/BluetoothPairingRequestMessage.proto b/BluetoothPairingRequestMessage.proto new file mode 100644 index 0000000..30f63ba --- /dev/null +++ b/BluetoothPairingRequestMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "BluetoothPairingMethodEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message BluetoothPairingRequest +{ + string phone_address = 1; + enums.BluetoothPairingMethod.Enum pairing_method = 2; +} diff --git a/BluetoothPairingResponseMessage.proto b/BluetoothPairingResponseMessage.proto new file mode 100644 index 0000000..94af3d1 --- /dev/null +++ b/BluetoothPairingResponseMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "BluetoothPairingStatusEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message BluetoothPairingResponse +{ + bool already_paired = 1; + enums.BluetoothPairingStatus.Enum status = 2; +} diff --git a/BluetoothPairingStatusEnum.proto b/BluetoothPairingStatusEnum.proto new file mode 100644 index 0000000..449027e --- /dev/null +++ b/BluetoothPairingStatusEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message BluetoothPairingStatus +{ + enum Enum + { + NONE = 0; + OK = 1; + FAIL = 2; + } +} diff --git a/ButtonCodeEnum.proto b/ButtonCodeEnum.proto new file mode 100644 index 0000000..483f60c --- /dev/null +++ b/ButtonCodeEnum.proto @@ -0,0 +1,47 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message ButtonCode +{ + enum Enum + { + NONE = 0x00; + MICROPHONE_2 = 0x01; + MENU = 0x02; + HOME = 0x03; + BACK = 0x04; + PHONE = 0x05; + CALL_END = 0x06; + UP = 0x13; + DOWN = 0x14; + LEFT = 0x15; + RIGHT = 0x16; + ENTER = 0x17; + MICROPHONE_1 = 0x54; + TOGGLE_PLAY = 0x55; + NEXT = 0x57; + PREV = 0x58; + PLAY = 0x7E; + PAUSE = 0x7F; + SCROLL_WHEEL = 65536; + } +} diff --git a/ButtonEventData.proto b/ButtonEventData.proto new file mode 100644 index 0000000..c90149f --- /dev/null +++ b/ButtonEventData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message ButtonEvent +{ + uint32 scan_code = 1; + bool is_pressed = 2; + uint32 meta = 3; + bool long_press = 4; +} diff --git a/ButtonEventsData.proto b/ButtonEventsData.proto new file mode 100644 index 0000000..64fe962 --- /dev/null +++ b/ButtonEventsData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "ButtonEventData.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message ButtonEvents +{ + repeated ButtonEvent button_events = 1; +} diff --git a/ChannelDescriptorData.proto b/ChannelDescriptorData.proto new file mode 100644 index 0000000..5d0501e --- /dev/null +++ b/ChannelDescriptorData.proto @@ -0,0 +1,41 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +import "SensorChannelData.proto"; +import "AVChannelData.proto"; +import "InputChannelData.proto"; +import "AVInputChannelData.proto"; +import "BluetoothChannelData.proto"; +import "NavigationChannelData.proto"; +import "VendorExtensionChannelData.proto"; + +package uk.co.borconi.emil.aagateway.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; +} diff --git a/ChannelOpenRequestMessage.proto b/ChannelOpenRequestMessage.proto new file mode 100644 index 0000000..c91875a --- /dev/null +++ b/ChannelOpenRequestMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message ChannelOpenRequest +{ + int32 priority = 1; + int32 channel_id = 2; +} diff --git a/ChannelOpenResponseMessage.proto b/ChannelOpenResponseMessage.proto new file mode 100644 index 0000000..e526872 --- /dev/null +++ b/ChannelOpenResponseMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto2"; + +import "StatusEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message ChannelOpenResponse +{ + required enums.Status.Enum status = 1; +} diff --git a/CompassData.proto b/CompassData.proto new file mode 100644 index 0000000..9101a23 --- /dev/null +++ b/CompassData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message Compass +{ + int32 bearing =1; + int32 pitch = 2; + int32 roll = 3; +} diff --git a/ControlMessageIdsEnum.proto b/ControlMessageIdsEnum.proto new file mode 100644 index 0000000..3c413aa --- /dev/null +++ b/ControlMessageIdsEnum.proto @@ -0,0 +1,46 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.ids; + +message ControlMessage +{ + enum Enum + { + NONE = 0x0000; + VERSION_REQUEST = 0x0001; + VERSION_RESPONSE = 0x0002; + SSL_HANDSHAKE = 0x0003; + AUTH_COMPLETE = 0x0004; + SERVICE_DISCOVERY_REQUEST = 0x0005; + SERVICE_DISCOVERY_RESPONSE = 0x0006; + CHANNEL_OPEN_REQUEST = 0x0007; + CHANNEL_OPEN_RESPONSE = 0x0008; + PING_REQUEST = 0x000b; + PING_RESPONSE = 0x000c; + NAVIGATION_FOCUS_REQUEST = 0x000d; + NAVIGATION_FOCUS_RESPONSE = 0x000e; + SHUTDOWN_REQUEST = 0x000f; + SHUTDOWN_RESPONSE = 0x0010; + VOICE_SESSION_REQUEST = 0x0011; + AUDIO_FOCUS_REQUEST = 0x0012; + AUDIO_FOCUS_RESPONSE = 0x0013; + } +} diff --git a/DiagnosticsData.proto b/DiagnosticsData.proto new file mode 100644 index 0000000..c2acde1 --- /dev/null +++ b/DiagnosticsData.proto @@ -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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message Diagnostics +{ + bytes diagnostics = 1; +} diff --git a/DoorData.proto b/DoorData.proto new file mode 100644 index 0000000..eb2fe87 --- /dev/null +++ b/DoorData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message Door +{ + bool hood_open = 1; + bool boot_open = 2; + repeated bool door_open = 3; +} diff --git a/DrivingStatusData.proto b/DrivingStatusData.proto new file mode 100644 index 0000000..5c37c8e --- /dev/null +++ b/DrivingStatusData.proto @@ -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 . +*/ + +syntax="proto2"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message DrivingStatus +{ + required int32 status = 1; +} diff --git a/DrivingStatusEnum.proto b/DrivingStatusEnum.proto new file mode 100644 index 0000000..918ecf8 --- /dev/null +++ b/DrivingStatusEnum.proto @@ -0,0 +1,35 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message DrivingStatus +{ + enum Enum + { + UNRESTRICTED = 0; + NO_VIDEO = 1; + NO_KEYBOARD_INPUT = 2; + NO_VOICE_INPUT = 4; + NO_CONFIG = 8; + LIMIT_MESSAGE_LEN = 16; + FULLY_RESTRICTED = 31; + } +} diff --git a/EnvironmentData.proto b/EnvironmentData.proto new file mode 100644 index 0000000..22cca39 --- /dev/null +++ b/EnvironmentData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message Environment +{ + int32 temperature =1; + int32 pressure = 2; + int32 rain = 3; +} diff --git a/FuelLevelData.proto b/FuelLevelData.proto new file mode 100644 index 0000000..e2b871f --- /dev/null +++ b/FuelLevelData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message FuelLevel +{ + int32 fuel_level = 1; + int32 range = 2; + bool low_fuel = 3; +} diff --git a/GPSLocationData.proto b/GPSLocationData.proto new file mode 100644 index 0000000..e63521c --- /dev/null +++ b/GPSLocationData.proto @@ -0,0 +1,32 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.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; +} diff --git a/GearData.proto b/GearData.proto new file mode 100644 index 0000000..fe98037 --- /dev/null +++ b/GearData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "GearEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message Gear +{ + enums.Gear.Enum gear = 1; +} diff --git a/GearEnum.proto b/GearEnum.proto new file mode 100644 index 0000000..8a81836 --- /dev/null +++ b/GearEnum.proto @@ -0,0 +1,42 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message Gear +{ + enum Enum + { + NEUTRAL = 0; + FIRST = 1; + SECOND = 2; + THIRD = 3; + FOURTH = 4; + FIFTH = 5; + SIXTH = 6; + SEVENTH = 7; + EIGHTH = 8; + NINTH = 9; + TENTH = 10; + DRIVE = 100; + PARK = 101; + REVERSE = 102; + } +} diff --git a/GyroData.proto b/GyroData.proto new file mode 100644 index 0000000..bdc41da --- /dev/null +++ b/GyroData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message Gyro +{ + int32 rotation_speed_x = 1; + int32 rotation_speed_y = 2; + int32 rotation_speed_z = 3; +} diff --git a/HVACData.proto b/HVACData.proto new file mode 100644 index 0000000..53d2ed7 --- /dev/null +++ b/HVACData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message HVAC +{ + int32 target_temperature = 1; + int32 current_temperature = 2; +} diff --git a/HeadlightStatusEnum.proto b/HeadlightStatusEnum.proto new file mode 100644 index 0000000..69981a5 --- /dev/null +++ b/HeadlightStatusEnum.proto @@ -0,0 +1,32 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message HeadlightStatus +{ + enum Enum + { + STATE_0 = 0; + STATE_1 = 1; + STATE_2 = 2; + STATE_3 = 3; + } +} diff --git a/IndicatorStatusEnum.proto b/IndicatorStatusEnum.proto new file mode 100644 index 0000000..aad2266 --- /dev/null +++ b/IndicatorStatusEnum.proto @@ -0,0 +1,32 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message IndicatorStatus +{ + enum Enum + { + STATE_0 = 0; + STATE_1 = 1; + STATE_2 = 2; + STATE_3 = 3; + } +} diff --git a/InputChannelData.proto b/InputChannelData.proto new file mode 100644 index 0000000..dc60ceb --- /dev/null +++ b/InputChannelData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "TouchConfigData.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message InputChannel +{ + repeated uint32 supported_keycodes = 1; + TouchConfig touch_screen_config = 2; + TouchConfig touch_pad_config = 3; +} diff --git a/InputChannelMessageIdsEnum.proto b/InputChannelMessageIdsEnum.proto new file mode 100644 index 0000000..595defe --- /dev/null +++ b/InputChannelMessageIdsEnum.proto @@ -0,0 +1,32 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.ids; + +message InputChannelMessage +{ + enum Enum + { + NONE = 0x0000; + INPUT_EVENT_INDICATION = 0x8001; + BINDING_REQUEST = 0x8002; + BINDING_RESPONSE = 0x8003; + } +} diff --git a/InputEventIndicationMessage.proto b/InputEventIndicationMessage.proto new file mode 100644 index 0000000..a0bb66b --- /dev/null +++ b/InputEventIndicationMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "TouchEventData.proto"; +import "ButtonEventsData.proto"; +import "AbsoluteInputEventsData.proto"; +import "RelativeInputEventsData.proto"; + +package uk.co.borconi.emil.aagateway.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; +} diff --git a/LightData.proto b/LightData.proto new file mode 100644 index 0000000..3ce5ed9 --- /dev/null +++ b/LightData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "HeadlightStatusEnum.proto"; +import "IndicatorStatusEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message Light +{ + enums.HeadlightStatus.Enum headlight = 1; + enums.IndicatorStatus.Enum indicator = 2; + bool hazard_light_on = 3; +} diff --git a/NavigationChannelData.proto b/NavigationChannelData.proto new file mode 100644 index 0000000..ce7a0ad --- /dev/null +++ b/NavigationChannelData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "NavigationImageOptionsData.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message NavigationChannel +{ + uint32 minimum_interval_ms = 1; + uint32 type = 2; + NavigationImageOptions image_options = 3; +} diff --git a/NavigationFocusRequestMessage.proto b/NavigationFocusRequestMessage.proto new file mode 100644 index 0000000..a276e87 --- /dev/null +++ b/NavigationFocusRequestMessage.proto @@ -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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message NavigationFocusRequest +{ + uint32 type = 1; +} diff --git a/NavigationFocusResponseMessage.proto b/NavigationFocusResponseMessage.proto new file mode 100644 index 0000000..3c7c6de --- /dev/null +++ b/NavigationFocusResponseMessage.proto @@ -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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message NavigationFocusResponse +{ + uint32 type = 1; +} diff --git a/NavigationImageOptionsData.proto b/NavigationImageOptionsData.proto new file mode 100644 index 0000000..b3fdb3c --- /dev/null +++ b/NavigationImageOptionsData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message NavigationImageOptions +{ + int32 width = 1; + int32 height = 2; + int32 colour_depth_bits = 3; +} diff --git a/NightModeData.proto b/NightModeData.proto new file mode 100644 index 0000000..bd360b7 --- /dev/null +++ b/NightModeData.proto @@ -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 . +*/ + +syntax="proto2"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message NightMode +{ + required bool is_night = 1; +} diff --git a/OdometerData.proto b/OdometerData.proto new file mode 100644 index 0000000..3c9087c --- /dev/null +++ b/OdometerData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message Odometer +{ + int32 total_mileage = 1; + int32 trip_mileage = 2; +} diff --git a/ParkingBrakeData.proto b/ParkingBrakeData.proto new file mode 100644 index 0000000..9222067 --- /dev/null +++ b/ParkingBrakeData.proto @@ -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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message ParkingBrake +{ + bool parking_brake = 1; +} diff --git a/PassengerData.proto b/PassengerData.proto new file mode 100644 index 0000000..c844304 --- /dev/null +++ b/PassengerData.proto @@ -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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message Passenger +{ + bool passenger_present = 1; +} diff --git a/PingRequestMessage.proto b/PingRequestMessage.proto new file mode 100644 index 0000000..5eca54f --- /dev/null +++ b/PingRequestMessage.proto @@ -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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message PingRequest +{ + int64 timestamp = 1; +} diff --git a/PingResponseMessage.proto b/PingResponseMessage.proto new file mode 100644 index 0000000..d73d67f --- /dev/null +++ b/PingResponseMessage.proto @@ -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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message PingResponse +{ + int64 timestamp = 1; +} diff --git a/RPMData.proto b/RPMData.proto new file mode 100644 index 0000000..52492fb --- /dev/null +++ b/RPMData.proto @@ -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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message RPM +{ + int32 rpm = 1; +} diff --git a/RelativeInputEventData.proto b/RelativeInputEventData.proto new file mode 100644 index 0000000..4c6e241 --- /dev/null +++ b/RelativeInputEventData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message RelativeInputEvent +{ + uint32 scan_code = 1; + int32 delta = 2; +} diff --git a/RelativeInputEventsData.proto b/RelativeInputEventsData.proto new file mode 100644 index 0000000..c195073 --- /dev/null +++ b/RelativeInputEventsData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "RelativeInputEventData.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message RelativeInputEvents +{ + repeated RelativeInputEvent relative_input_events = 1; +} diff --git a/SensorChannelData.proto b/SensorChannelData.proto new file mode 100644 index 0000000..6292892 --- /dev/null +++ b/SensorChannelData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "SensorData.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message SensorChannel +{ + repeated Sensor sensors = 1; +} diff --git a/SensorChannelMessageIdsEnum.proto b/SensorChannelMessageIdsEnum.proto new file mode 100644 index 0000000..c578e57 --- /dev/null +++ b/SensorChannelMessageIdsEnum.proto @@ -0,0 +1,32 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.ids; + +message SensorChannelMessage +{ + enum Enum + { + NONE = 0x0000; + SENSOR_START_REQUEST = 0x8001; + SENSOR_START_RESPONSE = 0x8002; + SENSOR_EVENT_INDICATION = 0x8003; + } +} diff --git a/SensorData.proto b/SensorData.proto new file mode 100644 index 0000000..e0ae04d --- /dev/null +++ b/SensorData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "SensorTypeEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message Sensor +{ + enums.SensorType.Enum type = 1; +} diff --git a/SensorEventIndicationMessage.proto b/SensorEventIndicationMessage.proto new file mode 100644 index 0000000..e386505 --- /dev/null +++ b/SensorEventIndicationMessage.proto @@ -0,0 +1,64 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +import "GPSLocationData.proto"; +import "CompassData.proto"; +import "SpeedData.proto"; +import "RPMData.proto"; +import "OdometerData.proto"; +import "FuelLevelData.proto"; +import "ParkingBrakeData.proto"; +import "GearData.proto"; +import "DiagnosticsData.proto"; +import "NightModeData.proto"; +import "EnvironmentData.proto"; +import "HVACData.proto"; +import "DrivingStatusData.proto"; +import "SteeringWheelData.proto"; +import "PassengerData.proto"; +import "DoorData.proto"; +import "LightData.proto"; +import "AccelData.proto"; +import "GyroData.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message SensorEventIndication +{ + repeated data.GPSLocation gps_location = 1; + repeated data.Compass compass = 2; + repeated data.Speed speed = 3; + repeated data.RPM rpm = 4; + repeated data.Odometer odometer = 5; + repeated data.FuelLevel fuel_level = 6; + repeated data.ParkingBrake parking_brake = 7; + repeated data.Gear gear = 8; + repeated data.Diagnostics diagnostics = 9; + repeated data.NightMode night_mode = 10; + repeated data.Environment enviorment = 11; + repeated data.HVAC hvac = 12; + repeated data.DrivingStatus driving_status = 13; + repeated data.SteeringWheel steering_wheel = 14; + repeated data.Passenger passenger = 15; + repeated data.Door door = 16; + repeated data.Light light = 17; + repeated data.Accel accel = 19; + repeated data.Gyro gyro = 20; +} diff --git a/SensorStartRequestMessage.proto b/SensorStartRequestMessage.proto new file mode 100644 index 0000000..ff99ec0 --- /dev/null +++ b/SensorStartRequestMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "SensorTypeEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message SensorStartRequestMessage +{ + enums.SensorType.Enum sensor_type = 1; + int64 refresh_interval = 2; +} diff --git a/SensorStartResponseMessage.proto b/SensorStartResponseMessage.proto new file mode 100644 index 0000000..a4bf3dc --- /dev/null +++ b/SensorStartResponseMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto2"; + +import "StatusEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message SensorStartResponseMessage +{ + required enums.Status.Enum status = 1; +} diff --git a/SensorTypeEnum.proto b/SensorTypeEnum.proto new file mode 100644 index 0000000..ccd9402 --- /dev/null +++ b/SensorTypeEnum.proto @@ -0,0 +1,50 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message SensorType +{ + enum Enum + { + NONE = 0; + LOCATION = 1; + COMPASS = 2; + CAR_SPEED = 3; + RPM = 4; + ODOMETER = 5; + FUEL_LEVEL = 6; + PARKING_BRAKE = 7; + GEAR = 8; + DIAGNOSTICS = 9; + NIGHT_DATA = 10; + ENVIRONMENT = 11; + HVAC = 12; + DRIVING_STATUS = 13; + DEAD_RECONING = 14; + PASSENGER = 15; + DOOR = 16; + LIGHT = 17; + TIRE = 18; + ACCEL = 19; + GYRO = 20; + GPS = 21; + } +} diff --git a/ServiceDiscoveryRequestMessage.proto b/ServiceDiscoveryRequestMessage.proto new file mode 100644 index 0000000..9d8f1d8 --- /dev/null +++ b/ServiceDiscoveryRequestMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message ServiceDiscoveryRequest +{ + string device_name = 4; + string device_brand = 5; +} diff --git a/ServiceDiscoveryResponseMessage.proto b/ServiceDiscoveryResponseMessage.proto new file mode 100644 index 0000000..59765f2 --- /dev/null +++ b/ServiceDiscoveryResponseMessage.proto @@ -0,0 +1,39 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +import "ChannelDescriptorData.proto"; + +package uk.co.borconi.emil.aagateway.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; +} diff --git a/ShutdownReasonEnum.proto b/ShutdownReasonEnum.proto new file mode 100644 index 0000000..6853aa1 --- /dev/null +++ b/ShutdownReasonEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message ShutdownReason +{ + enum Enum + { + NONE = 0; + QUIT = 1; + } +} diff --git a/ShutdownRequestMessage.proto b/ShutdownRequestMessage.proto new file mode 100644 index 0000000..c67bc99 --- /dev/null +++ b/ShutdownRequestMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "ShutdownReasonEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message ShutdownRequest +{ + enums.ShutdownReason.Enum reason = 1; +} diff --git a/ShutdownResponseMessage.proto b/ShutdownResponseMessage.proto new file mode 100644 index 0000000..be6850a --- /dev/null +++ b/ShutdownResponseMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message ShutdownResponse +{ +} diff --git a/SpeedData.proto b/SpeedData.proto new file mode 100644 index 0000000..9143d8f --- /dev/null +++ b/SpeedData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message Speed +{ + int32 speed = 1; + bool cruise_engaged = 2; + bool cruise_set_speed = 3; +} diff --git a/StatusEnum.proto b/StatusEnum.proto new file mode 100644 index 0000000..9369268 --- /dev/null +++ b/StatusEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message Status +{ + enum Enum + { + OK = 0; + FAIL = 1; + } +} diff --git a/SteeringWheelData.proto b/SteeringWheelData.proto new file mode 100644 index 0000000..31f83a4 --- /dev/null +++ b/SteeringWheelData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message SteeringWheel +{ + int32 steering_angle = 1; + int32 wheel_speed = 2; +} diff --git a/TouchActionEnum.proto b/TouchActionEnum.proto new file mode 100644 index 0000000..5d7df0b --- /dev/null +++ b/TouchActionEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message TouchAction +{ + enum Enum + { + PRESS = 0; + RELEASE = 1; + DRAG = 2; + } +} diff --git a/TouchConfigData.proto b/TouchConfigData.proto new file mode 100644 index 0000000..82b7cac --- /dev/null +++ b/TouchConfigData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message TouchConfig +{ + uint32 width = 1; + uint32 height = 2; +} diff --git a/TouchEventData.proto b/TouchEventData.proto new file mode 100644 index 0000000..61e7064 --- /dev/null +++ b/TouchEventData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "TouchLocationData.proto"; +import "TouchActionEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message TouchEvent +{ + repeated data.TouchLocation touch_location = 1; + uint32 action_index = 2; + enums.TouchAction.Enum touch_action = 3; +} diff --git a/TouchLocationData.proto b/TouchLocationData.proto new file mode 100644 index 0000000..f372d2e --- /dev/null +++ b/TouchLocationData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message TouchLocation +{ + uint32 x = 1; + uint32 y = 2; + uint32 pointer_id = 3; +} diff --git a/VendorExtensionChannelData.proto b/VendorExtensionChannelData.proto new file mode 100644 index 0000000..a8e7983 --- /dev/null +++ b/VendorExtensionChannelData.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.data; + +message VendorExtensionChannel +{ + string name = 1; + repeated string package_white_list = 2; + bytes data = 3; +} diff --git a/VersionResponseStatusEnum.proto b/VersionResponseStatusEnum.proto new file mode 100644 index 0000000..fc0dc94 --- /dev/null +++ b/VersionResponseStatusEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message VersionResponseStatus +{ + enum Enum + { + MATCH = 0; + MISMATCH = 0xFFFF; + } +} diff --git a/VideoConfigData.proto b/VideoConfigData.proto new file mode 100644 index 0000000..64a47cd --- /dev/null +++ b/VideoConfigData.proto @@ -0,0 +1,34 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +import "VideoResolutionEnum.proto"; +import "VideoFPSEnum.proto"; + +package uk.co.borconi.emil.aagateway.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; +} diff --git a/VideoFPSEnum.proto b/VideoFPSEnum.proto new file mode 100644 index 0000000..4b5ac32 --- /dev/null +++ b/VideoFPSEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message VideoFPS +{ + enum Enum + { + NONE = 0; + _30 = 1; + _60 = 2; + } +} diff --git a/VideoFocusIndicationMessage.proto b/VideoFocusIndicationMessage.proto new file mode 100644 index 0000000..423759e --- /dev/null +++ b/VideoFocusIndicationMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "VideoFocusModeEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message VideoFocusIndication +{ + enums.VideoFocusMode.Enum focus_mode = 1; + bool unrequested = 2; +} diff --git a/VideoFocusModeEnum.proto b/VideoFocusModeEnum.proto new file mode 100644 index 0000000..0be8938 --- /dev/null +++ b/VideoFocusModeEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message VideoFocusMode +{ + enum Enum + { + NONE = 0; + FOCUSED = 1; + UNFOCUSED = 2; + } +} diff --git a/VideoFocusReasonEnum.proto b/VideoFocusReasonEnum.proto new file mode 100644 index 0000000..26c1bfb --- /dev/null +++ b/VideoFocusReasonEnum.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message VideoFocusReason +{ + enum Enum + { + NONE = 0; + UNK_1 = 1; + UNK_2 = 2; + } +} diff --git a/VideoFocusRequestMessage.proto b/VideoFocusRequestMessage.proto new file mode 100644 index 0000000..828b75f --- /dev/null +++ b/VideoFocusRequestMessage.proto @@ -0,0 +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 . +*/ + +syntax="proto3"; + +import "VideoFocusModeEnum.proto"; +import "VideoFocusReasonEnum.proto"; + +package uk.co.borconi.emil.aagateway.proto.messages; + +message VideoFocusRequest +{ + int32 disp_index = 1; + enums.VideoFocusMode.Enum focus_mode = 2; + enums.VideoFocusReason.Enum focus_reason = 3; +} diff --git a/VideoResolutionEnum.proto b/VideoResolutionEnum.proto new file mode 100644 index 0000000..cfbd2eb --- /dev/null +++ b/VideoResolutionEnum.proto @@ -0,0 +1,32 @@ +/* +* This file is part of aasdk library project. +* Copyright (C) 2018 f1x.studio (Michal Szwaj) +* +* aasdk is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 3 of the License, or +* (at your option) any later version. + +* aasdk is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with aasdk. If not, see . +*/ + +syntax="proto3"; + +package uk.co.borconi.emil.aagateway.proto.enums; + +message VideoResolution +{ + enum Enum + { + NONE = 0; + _480p = 1; + _720p = 2; + _1080p = 3; + } +} diff --git a/gen.bat b/gen.bat new file mode 100644 index 0000000..302eb03 --- /dev/null +++ b/gen.bat @@ -0,0 +1,3 @@ +FOR /f %%b in ('dir *.proto /b') do ( +..\protoc.exe --java_out ..\aaproto %%b +) \ No newline at end of file