mirror of https://github.com/opencardev/aasdk
commit
8ffa3d351b
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "AVStreamTypeEnum.proto";
|
import "AVStreamTypeEnum.proto";
|
||||||
import "AudioTypeEnum.proto";
|
import "AudioTypeEnum.proto";
|
||||||
|
@ -27,9 +27,9 @@ package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message AVChannel
|
message AVChannel
|
||||||
{
|
{
|
||||||
enums.AVStreamType.Enum stream_type = 1;
|
required enums.AVStreamType.Enum stream_type = 1;
|
||||||
enums.AudioType.Enum audio_type = 2;
|
optional enums.AudioType.Enum audio_type = 2;
|
||||||
repeated AudioConfig audio_configs = 3;
|
repeated AudioConfig audio_configs = 3;
|
||||||
repeated VideoConfig video_configs = 4;
|
repeated VideoConfig video_configs = 4;
|
||||||
bool available_while_in_call = 5;
|
optional bool available_while_in_call = 5;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.ids;
|
package f1x.aasdk.proto.ids;
|
||||||
|
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.messages;
|
package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message AVChannelSetupRequest
|
message AVChannelSetupRequest
|
||||||
{
|
{
|
||||||
uint32 config_index = 1;
|
required uint32 config_index = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.messages;
|
package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message AVChannelStartIndication
|
message AVChannelStartIndication
|
||||||
{
|
{
|
||||||
int32 session = 1;
|
required int32 session = 1;
|
||||||
uint32 config = 2;
|
required uint32 config = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.messages;
|
package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "AVStreamTypeEnum.proto";
|
import "AVStreamTypeEnum.proto";
|
||||||
import "AudioConfigData.proto";
|
import "AudioConfigData.proto";
|
||||||
|
@ -25,7 +25,7 @@ package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message AVInputChannel
|
message AVInputChannel
|
||||||
{
|
{
|
||||||
enums.AVStreamType.Enum stream_type = 1;
|
required enums.AVStreamType.Enum stream_type = 1;
|
||||||
AudioConfig audio_config = 2;
|
required AudioConfig audio_config = 2;
|
||||||
bool available_while_in_call = 3;
|
optional bool available_while_in_call = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,14 +16,14 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.messages;
|
package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message AVInputOpenRequest
|
message AVInputOpenRequest
|
||||||
{
|
{
|
||||||
bool open = 1;
|
required bool open = 1;
|
||||||
bool anc = 2;
|
required bool anc = 2;
|
||||||
bool ec = 3;
|
required bool ec = 3;
|
||||||
int32 max_unacked = 4;
|
required int32 max_unacked = 4;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message AbsoluteInputEvent
|
message AbsoluteInputEvent
|
||||||
{
|
{
|
||||||
uint32 scan_code = 1;
|
required uint32 scan_code = 1;
|
||||||
int32 value = 2;
|
required int32 value = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "AbsoluteInputEventData.proto";
|
import "AbsoluteInputEventData.proto";
|
||||||
|
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message Accel
|
message Accel
|
||||||
{
|
{
|
||||||
int32 acceleration_x = 1;
|
required int32 acceleration_x = 1;
|
||||||
int32 acceleration_y = 2;
|
required int32 acceleration_y = 2;
|
||||||
int32 acceleration_z = 3;
|
required int32 acceleration_z = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message AudioConfig
|
message AudioConfig
|
||||||
{
|
{
|
||||||
uint32 sample_rate = 1;
|
required uint32 sample_rate = 1;
|
||||||
uint32 bit_depth = 2;
|
required uint32 bit_depth = 2;
|
||||||
uint32 channel_count = 3;
|
required uint32 channel_count = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "AudioFocusTypeEnum.proto";
|
import "AudioFocusTypeEnum.proto";
|
||||||
|
|
||||||
|
@ -24,5 +24,5 @@ package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message AudioFocusRequest
|
message AudioFocusRequest
|
||||||
{
|
{
|
||||||
enums.AudioFocusType.Enum audio_focus_type = 1;
|
required enums.AudioFocusType.Enum audio_focus_type = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "AudioFocusStateEnum.proto";
|
import "AudioFocusStateEnum.proto";
|
||||||
|
|
||||||
|
@ -24,5 +24,5 @@ package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message AudioFocusResponse
|
message AudioFocusResponse
|
||||||
{
|
{
|
||||||
enums.AudioFocusState.Enum audio_focus_state = 1;
|
required enums.AudioFocusState.Enum audio_focus_state = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.messages;
|
package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "BluetoothPairingMethodEnum.proto";
|
import "BluetoothPairingMethodEnum.proto";
|
||||||
|
|
||||||
|
@ -24,6 +24,6 @@ package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message BluetoothChannel
|
message BluetoothChannel
|
||||||
{
|
{
|
||||||
string adapter_address = 1;
|
required string adapter_address = 1;
|
||||||
repeated enums.BluetoothPairingMethod.Enum supported_pairing_methods = 2;
|
repeated enums.BluetoothPairingMethod.Enum supported_pairing_methods = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.ids;
|
package f1x.aasdk.proto.ids;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "BluetoothPairingMethodEnum.proto";
|
import "BluetoothPairingMethodEnum.proto";
|
||||||
|
|
||||||
|
@ -24,6 +24,6 @@ package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message BluetoothPairingRequest
|
message BluetoothPairingRequest
|
||||||
{
|
{
|
||||||
string phone_address = 1;
|
required string phone_address = 1;
|
||||||
enums.BluetoothPairingMethod.Enum pairing_method = 2;
|
required enums.BluetoothPairingMethod.Enum pairing_method = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "BluetoothPairingStatusEnum.proto";
|
import "BluetoothPairingStatusEnum.proto";
|
||||||
|
|
||||||
|
@ -24,6 +24,6 @@ package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message BluetoothPairingResponse
|
message BluetoothPairingResponse
|
||||||
{
|
{
|
||||||
bool already_paired = 1;
|
required bool already_paired = 1;
|
||||||
enums.BluetoothPairingStatus.Enum status = 2;
|
required enums.BluetoothPairingStatus.Enum status = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,14 +16,14 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message ButtonEvent
|
message ButtonEvent
|
||||||
{
|
{
|
||||||
uint32 scan_code = 1;
|
required uint32 scan_code = 1;
|
||||||
bool is_pressed = 2;
|
required bool is_pressed = 2;
|
||||||
uint32 meta = 3;
|
optional uint32 meta = 3;
|
||||||
bool long_press = 4;
|
optional bool long_press = 4;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "ButtonEventData.proto";
|
import "ButtonEventData.proto";
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
option optimize_for=SPEED;
|
option optimize_for=SPEED;
|
||||||
|
|
||||||
|
@ -27,26 +27,21 @@ import "AVInputChannelData.proto";
|
||||||
import "BluetoothChannelData.proto";
|
import "BluetoothChannelData.proto";
|
||||||
import "NavigationChannelData.proto";
|
import "NavigationChannelData.proto";
|
||||||
import "VendorExtensionChannelData.proto";
|
import "VendorExtensionChannelData.proto";
|
||||||
|
import "MediaChannelData.proto";
|
||||||
import "WifiChannelData.proto";
|
import "WifiChannelData.proto";
|
||||||
|
|
||||||
package gb.xxy.hr.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message MediaPlayBackChannel
|
|
||||||
{
|
|
||||||
uint32 enabled = 1;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
message ChannelDescriptor
|
message ChannelDescriptor
|
||||||
{
|
{
|
||||||
uint32 channel_id = 1;
|
required uint32 channel_id = 1;
|
||||||
SensorChannel sensor_channel = 2;
|
optional SensorChannel sensor_channel = 2;
|
||||||
AVChannel av_channel = 3;
|
optional AVChannel av_channel = 3;
|
||||||
InputChannel input_channel = 4;
|
optional InputChannel input_channel = 4;
|
||||||
AVInputChannel av_input_channel = 5;
|
optional AVInputChannel av_input_channel = 5;
|
||||||
BluetoothChannel bluetooth_channel = 6;
|
optional BluetoothChannel bluetooth_channel = 6;
|
||||||
NavigationChannel navigation_channel = 8;
|
optional NavigationChannel navigation_channel = 8;
|
||||||
MediaPlayBackChannel mediainfo_channel = 9;
|
optional MediaInfoChannel media_infoChannel = 9;
|
||||||
VendorExtensionChannel vendor_extension_channel = 12;
|
optional VendorExtensionChannel vendor_extension_channel = 12;
|
||||||
WifiChannel wifi_channel=16;
|
optional WifiChannel wifi_channel=16;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.messages;
|
package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message ChannelOpenRequest
|
message ChannelOpenRequest
|
||||||
{
|
{
|
||||||
int32 priority = 1;
|
required int32 priority = 1;
|
||||||
int32 channel_id = 2;
|
required int32 channel_id = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message Compass
|
message Compass
|
||||||
{
|
{
|
||||||
int32 bearing =1;
|
required int32 bearing =1;
|
||||||
int32 pitch = 2;
|
required int32 pitch = 2;
|
||||||
int32 roll = 3;
|
required int32 roll = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.ids;
|
package f1x.aasdk.proto.ids;
|
||||||
|
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message Diagnostics
|
message Diagnostics
|
||||||
{
|
{
|
||||||
bytes diagnostics = 1;
|
required bytes diagnostics = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message Door
|
message Door
|
||||||
{
|
{
|
||||||
bool hood_open = 1;
|
required bool hood_open = 1;
|
||||||
bool boot_open = 2;
|
required bool boot_open = 2;
|
||||||
repeated bool door_open = 3;
|
repeated bool door_open = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message Environment
|
message Environment
|
||||||
{
|
{
|
||||||
int32 temperature =1;
|
required int32 temperature =1;
|
||||||
int32 pressure = 2;
|
required int32 pressure = 2;
|
||||||
int32 rain = 3;
|
required int32 rain = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message FuelLevel
|
message FuelLevel
|
||||||
{
|
{
|
||||||
int32 fuel_level = 1;
|
required int32 fuel_level = 1;
|
||||||
int32 range = 2;
|
required int32 range = 2;
|
||||||
bool low_fuel = 3;
|
required bool low_fuel = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,17 +16,17 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message GPSLocation
|
message GPSLocation
|
||||||
{
|
{
|
||||||
uint64 timestamp = 1;
|
required uint64 timestamp = 1;
|
||||||
int32 latitude = 2;
|
required int32 latitude = 2;
|
||||||
int32 longitude = 3;
|
required int32 longitude = 3;
|
||||||
uint32 accuracy = 4;
|
required uint32 accuracy = 4;
|
||||||
int32 altitude = 5;
|
optional int32 altitude = 5;
|
||||||
int32 speed = 6;
|
optional int32 speed = 6;
|
||||||
int32 bearing = 7;
|
optional int32 bearing = 7;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "GearEnum.proto";
|
import "GearEnum.proto";
|
||||||
|
|
||||||
|
@ -24,5 +24,5 @@ package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message Gear
|
message Gear
|
||||||
{
|
{
|
||||||
enums.Gear.Enum gear = 1;
|
required enums.Gear.Enum gear = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message Gyro
|
message Gyro
|
||||||
{
|
{
|
||||||
int32 rotation_speed_x = 1;
|
required int32 rotation_speed_x = 1;
|
||||||
int32 rotation_speed_y = 2;
|
required int32 rotation_speed_y = 2;
|
||||||
int32 rotation_speed_z = 3;
|
required int32 rotation_speed_z = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message HVAC
|
message HVAC
|
||||||
{
|
{
|
||||||
int32 target_temperature = 1;
|
required int32 target_temperature = 1;
|
||||||
int32 current_temperature = 2;
|
required int32 current_temperature = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "TouchConfigData.proto";
|
import "TouchConfigData.proto";
|
||||||
|
|
||||||
|
@ -25,6 +25,6 @@ package f1x.aasdk.proto.data;
|
||||||
message InputChannel
|
message InputChannel
|
||||||
{
|
{
|
||||||
repeated uint32 supported_keycodes = 1;
|
repeated uint32 supported_keycodes = 1;
|
||||||
TouchConfig touch_screen_config = 2;
|
optional TouchConfig touch_screen_config = 2;
|
||||||
TouchConfig touch_pad_config = 3;
|
optional TouchConfig touch_pad_config = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.ids;
|
package f1x.aasdk.proto.ids;
|
||||||
|
|
||||||
|
@ -28,5 +28,6 @@ message InputChannelMessage
|
||||||
INPUT_EVENT_INDICATION = 0x8001;
|
INPUT_EVENT_INDICATION = 0x8001;
|
||||||
BINDING_REQUEST = 0x8002;
|
BINDING_REQUEST = 0x8002;
|
||||||
BINDING_RESPONSE = 0x8003;
|
BINDING_RESPONSE = 0x8003;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "TouchEventData.proto";
|
import "TouchEventData.proto";
|
||||||
import "ButtonEventsData.proto";
|
import "ButtonEventsData.proto";
|
||||||
|
@ -27,10 +27,10 @@ package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message InputEventIndication
|
message InputEventIndication
|
||||||
{
|
{
|
||||||
uint64 timestamp = 1;
|
required uint64 timestamp = 1;
|
||||||
int32 disp_channel = 2;
|
optional int32 disp_channel = 2;
|
||||||
data.TouchEvent touch_event = 3;
|
optional data.TouchEvent touch_event = 3;
|
||||||
data.ButtonEvents button_event = 4;
|
optional data.ButtonEvents button_event = 4;
|
||||||
data.AbsoluteInputEvents absolute_input_event = 5;
|
optional data.AbsoluteInputEvents absolute_input_event = 5;
|
||||||
data.RelativeInputEvents relative_input_event = 6;
|
optional data.RelativeInputEvents relative_input_event = 6;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "HeadlightStatusEnum.proto";
|
import "HeadlightStatusEnum.proto";
|
||||||
import "IndicatorStatusEnum.proto";
|
import "IndicatorStatusEnum.proto";
|
||||||
|
@ -25,7 +25,7 @@ package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message Light
|
message Light
|
||||||
{
|
{
|
||||||
enums.HeadlightStatus.Enum headlight = 1;
|
required enums.HeadlightStatus.Enum headlight = 1;
|
||||||
enums.IndicatorStatus.Enum indicator = 2;
|
required enums.IndicatorStatus.Enum indicator = 2;
|
||||||
bool hazard_light_on = 3;
|
required bool hazard_light_on = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
/*
|
||||||
|
* This file is part of aasdk library project.
|
||||||
|
* Copyright (C) 2018 f1x.studio (Michal Szwaj)
|
||||||
|
*
|
||||||
|
* aasdk is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
|
||||||
|
* aasdk is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
syntax="proto2";
|
||||||
|
|
||||||
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
|
message MediaInfoChannel
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "NavigationImageOptionsData.proto";
|
import "NavigationImageOptionsData.proto";
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message NavigationChannel
|
message NavigationChannel
|
||||||
{
|
{
|
||||||
uint32 minimum_interval_ms = 1;
|
required uint32 minimum_interval_ms = 1;
|
||||||
uint32 type = 2;
|
required uint32 type = 2;
|
||||||
NavigationImageOptions image_options = 3;
|
required NavigationImageOptions image_options = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.messages;
|
package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message NavigationFocusRequest
|
message NavigationFocusRequest
|
||||||
{
|
{
|
||||||
uint32 type = 1;
|
required uint32 type = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.messages;
|
package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message NavigationFocusResponse
|
message NavigationFocusResponse
|
||||||
{
|
{
|
||||||
uint32 type = 1;
|
required uint32 type = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message NavigationImageOptions
|
message NavigationImageOptions
|
||||||
{
|
{
|
||||||
int32 width = 1;
|
required int32 width = 1;
|
||||||
int32 height = 2;
|
required int32 height = 2;
|
||||||
int32 colour_depth_bits = 3;
|
required int32 colour_depth_bits = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message Odometer
|
message Odometer
|
||||||
{
|
{
|
||||||
int32 total_mileage = 1;
|
required int32 total_mileage = 1;
|
||||||
int32 trip_mileage = 2;
|
required int32 trip_mileage = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message ParkingBrake
|
message ParkingBrake
|
||||||
{
|
{
|
||||||
bool parking_brake = 1;
|
required bool parking_brake = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message Passenger
|
message Passenger
|
||||||
{
|
{
|
||||||
bool passenger_present = 1;
|
required bool passenger_present = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.messages;
|
package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message PingRequest
|
message PingRequest
|
||||||
{
|
{
|
||||||
int64 timestamp = 1;
|
required int64 timestamp = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.messages;
|
package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message PingResponse
|
message PingResponse
|
||||||
{
|
{
|
||||||
int64 timestamp = 1;
|
required int64 timestamp = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message RPM
|
message RPM
|
||||||
{
|
{
|
||||||
int32 rpm = 1;
|
required int32 rpm = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message RelativeInputEvent
|
message RelativeInputEvent
|
||||||
{
|
{
|
||||||
uint32 scan_code = 1;
|
required uint32 scan_code = 1;
|
||||||
int32 delta = 2;
|
required int32 delta = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "RelativeInputEventData.proto";
|
import "RelativeInputEventData.proto";
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "SensorData.proto";
|
import "SensorData.proto";
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.ids;
|
package f1x.aasdk.proto.ids;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "SensorTypeEnum.proto";
|
import "SensorTypeEnum.proto";
|
||||||
|
|
||||||
|
@ -24,5 +24,5 @@ package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message Sensor
|
message Sensor
|
||||||
{
|
{
|
||||||
enums.SensorType.Enum type = 1;
|
required enums.SensorType.Enum type = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "GPSLocationData.proto";
|
import "GPSLocationData.proto";
|
||||||
import "CompassData.proto";
|
import "CompassData.proto";
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "SensorTypeEnum.proto";
|
import "SensorTypeEnum.proto";
|
||||||
|
|
||||||
|
@ -24,6 +24,6 @@ package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message SensorStartRequestMessage
|
message SensorStartRequestMessage
|
||||||
{
|
{
|
||||||
enums.SensorType.Enum sensor_type = 1;
|
required enums.SensorType.Enum sensor_type = 1;
|
||||||
int64 refresh_interval = 2;
|
required int64 refresh_interval = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.messages;
|
package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message ServiceDiscoveryRequest
|
message ServiceDiscoveryRequest
|
||||||
{
|
{
|
||||||
string device_name = 4;
|
required string device_name = 4;
|
||||||
string device_brand = 5;
|
required string device_brand = 5;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "ChannelDescriptorData.proto";
|
import "ChannelDescriptorData.proto";
|
||||||
|
|
||||||
|
@ -25,15 +25,15 @@ package f1x.aasdk.proto.messages;
|
||||||
message ServiceDiscoveryResponse
|
message ServiceDiscoveryResponse
|
||||||
{
|
{
|
||||||
repeated data.ChannelDescriptor channels = 1;
|
repeated data.ChannelDescriptor channels = 1;
|
||||||
string head_unit_name = 2;
|
required string head_unit_name = 2;
|
||||||
string car_model = 3;
|
required string car_model = 3;
|
||||||
string car_year = 4;
|
required string car_year = 4;
|
||||||
string car_serial = 5;
|
required string car_serial = 5;
|
||||||
bool left_hand_drive_vehicle = 6;
|
required bool left_hand_drive_vehicle = 6;
|
||||||
string headunit_manufacturer = 7;
|
required string headunit_manufacturer = 7;
|
||||||
string headunit_model = 8;
|
required string headunit_model = 8;
|
||||||
string sw_build = 9;
|
required string sw_build = 9;
|
||||||
string sw_version = 10;
|
required string sw_version = 10;
|
||||||
bool can_play_native_media_during_vr = 11;
|
required bool can_play_native_media_during_vr = 11;
|
||||||
bool hide_clock = 12;
|
optional bool hide_clock = 12;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "ShutdownReasonEnum.proto";
|
import "ShutdownReasonEnum.proto";
|
||||||
|
|
||||||
|
@ -24,5 +24,5 @@ package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message ShutdownRequest
|
message ShutdownRequest
|
||||||
{
|
{
|
||||||
enums.ShutdownReason.Enum reason = 1;
|
required enums.ShutdownReason.Enum reason = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.messages;
|
package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message Speed
|
message Speed
|
||||||
{
|
{
|
||||||
int32 speed = 1;
|
required int32 speed = 1;
|
||||||
bool cruise_engaged = 2;
|
optional bool cruise_engaged = 2;
|
||||||
bool cruise_set_speed = 3;
|
optional bool cruise_set_speed = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file is part of aasdk library project.
|
* This file is part of aasdk library project.
|
||||||
* Copyright (C) 2018 f1x.studio (Michal Szwaj)
|
* Copyright (C) 2018 f1x.studio (Michal Szwaj)
|
||||||
|
@ -16,7 +17,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message SteeringWheel
|
message SteeringWheel
|
||||||
{
|
{
|
||||||
int32 steering_angle = 1;
|
required int32 steering_angle = 1;
|
||||||
int32 wheel_speed = 2;
|
required int32 wheel_speed = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,31 +1,33 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of aasdk library project.
|
* This file is part of aasdk library project.
|
||||||
* Copyright (C) 2018 f1x.studio (Michal Szwaj)
|
* Copyright (C) 2018 f1x.studio (Michal Szwaj)
|
||||||
*
|
*
|
||||||
* aasdk is free software: you can redistribute it and/or modify
|
* aasdk is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 3 of the License, or
|
* the Free Software Foundation; either version 3 of the License, or
|
||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
|
|
||||||
* aasdk is distributed in the hope that it will be useful,
|
* aasdk is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
message TouchAction
|
message TouchAction
|
||||||
{
|
{
|
||||||
enum Enum
|
enum Enum
|
||||||
{
|
{
|
||||||
PRESS = 0;
|
PRESS = 0;
|
||||||
RELEASE = 1;
|
RELEASE = 1;
|
||||||
DRAG = 2;
|
DRAG = 2;
|
||||||
}
|
POINTER_DOWN=5;
|
||||||
}
|
POINTER_UP=6;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message TouchConfig
|
message TouchConfig
|
||||||
{
|
{
|
||||||
uint32 width = 1;
|
required uint32 width = 1;
|
||||||
uint32 height = 2;
|
required uint32 height = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "TouchLocationData.proto";
|
import "TouchLocationData.proto";
|
||||||
import "TouchActionEnum.proto";
|
import "TouchActionEnum.proto";
|
||||||
|
@ -26,6 +26,6 @@ package f1x.aasdk.proto.data;
|
||||||
message TouchEvent
|
message TouchEvent
|
||||||
{
|
{
|
||||||
repeated data.TouchLocation touch_location = 1;
|
repeated data.TouchLocation touch_location = 1;
|
||||||
uint32 action_index = 2;
|
required uint32 action_index = 2;
|
||||||
enums.TouchAction.Enum touch_action = 3;
|
required enums.TouchAction.Enum touch_action = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message TouchLocation
|
message TouchLocation
|
||||||
{
|
{
|
||||||
uint32 x = 1;
|
required uint32 x = 1;
|
||||||
uint32 y = 2;
|
required uint32 y = 2;
|
||||||
uint32 pointer_id = 3;
|
required uint32 pointer_id = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message VendorExtensionChannel
|
message VendorExtensionChannel
|
||||||
{
|
{
|
||||||
string name = 1;
|
required string name = 1;
|
||||||
repeated string package_white_list = 2;
|
repeated string package_white_list = 2;
|
||||||
bytes data = 3;
|
optional bytes data = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "VideoResolutionEnum.proto";
|
import "VideoResolutionEnum.proto";
|
||||||
import "VideoFPSEnum.proto";
|
import "VideoFPSEnum.proto";
|
||||||
|
@ -25,10 +25,10 @@ package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message VideoConfig
|
message VideoConfig
|
||||||
{
|
{
|
||||||
enums.VideoResolution.Enum video_resolution = 1;
|
required enums.VideoResolution.Enum video_resolution = 1;
|
||||||
enums.VideoFPS.Enum video_fps = 2;
|
required enums.VideoFPS.Enum video_fps = 2;
|
||||||
uint32 margin_width = 3;
|
required uint32 margin_width = 3;
|
||||||
uint32 margin_height = 4;
|
required uint32 margin_height = 4;
|
||||||
uint32 dpi = 5;
|
required uint32 dpi = 5;
|
||||||
uint32 additional_depth = 6;
|
optional uint32 additional_depth = 6;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "VideoFocusModeEnum.proto";
|
import "VideoFocusModeEnum.proto";
|
||||||
|
|
||||||
|
@ -24,6 +24,6 @@ package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message VideoFocusIndication
|
message VideoFocusIndication
|
||||||
{
|
{
|
||||||
enums.VideoFocusMode.Enum focus_mode = 1;
|
required enums.VideoFocusMode.Enum focus_mode = 1;
|
||||||
bool unrequested = 2;
|
required bool unrequested = 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
import "VideoFocusModeEnum.proto";
|
import "VideoFocusModeEnum.proto";
|
||||||
import "VideoFocusReasonEnum.proto";
|
import "VideoFocusReasonEnum.proto";
|
||||||
|
@ -25,7 +25,7 @@ package f1x.aasdk.proto.messages;
|
||||||
|
|
||||||
message VideoFocusRequest
|
message VideoFocusRequest
|
||||||
{
|
{
|
||||||
int32 disp_index = 1;
|
required int32 disp_index = 1;
|
||||||
enums.VideoFocusMode.Enum focus_mode = 2;
|
required enums.VideoFocusMode.Enum focus_mode = 2;
|
||||||
enums.VideoFocusReason.Enum focus_reason = 3;
|
required enums.VideoFocusReason.Enum focus_reason = 3;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
* along with aasdk. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syntax="proto3";
|
syntax="proto2";
|
||||||
|
|
||||||
package f1x.aasdk.proto.enums;
|
package f1x.aasdk.proto.enums;
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,9 @@ option optimize_for=SPEED;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
package gb.xxy.hr.proto.data;
|
package f1x.aasdk.proto.data;
|
||||||
|
|
||||||
message WifiChannel
|
message WifiChannel
|
||||||
{
|
{
|
||||||
string ssid = 1;
|
string ssid = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue