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.
17 ///////////////////////////////////////////////////////////////////////////////
18 /// \ingroup tag_SystemServicesIf
19 /// \brief This file supports the Device Detection service.
21 ///////////////////////////////////////////////////////////////////////////////
25 #ifndef _SS_DEVICEDETECTION_SERVICE_PROTOCOL_LOCAL_H_ // NOLINT (build/header_guard)
26 #define _SS_DEVICEDETECTION_SERVICE_PROTOCOL_LOCAL_H_
33 typedef enum _DeviceDetectionServerProtocol {
34 SS_DEV_DETECT_GET_APP_INFO = 0x10, /// client to service: not really needed
35 SS_DEV_DETECT_RETURN_APP_INFO = 0x11, /// service to client: not really needed
36 SS_UDEV_DEV_DETECT_INFO = 0x12, /// UDEV to service: device detect info sent to service
37 SS_UDEV_DEV_DETECT_FILEPATHNAME_INFO = 0x13, /// File pathname info cmd
38 SS_REGISTER_FILEPATHNAME = 0x14, /// Register file pathname cmd
39 SS_BSP_DEV_DETECT_ERR_INFO = 0x15, /// BSP / MCD device insert/removal/mount error report.
40 SS_REGISTER_DETECT_EVENT = 0x16, /// Register DeviceDetection Event
41 SS_UDEV_DEV_DEVICE_INFO = 0x17, /// UDEV to service: device info sent to service
42 SS_UDEV_DEV_DETECT_NCM_INFO = 0x18, /// UDEV to service: detect ncm sent to service
43 SS_UDEV_DEV_DETECT__CWORD57__INFO = 0x19, /// UDEV to service: detect _CWORD57_ sent to service
44 SS_UDEV_DEV_DETECT_ACM_INFO = 0x1a, /// UDEV to service: detect ACM sent to service
45 SS_UDEV_DEV_DETECT_MNG_INFO = 0x1b, /// UDEV to service: detect DeviceManagementModel sent to service
46 SS_UDEV_DEV_DETECT_VEHICLE_CTRL_INFO = 0x1c, /// UDEV to service: detect Vehicle Control sent to service
47 SS_UDEV_DEV_DETECT_DSRCCTL_INFO = 0x1d, /// UDEV to service: detect DSRC Application sent to service
48 SS_UDEV_DEV_DETECT_DSRCAPP_INFO = 0x1e, /// UDEV to service: detect DSRC Control sent to service
49 SS_UDEV_DEV_DETECT_IRVICS_DATA_INFO = 0x1f, /// UDEV to service: detect IR-VICS Data sent to service
50 SS_DETECT_USB_OVC_ERR = 0x20, /// USB Monitor OVC to service: detect OverCurrent Error
51 SS_UDEV_DEV_DETECT_MTP_INFO = 0x21, /// UDEV to service: detect MTP Device
52 SS_DEV_MOUNT_SD = 0x22, /// client to service: mount SD partion
53 SS_DEV_UMOUNT_SD = 0x23, /// client to service: umount SD partion
54 SS_DEV_REMOUNT_PARTITION = 0x24, /// client to service: Remount partion
55 SS_UNREGISTER_DETECT_EVENT = 0x25, /// UnRegister DeviceDetection event
56 SS_USB_VBUS_RESET = 0x26, /// client to service: USB Vbus Reset
57 SS_UDEV_USB_AUTHENTICATION_ERR_INFO = 0x27, /// USB Monitor to service: USB Authentication Error Notify
58 SS_UDEV_DEV_DETECT_USB_FUNC_INFO = 0x28, /// USB Monitor to service: detect USB Func to service
59 SS_DEV_ROLE_SW_STATE_NOTIFY = 0x29, /// client to service: notify RoleSw state
60 SS_DEV_FORMAT_SD = 0x2a, /// client to service: Format SD
61 SS_INFO_FORMAT_SD = 0x2b, /// SDDRV to service: Infomation Format SD result
62 }SS_DeviceDetectionServerProtocol;
68 #endif /* _SS_DEVICEDETECTION_SERVICE_PROTOCOL_LOCAL_H_ */ // NOLINT (build/header_guard)