diff options
author | 2020-03-30 09:36:53 +0900 | |
---|---|---|
committer | 2020-03-30 09:36:53 +0900 | |
commit | c32108fe1bb212667de414db5fb34d61535b6684 (patch) | |
tree | c95299a361d8b8c81583cb00887c0560f631e0dd /vehicle_parameter_library/library/include/other_service | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
os-vehicleparameterlibrary branch
Diffstat (limited to 'vehicle_parameter_library/library/include/other_service')
7 files changed, 1039 insertions, 0 deletions
diff --git a/vehicle_parameter_library/library/include/other_service/VP_FuncCheck_CanRcv.h b/vehicle_parameter_library/library/include/other_service/VP_FuncCheck_CanRcv.h new file mode 100644 index 00000000..9e9e73fc --- /dev/null +++ b/vehicle_parameter_library/library/include/other_service/VP_FuncCheck_CanRcv.h @@ -0,0 +1,131 @@ +/* + * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* ====================================================================== */ +/** + * @file VP_FuncCheck_CanRcv.h + * @brief \~english Get function existence API header file + */ +/* ====================================================================== */ + +#ifndef VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_VP_FUNCCHECK_CANRCV_H_ +#define VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_VP_FUNCCHECK_CANRCV_H_ + +#include <sys/types.h> + +/** @addtogroup BaseSystem + * @{ + */ +/** @addtogroup other_service + * @ingroup BaseSystem + * @{ + */ +/** @addtogroup vehicle_parameter_library + * @ingroup other_service + * @{ + */ + +// typedef unsigned char u_int8; + + +/** +* @~english XM Audio +*/ +#define XM_AUDIO ((u_int8_t)1) +/** +* @~english _CWORD76_ +*/ +#define _CWORD76_ ((u_int8_t)2) + +/** +* @~english HD Data (Include traffic) +*/ +#define VP_CANRCV__CWORD27_ ((u_int8_t)3) /**< _CWORD27_ */ +/** +* @~english WiFi HotSpot +*/ +#define WIFI_HOTSPOT ((u_int8_t)4) +/** +* @~english standard driving rregulation of AREA1 +*/ +#define AREA1_STD_TRAF_LIMIT ((u_int8_t)5) +/** +* @~english HD Data (Include traffic) +*/ +#define HD_DATA ((u_int8_t)6) + +/** +* @~english definiton of return value of API(VP_FuncCheck_CanRcv),which is used to get status of function implemention +*/ +#define FUNCTION_CHECK_RESULT_OK ((u_int8_t)0) +/** +* @~english this function is invalid +*/ +#define FUNCTION_CHECK_RESULT_NG ((u_int8_t)1) +/** +* @~english this function does not exist +*/ +#define FUNCTION_CHECK_RESULT_UNKNOWN ((u_int8_t)2) +/** +* @~english reference out of AREA1 +*/ +#define FUNCTION_CHECK_RESULT_OUT_OF_AREA1 ((u_int8_t)3) + +/* Function prototype declaration */ +#ifdef __cplusplus +extern "C" { +#endif + +//////////////////////////////////////////////////////////////////////////////// +/// \ingroup VP_FuncCheck_CanRcv +/// \~english @par Brief +/// VP_FuncCheck_CanRcv +/// \~english @param [in] FunctionName +/// function name +/// \~english @retval FUNCTION_CHECK_RESULT_OK: This function is available +/// \~english @retval FUNCTION_CHECK_RESULT_NG: This function is unavailable +/// \~english @retval FUNCTION_CHECK_RESULT_UNKNOWN: This function does not exist +/// \~english @par Prerequisite +/// None +/// \~english @par Change of internal state +/// None +/// \~english @par Conditions of processing failure +/// None +/// \~english @par Classification +/// Public +/// \~english @par Type +/// Sync Only +/// \~english @par Detail +/// - To get the function check result from +/// - vehicle parameter:CAN info judge +/// - vehicle parameter:country ID +/// - country ID and function judge info in API +/// - When vehicle parameter:CAN info judge +/// is [CAN_judge] or [country_ID], +/// and if country_ID is unacquainted or undefined, the API returns [available]. +/// \~english @see None +//////////////////////////////////////////////////////////////////////////////// +u_int8_t VP_FuncCheck_CanRcv(u_int8_t FunctionName); + +#ifdef __cplusplus +} +#endif + +/** @}*/ // end of vehicle_parameter_library +/** @}*/ // end of other_service +/** @}*/ // end of BaseSystem + +#endif // VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_VP_FUNCCHECK_CANRCV_H_ diff --git a/vehicle_parameter_library/library/include/other_service/VP_GetEnv.h b/vehicle_parameter_library/library/include/other_service/VP_GetEnv.h new file mode 100644 index 00000000..50696f75 --- /dev/null +++ b/vehicle_parameter_library/library/include/other_service/VP_GetEnv.h @@ -0,0 +1,124 @@ +/* + * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* ====================================================================== */ +/** + * @file VP_GetEnv.h + * @brief \~english Get vehicle parameter environment variable API header file + */ +/* ====================================================================== */ + +#ifndef VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_VP_GETENV_H_ +#define VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_VP_GETENV_H_ + +/** @addtogroup BaseSystem + * @{ + */ +/** @addtogroup other_service + * @ingroup BaseSystem + * @{ + */ +/** @addtogroup vehicle_parameter_library + * @ingroup other_service + * @{ + */ +#include <other_service/env_ext.h> + +/** +* @~english the max length of vehicle parameter environment viarable +*/ + +#define VP_MAX_LENGTH 128 + +/** +* @~english definition of parameter environment viarable such as destination +* destination diff +*/ + +#define VEHICLEPARAMETERLIBRARY_AREA "VEHICLEPARAMETERLIBRARY_AREA" + +/** +* @~english grade diff +*/ +#define VEHICLEPARAMETERLIBRARY_GRADE "VEHICLEPARAMETERLIBRARY_GRADE" + +/** +* @~english brand diff +*/ +#define VEHICLEPARAMETERLIBRARY_BRAND "VEHICLEPARAMETERLIBRARY_BRAND" + +/** +* @~english board type +*/ +#define VEHICLEPARAMETERLIBRARY_BOARD "VEHICLEPARAMETERLIBRARY_BOARD" + +/** +* @~english definition of _CWORD31_ vehicle parameter environment viarable +*/ +#include <other_service/env_vehicle.h> + +/** +* @~english definition of vehicle parameter environment viarable +*/ +#include <other_service/env_vehicleparameterlibrary.h> + +/** +* @~english definition of Serial vehicle parameter environment viarable +*/ +#include <other_service/env_vehicleparameterlibrary_serial.h> + +/* Function prototype declaration */ +#ifdef __cplusplus +extern "C" { +#endif + +//////////////////////////////////////////////////////////////////////////////// +/// \ingroup VP_GetEnv +/// \~english @par Brief +/// VP_GetEnv +/// \~english @param [in] pEnvStr +/// The pointer of environment variable name string +/// \~english @param [out] pEnvBuff +/// The head address of saving environment variable value +/// \~english @retval None +/// \~english @par Prerequisite +/// None +/// \~english @par Change of internal state +/// None +/// \~english @par Conditions of processing failure +/// None +/// \~english @par Classification +/// Public +/// \~english @par Type +/// Sync Only +/// \~english @par Detail +/// - To get the environment variable value by the environment variable name, +/// and save it in pEnvBuff. +/// - When environment variable name is NULL or an undefined value, +/// a blank string shall be saved in pEnvBuff. +/// \~english @see None +//////////////////////////////////////////////////////////////////////////////// +void VP_GetEnv(const char *pEnvStr, char *pEnvBuff); + +#ifdef __cplusplus +} +#endif + +/** @}*/ // end of vehicle_parameter_library +/** @}*/ // end of other_service +/** @}*/ // end of BaseSystem + +#endif // VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_VP_GETENV_H_ diff --git a/vehicle_parameter_library/library/include/other_service/env_ext.h b/vehicle_parameter_library/library/include/other_service/env_ext.h new file mode 100644 index 00000000..d28ef256 --- /dev/null +++ b/vehicle_parameter_library/library/include/other_service/env_ext.h @@ -0,0 +1,45 @@ +/* + * @copyright Copyright (c) 2019 TOYOTA MOTOR CORPORATION. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @file env_ext.h + * @brief \~english Define of supplier vehicle parameter environment variable. + */ + +#ifndef VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_ENV_EXT_H_ +#define VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_ENV_EXT_H_ + +/** @addtogroup BaseSystem + * @{ + */ +/** @addtogroup other_service + * @ingroup BaseSystem + * @{ + */ +/** @addtogroup vehicle_parameter_library + * @ingroup other_service + * @{ + */ + +// +// Please describe supplier-specific definitions of the vehicle parameters. +// + +/** @}*/ // end of vehicle_parameter_library +/** @}*/ // end of other_service +/** @}*/ // end of BaseSystem + +#endif // VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_ENV_EXT_H_ diff --git a/vehicle_parameter_library/library/include/other_service/env_vehicle.h b/vehicle_parameter_library/library/include/other_service/env_vehicle.h new file mode 100644 index 00000000..f3227f9f --- /dev/null +++ b/vehicle_parameter_library/library/include/other_service/env_vehicle.h @@ -0,0 +1,354 @@ +/* + * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @file env_vehicle.h + * @brief \~english Define of _CWORD31_ vehicle parameter environment variable + */ + +#ifndef VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_ENV_VEHICLE_H_ +#define VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_ENV_VEHICLE_H_ + +/** @addtogroup BaseSystem + * @{ + */ +/** @addtogroup other_service + * @ingroup BaseSystem + * @{ + */ +/** @addtogroup vehicle_parameter_library + * @ingroup other_service + * @{ + */ + +/** +* @~english _CWORD31_ version +*/ +#define VP__CWORD31__VERSION "VP__CWORD31__version" +/** +* @~english _CWORD31_ class type of LAN +*/ + +#define VP__CWORD31__CLASS_TYPE_OF_LAN "VP__CWORD31__class_type_of_LAN" +/** +* @~english _CWORD31_ reverse signal +*/ + +#define VP__CWORD31__REVERSE "VP__CWORD31__reverse" +/** +* @~english _CWORD31_ PKB signal +*/ + +#define VP__CWORD31__PKB "VP__CWORD31__PKB" +/** +* @~english _CWORD31_ ADIM signal of _CWORD62_ +*/ + +#define VP__CWORD31__ADIM__CWORD62_ "VP__CWORD31__ADIM__CWORD62_" +/** +* @~english _CWORD31_ telematics function +*/ + +#define VP__CWORD31__TELEMATICS_FUNCTION "VP__CWORD31__telematics_function" +/** +* @~english _CWORD31_ opening picture +*/ + +#define VP__CWORD31__OPENING_PICTURE "VP__CWORD31__opening_picture" +/** +* @~english _CWORD31_ theme color +*/ + +#define VP__CWORD31__THEME_COLOR "VP__CWORD31__theme_color" +/** +* @~english _CWORD31_ air conditioner on screen +*/ +#define VP__CWORD31__AC_ONSCREEN "VP__CWORD31__AC_onscreen" +/** +* @~english _CWORD31_ air conditioner screen operation +*/ +#define VP__CWORD31__AC_SCREEN_OPERATION "VP__CWORD31__AC_screen_operation" +/** +* @~english _CWORD31_ air conditioner home screen +*/ +#define VP__CWORD31__AC_SCREEN_HOME "VP__CWORD31__AC_screen_home" +/** +* @~english _CWORD31_ air conditioner switch front temperature +*/ +#define VP__CWORD31__AC_SWITCH_FRONT_TEMP "VP__CWORD31__AC_switch_front_temp" +/** +* @~english _CWORD31_ air conditioner display of outside temperature +*/ +#define VP__CWORD31__AC_TEMP_DISP_OUTSIDE "VP__CWORD31__AC_temp_disp_outside" +/** +* @~english _CWORD31_ air conditioner setting of display +*/ +#define VP__CWORD31__AC_TEMP_DISP_SETTING "VP__CWORD31__AC_temp_disp_setting" +/** +* @~english _CWORD31_ air conditioner switch concierge +*/ +#define VP__CWORD31__AC_SWITCH_CONCIERGE "VP__CWORD31__AC_switch_concierge" +/** +* @~english S flow of _CWORD31_ air conditioner switch +*/ +#define VP__CWORD31__AC_SWITCH_S_FLOW "VP__CWORD31__AC_switch_S_flow" +/** +* @~english _CWORD31_ _CWORD113_ +*/ +#define VP__CWORD31___CWORD11_ "VP__CWORD31___CWORD11_" +/** +* @~english _CWORD31_ EF home screen +*/ +#define VP__CWORD31___CWORD11__HOME "VP__CWORD31___CWORD11__home" +/** +* @~english _CWORD31_ drive wheel of _CWORD113_ +*/ +#define VP__CWORD31___CWORD11__DRIVE_WHEEL "VP__CWORD31___CWORD11__drive_wheel" +/** +* @~english _CWORD31_ drive type of _CWORD113_ +*/ +#define VP__CWORD31___CWORD11__DRIVE_TYPE "VP__CWORD31___CWORD11__drive_type" +/** +* @~english _CWORD31_ battery position of _CWORD113_ +*/ +#define VP__CWORD31___CWORD11__BATTERY_POSITION "VP__CWORD31___CWORD11__battery_position" +/** +* @~english _CWORD31_ battery direction of _CWORD113_ +*/ +#define VP__CWORD31___CWORD11__BATTERY_DIRECTION "VP__CWORD31___CWORD11__battery_direction" +/** +* @~english _CWORD31_ motor position of _CWORD113_ +*/ +#define VP__CWORD31___CWORD11__MOTOR_POSITION "VP__CWORD31___CWORD11__motor_position" +/** +* @~english _CWORD31_ _CWORD112_ trip +*/ +#define VP__CWORD31___CWORD9__TRIP "VP__CWORD31___CWORD9__trip" +/** +* @~english _CWORD31_ FC home screen trip +*/ +#define VP__CWORD31___CWORD9__HOME_TRIP "VP__CWORD31___CWORD9__home_trip" +/** +* @~english _CWORD31_ _CWORD112_ fuel +*/ +#define VP__CWORD31___CWORD9__FUEL "VP__CWORD31___CWORD9__fuel" +/** +* @~english _CWORD31_ FC home screen fuel +*/ +#define VP__CWORD31___CWORD9__HOME_FUEL "VP__CWORD31___CWORD9__home_fuel" +/** +* @~english _CWORD31_ FC eco safety point service +*/ +#define VP__CWORD31__FC_ECO_SAFETY_POINT_SERVICE "VP__CWORD31__FC_eco_safety_point_service" +/** +* @~english _CWORD31_ FC GAS scale +*/ +#define VP__CWORD31__FC_SCALE_GAS "VP__CWORD31__FC_scale_GAS" +/** +* @~english _CWORD31_ FC HV scale +*/ +#define VP__CWORD31__FC_SCALE_HV "VP__CWORD31__FC_scale_HV" +/** +* @~english _CWORD31_ FC energy mark +*/ +#define VP__CWORD31__FC_ENERGY_MARK "VP__CWORD31__FC_energy_mark" +/** +* @~english _CWORD31_ _CWORD112_ type +*/ +#define VP__CWORD31___CWORD9__TYPE "VP__CWORD31___CWORD9__type" +/** +* @~english _CWORD31_ FC signal +*/ +#define VP__CWORD31__FC_SIGNAL "VP__CWORD31__FC_SIGNAL" +/** +* @~english _CWORD31_ display setting screen +*/ +#define VP__CWORD31__DISPLAY_SETTING_SCREEN "VP__CWORD31__display_setting_screen" +/** +* @~english _CWORD31_ VR HVAC control +*/ +#define VP__CWORD31__VR_HVAC_CONTROL "VP__CWORD31__VR_HVAC_control" +/** +* @~english _CWORD31_ clock type +*/ +#define VP__CWORD31__CLOCK_TYPE "VP__CWORD31__clock_type" +/** +* @~english _CWORD31_ start up BGM +*/ +#define VP__CWORD31__START_UP_BGM "VP__CWORD31__start_up_BGM" +/** +* @~english _CWORD31_ start up BGM type +*/ +#define VP__CWORD31__START_UP_BGM_TYPE "VP__CWORD31__start_up_BGM_type" +/** +* @~english _CWORD31_ font left DTV antenna +*/ +#define VP__CWORD31__DTV_ANTENNA_FL "VP__CWORD31__DTV_antenna_FL" +/** +* @~english _CWORD31_ font right DTV antenna +*/ +#define VP__CWORD31__DTV_ANTENNA_FR "VP__CWORD31__DTV_antenna_FR" +/** +* @~english _CWORD31_ rear left DTV antenna +*/ +#define VP__CWORD31__DTV_ANTENNA_RL "VP__CWORD31__DTV_antenna_RL" +/** +* @~english _CWORD31_ rear right DTV antenna +*/ +#define VP__CWORD31__DTV_ANTENNA_RR "VP__CWORD31__DTV_antenna_RR" +/** +* @~english _CWORD31_ DTV antenna +*/ +#define VP__CWORD31__DTV_ANTENNA "VP__CWORD31__DTV_antenna" +/** +* @~english _CWORD31_ HF voice quality type +*/ +#define VP__CWORD31__HF_VOICE_QUALITY_TYPE "VP__CWORD31__HF_voice_quality_type" +/** +* @~english _CWORD31_ tune knob push +*/ +#define VP__CWORD31__TUNE_KNOB_PUSH "VP__CWORD31__tune_knob_push" +/** +* @~english _CWORD31_ screen switch seek +*/ +#define VP__CWORD31__SCREEN_SWITCH_SEEK "VP__CWORD31__screen_switch_seek" +/** +* @~english _CWORD31_ DAB antenna +*/ +#define VP__CWORD31__DAB_ANTENNA "VP__CWORD31__DAB_antenna" +/** +* @~english _CWORD31_ hard switch beep +*/ +#define VP__CWORD31__HARD_SWITCH_BEEP "VP__CWORD31__hard_switch_beep" +/** +* @~english _CWORD31_ screen switch beep +*/ +#define VP__CWORD31__SCREEN_SWITCH_BEEP "VP__CWORD31__screen_switch_beep" +/** +* @~english _CWORD31_ steering switch type +*/ +#define VP__CWORD31__STEERING_SWITCH_TYPE "VP__CWORD31__steering_switch_type" +/** +* @~english _CWORD31_ TEL switch of steering +*/ +#define VP__CWORD31__STEERING_SWITCH_TEL "VP__CWORD31__steering_switch_tel" +/** +* @~english _CWORD31_ class circuit mode +*/ +#define VP__CWORD31__CLASS_CIRCUIT_MODE "VP__CWORD31__class_circuit_mode" +/** +* @~english _CWORD31_ _CWORD67_ warning +*/ +#define VP__CWORD31___CWORD67__WARNING "VP__CWORD31___CWORD67__warning" +/** +* @~english _CWORD31_ _CWORD67_ accelerator +*/ +#define VP__CWORD31___CWORD67__ACCELERATOR "VP__CWORD31___CWORD67__accelerator" +/** +* @~english _CWORD31_ panel microcomputer +*/ +#define VP__CWORD31__PANEL_MICROCOMPUTER "VP__CWORD31__panel_microcomputer" +/** +* @~english _CWORD31_ class watch at brake hold +*/ +#define VP__CWORD31__CLASS_WATCH_AT_BRAKE_HOLD "VP__CWORD31__class_watch_at_brake_hold" +/** +* @~english _CWORD31_ GPS antenna +*/ +#define VP__CWORD31__GPS_ANTENNA "VP__CWORD31__GPS_antenna" +/** +* @~english _CWORD31_ illumination vehicle signal +*/ +#define VP__CWORD31__VEHICLE_SIGNAL_ILL "VP__CWORD31__vehicle_signal_ILL" +/** +* @~english _CWORD31_ switch trigger +*/ +#define VP__CWORD31__SWITCH_TRIGGER "VP__CWORD31__switch_trigger" +/** +* @~english _CWORD31_ sensitivity level +*/ +#define VP__CWORD31__SENSITIVITY_LEVEL "VP__CWORD31__sensitivity_level" +/** +* @~english _CWORD31_ invalidity term +*/ +#define VP__CWORD31__INVALIDITY_TERM "VP__CWORD31__invalidity_term" +/** +* @~english _CWORD31_ thumbnail type +*/ +#define VP__CWORD31__THUMBNAIL_TYPE "VP__CWORD31__thumbnail_type" +/** +* @~english _CWORD31_ BT device name +*/ +#define VP__CWORD31__BT_DEVICE_NAME "VP__CWORD31__BT_device_name" +/** +* @~english _CWORD31_ eco drive max volume +*/ +#define VP__CWORD31__ECO_DRIVE_MAX_VOLUME "VP__CWORD31__eco_drive_max_volume" +/** +* @~english _CWORD31_ EOM function +*/ +#define VP__CWORD31__EOM_FUNCTION "VP__CWORD31__EOM_function" +/** +* @~english _CWORD31_ Microphone Type +*/ +#define VP__CWORD31__MICROPHONE_TYPE "VP__CWORD31__Microphone_Type" +/** +* @~english _CWORD31_ Microphone Location +*/ +#define VP__CWORD31__MICROPHONE_LOCATION "VP__CWORD31__Microphone_Location" +/** +* @~english _CWORD31_ wide band FM +*/ +#define VP__CWORD31__WIDE_BAND_FM "VP__CWORD31__Wide_band_FM" + +#define VP__CWORD31__MAP_COLOR "VP__CWORD31__map_color" +#define VP__CWORD31__CLOUD_ECO "VP__CWORD31__cloud_eco" +#define VP__CWORD31__EG_TYPE "VP__CWORD31__EG_type" + +/** +* @~english _CWORD31_ display type +*/ +#define VP__CWORD31__DISPLAY_TYPE "VP__CWORD31__display_type" +/** +* @~english _CWORD31_ clock display +*/ +#define VP__CWORD31__CLOCK_DISPLAY "VP__CWORD31__clock_display" +/** +* @~english _CWORD31_ destination +*/ +#define VP__CWORD31__DESTINATION "VP__CWORD31__destination" +/** +* @~english _CWORD31_ class operation +*/ +#define VP__CWORD31__CLASS_OPERATION "VP__CWORD31__class_operation" +/** +* @~english _CWORD31_ opening interval +*/ +#define VP__CWORD31__OPENING_INTERVAL "VP__CWORD31__opening_interval" +/** +* @~english _CWORD31_ DES function +*/ +#define VP__CWORD31__DES_FUNCTION "VP__CWORD31__DES_function" +/** +* @~english _CWORD31_ beep sound keys +*/ +#define VP__CWORD31__BEEP_SOUND_KEYS "VP__CWORD31__beep_sound_keys" + +/** @}*/ // end of vehicle_parameter_library +/** @}*/ // end of other_service +/** @}*/ // end of BaseSystem + +#endif // VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_ENV_VEHICLE_H_ diff --git a/vehicle_parameter_library/library/include/other_service/env_vehicleparameterlibrary.h b/vehicle_parameter_library/library/include/other_service/env_vehicleparameterlibrary.h new file mode 100644 index 00000000..bbe49917 --- /dev/null +++ b/vehicle_parameter_library/library/include/other_service/env_vehicleparameterlibrary.h @@ -0,0 +1,272 @@ +/* + * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @file env_vehicleparameterlibrary.h + * @brief \~english Define of vehicle parameter environment variable + */ + +#ifndef VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_ENV_VEHICLEPARAMETERLIBRARY_H_ +#define VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_ENV_VEHICLEPARAMETERLIBRARY_H_ + +/** @addtogroup BaseSystem + * @{ + */ +/** @addtogroup other_service + * @ingroup BaseSystem + * @{ + */ +/** @addtogroup vehicle_parameter_library + * @ingroup other_service + * @{ + */ + +/** +* @~english version +*/ +#define VP_VEHICLEPARAMETERLIBRARY_VERSION "VP_VEHICLEPARAMETERLIBRARY_version" +/** +* @~english ID +*/ +#define VP_VEHICLEPARAMETERLIBRARY_VEHICLEPARAMETERLIBRARY_ID "VP_VEHICLEPARAMETERLIBRARY_vehicleparameterlibrary_ID" +/** +* @~english maker ID +*/ +#define VP_VEHICLEPARAMETERLIBRARY_MAKER_ID "VP_VEHICLEPARAMETERLIBRARY_maker_ID" +/** +* @~english area +*/ +#define VP_VEHICLEPARAMETERLIBRARY_AREA "VP_VEHICLEPARAMETERLIBRARY_area" +/** +* @~english grade +*/ +#define VP_VEHICLEPARAMETERLIBRARY_GRADE "VP_VEHICLEPARAMETERLIBRARY_grade" +/** +* @~english model ID +*/ +#define VP_VEHICLEPARAMETERLIBRARY_MODEL_ID "VP_VEHICLEPARAMETERLIBRARY_model_ID" +/** +* @~english destination country code +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DEST_C_CODE "VP_VEHICLEPARAMETERLIBRARY_dest_c_code" +/** +* @~english radio tuner number +*/ +#define VP_VEHICLEPARAMETERLIBRARY_RADIO_TUNER_NUM "VP_VEHICLEPARAMETERLIBRARY_radio_tuner_num" +/** +* @~english radio antenna number +*/ +#define VP_VEHICLEPARAMETERLIBRARY_RADIO_ANTENNA_NUM "VP_VEHICLEPARAMETERLIBRARY_radio_antenna_num" +/** +* @~english DAB tuner number +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DAB_TUNER_NUM "VP_VEHICLEPARAMETERLIBRARY_DAB_tuner_num" +/** +* @~english DAB sub antenna +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DAB_SUB_ANTENNA "VP_VEHICLEPARAMETERLIBRARY_DAB_sub_antenna" +/** +* @~english _CWORD32_ DAB +*/ +#define VP_VEHICLEPARAMETERLIBRARY__CWORD32__DAB "VP_VEHICLEPARAMETERLIBRARY__CWORD32__DAB" +/** +* @~english cache radio +*/ +#define VP_VEHICLEPARAMETERLIBRARY_CACHERADIO "VP_VEHICLEPARAMETERLIBRARY_CacheRadio" +/** +* @~english amp type +*/ +#define VP_VEHICLEPARAMETERLIBRARY_AMP_TYPE "VP_VEHICLEPARAMETERLIBRARY_AMP_type" +/** +* @~english op cooperation +*/ +#define VP_VEHICLEPARAMETERLIBRARY_OP_COOPERATION "VP_VEHICLEPARAMETERLIBRARY_OP_cooperation" +/** +* @~english display +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DISPLAY "VP_VEHICLEPARAMETERLIBRARY_DISPLAY" +/** +* @~english touch panel +*/ +#define VP_VEHICLEPARAMETERLIBRARY_TOUCHPANEL "VP_VEHICLEPARAMETERLIBRARY_TOUCHPANEL" +/** +* @~english DECK +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DECK "VP_VEHICLEPARAMETERLIBRARY_DECK" +/** +* @~english display mode +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DEFAULT_MODE "VP_VEHICLEPARAMETERLIBRARY_default_mode" +/** +* @~english voice recognition tutorial +*/ +#define VP_VEHICLEPARAMETERLIBRARY_VOICE_RECOGNITION_TUTORIAL "VP_VEHICLEPARAMETERLIBRARY_VOICE_RECOGNITION_TUTORIAL" +/** +* @~english search +*/ +#define VP_VEHICLEPARAMETERLIBRARY_SEARCH "VP_VEHICLEPARAMETERLIBRARY_SEARCH" +/** +* @~english contact +*/ +#define VP_VEHICLEPARAMETERLIBRARY_CONTACT "VP_VEHICLEPARAMETERLIBRARY_CONTACT" +/** +* @~english JP traffic information show +*/ +#define VP_VEHICLEPARAMETERLIBRARY_JPTRAFFICINFO_SHOW "VP_VEHICLEPARAMETERLIBRARY_JPTrafficInfo_show" +/** +* @~english information management +*/ +#define VP_VEHICLEPARAMETERLIBRARY_INFOMATION_MANAGEMENT "VP_VEHICLEPARAMETERLIBRARY_INFOMATION_MANAGEMENT" +/** +* @~english sub screen apps show +*/ +#define VP_VEHICLEPARAMETERLIBRARY_SUBSCREEN_APPS_SW "VP_VEHICLEPARAMETERLIBRARY_SUBSCREEN_APPS_SW" +/** +* @~english WIFI STA enable +*/ +#define VP_VEHICLEPARAMETERLIBRARY_WIFI_STA_ENABLE "VP_VEHICLEPARAMETERLIBRARY_WIFI_STA_ENABLE" +/** +* @~english WIFI AP enable +*/ +#define VP_VEHICLEPARAMETERLIBRARY_WIFI_AP_ENABLE "VP_VEHICLEPARAMETERLIBRARY_WIFI_AP_ENABLE" +/** +* @~english WIFI DIRECT enable +*/ +#define VP_VEHICLEPARAMETERLIBRARY_WIFI_DIRECT_ENABLE "VP_VEHICLEPARAMETERLIBRARY_WIFI_DIRECT_ENABLE" +/** +* @~english has GPS +*/ +#define VP_VEHICLEPARAMETERLIBRARY_HAS_GPS "VP_VEHICLEPARAMETERLIBRARY_HAS_GPS" +/** +* @~english default status is has _CWORD80_ +*/ +#define VP_VEHICLEPARAMETERLIBRARY__CWORD6_ "VP_VEHICLEPARAMETERLIBRARY__CWORD6_" +/** +* @~english phase +*/ +#define VP_VEHICLEPARAMETERLIBRARY_PHASE "VP_VEHICLEPARAMETERLIBRARY_PHASE" +/** +* @~english certification soft +*/ +#define VP_VEHICLEPARAMETERLIBRARY_CERTIFICATION_SOFT "VP_VEHICLEPARAMETERLIBRARY_CERTIFICATION_SOFT" +/** +* @~english _CWORD116_ +*/ +#define VP_VEHICLEPARAMETERLIBRARY__CWORD6_ "VP_VEHICLEPARAMETERLIBRARY__CWORD6_" +/** +* @~english voice tags +*/ +#define VP_VEHICLEPARAMETERLIBRARY_VOICE_TAGS "VP_VEHICLEPARAMETERLIBRARY_VOICE_TAGS" +/** +* @~english BT HFP +*/ +#define VP_VEHICLEPARAMETERLIBRARY_BT_2HFP "VP_VEHICLEPARAMETERLIBRARY_BT_2HFP" +/** +* @~english connection server +*/ +#define VP_VEHICLEPARAMETERLIBRARY_CONNECTION_SERVER "VP_VEHICLEPARAMETERLIBRARY_CONNECTION_SERVER" +/** +* @~english frameworkunifiedlog ENC key type +*/ +#define VP_VEHICLEPARAMETERLIBRARY_VEHICLEPARAMETERLIBRARYLOG_ENC_KEYTYPE "VP_VEHICLEPARAMETERLIBRARY_VEHICLEPARAMETERLIBRARYLOG_ENC_KEYTYPE" +/** +* @~english destination vol 1 +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DES_VOL_1 "VP_VEHICLEPARAMETERLIBRARY_DES_VOL_1" +/** +* @~english destination vol 2 +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DES_VOL_2 "VP_VEHICLEPARAMETERLIBRARY_DES_VOL_2" +/** +* @~english destination vol 3 +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DES_VOL_3 "VP_VEHICLEPARAMETERLIBRARY_DES_VOL_3" +/** +* @~english destination vol 4 +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DES_VOL_4 "VP_VEHICLEPARAMETERLIBRARY_DES_VOL_4" +/** +* @~english destination vol 5 +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DES_VOL_5 "VP_VEHICLEPARAMETERLIBRARY_DES_VOL_5" +/** +* @~english destination vol 6 +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DES_VOL_6 "VP_VEHICLEPARAMETERLIBRARY_DES_VOL_6" +/** +* @~english destination vol 7 +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DES_VOL_7 "VP_VEHICLEPARAMETERLIBRARY_DES_VOL_7" +/** +* @~english destination vol 8 +*/ +#define VP_VEHICLEPARAMETERLIBRARY_DES_VOL_8 "VP_VEHICLEPARAMETERLIBRARY_DES_VOL_8" +/** +* @~english steering type +*/ +#define VP_VEHICLEPARAMETERLIBRARY_STEERING_TYPE "VP_VEHICLEPARAMETERLIBRARY_STEERING_TYPE" +/** +* @~english move range of handwrite mode +*/ +#define VP_VEHICLEPARAMETERLIBRARY_HANDWRITEMODE_MOVERANGE "VP_VEHICLEPARAMETERLIBRARY_Handwritemode_moverange" +/** +* @~english touchpad home show +*/ +#define VP_VEHICLEPARAMETERLIBRARY_TOUCHPAD_HOME_SW "VP_VEHICLEPARAMETERLIBRARY_TOUCHPAD_HOME_SW" +/** +* @~english BT add device switch +*/ +#define VP_VEHICLEPARAMETERLIBRARY_BT_ADD_DEVICE_SW "VP_VEHICLEPARAMETERLIBRARY_BT_ADD_DEVICE_SW" +/** +* @~english AGL URL of Product for Repro. +*/ +#define VP_AGL_REPRO_SVR_PRODUCT_URL "VP_AGL_REPRO_SVR_PRODUCT_URL" +/** +* @~english AGL URL of Try for Repro. +*/ +#define VP_AGL_REPRO_SVR_TRY_URL "VP_AGL_REPRO_SVR_TRY_URL" +/** +* @~english AGL URL of Test for Repro. +*/ +#define VP_AGL_REPRO_SVR_TEST_URL "VP_AGL_REPRO_SVR_TEST_URL" + + +#define VP_VEHICLEPARAMETERLIBRARY__CWORD70__EU "VP_VEHICLEPARAMETERLIBRARY__CWORD70__EU" +#define VP_VEHICLEPARAMETERLIBRARY__CWORD40_ "VP_VEHICLEPARAMETERLIBRARY__CWORD40_" +#define VP_VEHICLEPARAMETERLIBRARY_DCM_EC "VP_VEHICLEPARAMETERLIBRARY_DCM_EC" +#define VP_VEHICLEPARAMETERLIBRARY_EXTERNALDISPLAY_INTERACTION "VP_VEHICLEPARAMETERLIBRARY_ExternalDisplay_Interaction" +#define VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_FL_SP "VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_FL_SP" +#define VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_FR_SP "VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_FR_SP" +#define VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_RL_SP "VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_RL_SP" +#define VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_RR_SP "VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_RR_SP" +#define VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_FC_SP "VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_FC_SP" +#define VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_ML_SP "VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_ML_SP" +#define VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_MR_SP "VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_MR_SP" +#define VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_NAVI_SP "VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_NAVI_SP" +#define VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_HRDRIVER "VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_HRDriver" +#define VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_HRPASSENGER "VP_VEHICLEPARAMETERLIBRARY_DES_OUTPUT_HRPassenger" +#define VP_VEHICLEPARAMETERLIBRARY_AUTOMATED_DRIVING "VP_VEHICLEPARAMETERLIBRARY_AUTOMATED_DRIVING" +#define VP_VEHICLEPARAMETERLIBRARY_OPN_MOV "VP_VEHICLEPARAMETERLIBRARY_OPN_MOV" +#define VP_VEHICLEPARAMETERLIBRARY__CWORD84__SDSLOT "VP_VEHICLEPARAMETERLIBRARY__CWORD84__SDslot" +#define VP_VEHICLEPARAMETERLIBRARY_BTANT_TYPE "VP_VEHICLEPARAMETERLIBRARY_BTANT_TYPE" +#define VP_VEHICLEPARAMETERLIBRARY_MIC_MFR "VP_VEHICLEPARAMETERLIBRARY_MIC_MFR" + + +/** @}*/ // end of vehicle_parameter_library +/** @}*/ // end of other_service +/** @}*/ // end of BaseSystem + +#endif // VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_ENV_VEHICLEPARAMETERLIBRARY_H_ diff --git a/vehicle_parameter_library/library/include/other_service/env_vehicleparameterlibrary_serial.h b/vehicle_parameter_library/library/include/other_service/env_vehicleparameterlibrary_serial.h new file mode 100644 index 00000000..8aeb048f --- /dev/null +++ b/vehicle_parameter_library/library/include/other_service/env_vehicleparameterlibrary_serial.h @@ -0,0 +1,67 @@ +/* + * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @file env_vehicleparameterlibrary_serial.h + * @brief \~english Define of Serial vehicle parameter environment variable + */ + +#ifndef VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_ENV_VEHICLEPARAMETERLIBRARY_SERIAL_H_ +#define VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_ENV_VEHICLEPARAMETERLIBRARY_SERIAL_H_ + +/** @addtogroup BaseSystem + * @{ + */ +/** @addtogroup other_service + * @ingroup BaseSystem + * @{ + */ +/** @addtogroup vehicle_parameter_library + * @ingroup other_service + * @{ + */ + +/** + * \~english Enviroment variable serial + */ +#define VP_VEHICLEPARAMETERLIBRARY_SER_SERIAL "VP_VEHICLEPARAMETERLIBRARY_SER_serial" + +/** + * \~english Enviroment variable _CWORD49__ID + */ +#define VP_VEHICLEPARAMETERLIBRARY_SER__CWORD49__ID "VP_VEHICLEPARAMETERLIBRARY_SER__CWORD49__ID" +/** + * \~english Enviroment variable HELPNET_ID + */ +#define VP_VEHICLEPARAMETERLIBRARY_SER_HELPNET_ID "VP_VEHICLEPARAMETERLIBRARY_SER_HELPNET_ID" +/** + * \~english Enviroment variable map_update_ID + */ +#define VP_VEHICLEPARAMETERLIBRARY_SER_MAP_UPDATE_ID "VP_VEHICLEPARAMETERLIBRARY_SER_map_update_ID" +/** + * \~english Enviroment variable ship_date + */ +#define VP_VEHICLEPARAMETERLIBRARY_SER_SHIP_DATE "VP_VEHICLEPARAMETERLIBRARY_SER_ship_date" +/** + * \~english Enviroment variable FACTORY_ID + */ +#define VP_VEHICLEPARAMETERLIBRARY_SER_FACTORY_ID "VP_VEHICLEPARAMETERLIBRARY_SER_FACTORY_ID" + +/** @}*/ // end of vehicle_parameter_library +/** @}*/ // end of other_service +/** @}*/ // end of BaseSystem + +#endif // VEHICLE_PARAMETER_LIBRARY_LIBRARY_INCLUDE_OTHER_SERVICE_ENV_VEHICLEPARAMETERLIBRARY_SERIAL_H_ diff --git a/vehicle_parameter_library/library/include/other_service/vehicle_parameter_library.h b/vehicle_parameter_library/library/include/other_service/vehicle_parameter_library.h new file mode 100644 index 00000000..bf88080d --- /dev/null +++ b/vehicle_parameter_library/library/include/other_service/vehicle_parameter_library.h @@ -0,0 +1,46 @@ +/* + * @copyright Copyright (c) 2017-2019 TOYOTA MOTOR CORPORATION. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @file vehicle_parameter_library.h + * @brief \~english include all vehicle_parameter_library head files + */ + +#ifndef OTHERSERVICE_VEHICLEPARAMETERLIBRARY_H_ // NOLINT(build/header_guard) +#define OTHERSERVICE_VEHICLEPARAMETERLIBRARY_H_ // NOLINT(build/header_guard) + +/** @addtogroup BaseSystem + * @{ + */ +/** @addtogroup other_service + * @ingroup BaseSystem + * @{ + */ +/** @addtogroup vehicle_parameter_library + * @ingroup other_service + * @{ + */ +#include <other_service/VP_FuncCheck_CanRcv.h> +#include <other_service/VP_GetEnv.h> +#include <other_service/env_vehicleparameterlibrary.h> +#include <other_service/env_vehicleparameterlibrary_serial.h> +#include <other_service/env_vehicle.h> +#include <other_service/env_ext.h> +/** @}*/ // end of vehicle_parameter_library +/** @}*/ // end of other_service +/** @}*/ // end of BaseSystem + +#endif // OTHERSERVICE_VEHICLEPARAMETERLIBRARY_H_ |