2 * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * @file ss_devicedetection_service_protocol.h
19 * @brief This file supports the Device Detection service.
22 /** @addtogroup BaseSystem
25 /** @addtogroup system_service
29 /** @addtogroup device_detection_service
30 * @ingroup system_service
34 #ifndef _SS_DEVICEDETECTION_SERVICE_PROTOCOL_H_ // NOLINT (build/header_guard)
35 #define _SS_DEVICEDETECTION_SERVICE_PROTOCOL_H_
37 #include <native_service/frameworkunified_types.h>
38 #include <native_service/frameworkunified_service_protocol.h>
39 #include "system_service/ss_devicedetection_service.h"
46 * \~english Event type (USB/SD/...etc event)
48 typedef enum _DeviceDetectionServerEvents {
50 * \~english Notify whenever a USB MassStorage device is connected/removed
52 SS_DEV_DETECT_ANY_USB_EV = 121,
54 * \~english Notify whenever a SD device is connected/removed
56 SS_DEV_DETECT_ANY_SD_EV = 122,
58 * \~english Notify all events for all devices
60 SS_DEV_DETECT_FILEPATHNAME_EV = 123,
62 * \~english Notify whenever a Navi Emmc device is connected/removed
64 SS_DEV_DETECT_ANY_EMMC_NAV_EV = 124,
66 * \~english Notify whenever a USB device is connected/removed
68 SS_DEV_INFO_ANY_USB_EV = 125,
70 * \~english Notify whenever a DISC(block) device is connected/removed
72 SS_DEV_DETECT_ANY_DISC_EV = 126,
74 * \~english Notify whenever a USB NCM device is connected/removed
76 SS_DEV_DETECT_ANY_USB_NCM_EV = 127,
78 * \~english Notify whenever a USB _CWORD57_ device is connected/removed
80 SS_DEV_DETECT_ANY_USB__CWORD57__EV = 128,
82 * \~english Notify whenever a USB ACM device is connected/removed (for DCM)
84 SS_DEV_DETECT_ANY_USB_ACM_EV = 129,
86 * \~english Notify whenever a USB Device Management device is connected/removed (for DCM)
88 SS_DEV_DETECT_ANY_USB_DEV_MNG_EV = 130,
90 * \~english Notify whenever a USB Vics Control device is connected/removed (for DCM)
92 SS_DEV_DETECT_ANY_USB_VEHICLE_CTRL_EV = 131,
94 * \~english Notify whenever a USB DSRC Application device is connected/removed (for DSRC)
96 SS_DEV_DETECT_ANY_USB_DSRC_APP_EV = 132,
98 * \~english Notify whenever a USB DSRC Control device is connected/removed (for DSRC)
100 SS_DEV_DETECT_ANY_USB_DSRC_CTRL_EV = 133,
102 * \~english Notify whenever a USB IR Vics Data device is connected/removed (for DSRC)
104 SS_DEV_DETECT_ANY_USB_IR_VICS_DATA_EV = 134,
106 * \~english Notify whenever USB Over Current is Detected
108 SS_DEV_ERR_USB_OVER_CURRENT_EV = 135,
110 * \~english Notify whenever USB MTP Device is Detected
112 SS_DEV_DETECT_ANY_USB_MTP_EV = 136,
114 * \~english Notify whenever USB Authentication Error Notify
116 SS_DEV_INFO_ANY_USB_NOTIFY_EV = 137,
118 * \~english Notify whenever a USB _CWORD57_ device is connected/removed after RoleSW.
120 SS_DEV_DETECT_ANY_USB__CWORD57__ROLE_EV = 138,
122 * \~english Notify whenever SD is formated.
124 SS_DEV_INFO_SD_FORMAT_COMP_EV = 139,
126 * \~english Notify whenever a USB NCM device is connected/removed (for DCM)
128 SS_DEV_DETECT_ANY_USB_DCM_NCM_EV = 140,
130 * \~english Notify whenever a DVD-P device is connected/removed
132 SS_DEV_INFO_ANY_USB_DVDP_EV = 141,
133 } SS_DeviceDetectionServerEvents;
139 #endif /* _SS_DEVICEDETECTION_SERVICE_PROTOCOL_H_ */ // NOLINT (build/header_guard)
141 /** @}*/ // end of device_detection_service
142 /** @}*/ // end of system_service
143 /** @}*/ // end of BaseSystem