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.
19 * @brief \~english RPC library -- RPC_ID(port no) define
21 /** @addtogroup BaseSystem
24 /** @addtogroup other_service
28 /** @addtogroup rpc_library
29 * @ingroup other_service
33 /** @brief \~english define the RPC_ID used by program
34 * like #define XXX_RPC_ID ID
35 * but RPC_START_CLIENT() is not necessary
37 * RPC_ID as the following
38 * - UI Application : 50xxx
39 * - Application Service : 51xxx
43 * + Connectivity : 514xx
44 * + Navigation/Location: 515xx
46 * + Communication : 517xx
50 * - Common Service : 53xxx
51 * - Extension Service : 55xxx
52 * - System/Device Driver : 56xxx
54 * - 49152~59999 are Reserved.
55 * @note \~english RPC_ID==port num ,
56 * when not call from RPClibrary, and not well-known(~1023)/registered(1024~49151)
57 * use the fixed port num to IP communicate, use 6xxxx port number.
58 * @note \~english when RPC_START_CLIENT,and distribute automatically.
59 * use the linux kernel port distribute function
60 * 1024~4999 as the port num unused.
63 #ifndef OTHERSERVICE_RPCID_H_ // NOLINT(build/header_guard)
64 #define OTHERSERVICE_RPCID_H_ // NOLINT(build/header_guard)
67 #define test_RPC_ID 49999
68 ///< \~english sample(ID is used by RPClibrary test program)
70 /* UI Aapplication : 50xxx */
72 /* Application Service : 51xxx */
73 #define MODEMANAGER_RPC_ID 51100 /* ModeManager */
74 #define ACTIVITYMANAGER_RPC_ID 51101 /* ActivityManager */
76 /* Common Service : 53xxx */
77 #define TIMERENTRYDRV_RPC_ID 53000 /* TimerEntryDrv */
78 #define TSKM_RPC_ID 53001 /* TaskManager */
79 #define MSGBRK_RPC_ID 53002 /* MessageBroker */
80 #define IPMANAGER_RPC_ID 53003 /* IPManager */
81 #define IPMANAGER_RPC_ID 53003 /* IPManager */
82 #define DEVICEMANAGER_RPC_ID 53004 /* DeviceManager */
83 #define CAN_RPC_ID 53005 /* Communication(CAN) */
84 #define _CWORD83__RPC_ID 53006 /* Communication(_CWORD83_) */
85 #define SENSOR_RPC_ID 53007 /* Vehicle(Sensor) */
86 #define GPS_RPC_ID 53008 /* Vehicle(GPS) */
87 #define RESMGR_RPC_ID 53009 /* ResourceManager */
88 #define GRAPHICS_RPC_ID 53010 /* Graphic */
90 /* Extension Service : 55xxx */
92 /* System/Device Driver : 56xxx */
93 /** @}*/ // end of rpc_library
94 /** @}*/ // end of other_service
95 /** @}*/ // end of BaseSystem
96 #endif // OTHERSERVICE_RPCID_H_