2 * @copyright Copyright (c) 2017-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 * @file positioning_common.h
20 #ifndef INC_COMMON_POSITIONING_COMMON_H_
21 #define INC_COMMON_POSITIONING_COMMON_H_
23 /*---------------------------------------------------------------------------*/
26 #include "positioning_def.h"
28 /*---------------------------------------------------------------------------*/
31 /*---------------------------------------------------------------------------*/
34 /*---------------------------------------------------------------------------*/
37 typedef struct PosResetinfo {
38 uint8_t mode; // Reset mode
39 uint8_t reserve[3]; // reserve
40 PNO sndpno; // Caller PNO
41 PNO respno; // Destination PNO
45 @brief Thread activation information
47 typedef struct StThreadSetupInfo {
48 EnumSetupMode_POS mode; // Thread activation mode
49 } ST_THREAD_SETUP_INFO;
52 /*---------------------------------------------------------------------------*/
54 EFrameworkunifiedStatus PosInitialize(HANDLE h_app);
55 EnumSetupMode_POS PosSetupThread(HANDLE h_app, EnumTID_POS e_tid);
56 void PosTeardownThread(EnumTID_POS e_tid);
57 EFrameworkunifiedStatus PosCreateThread(HANDLE h_app, int8_t index);
59 /*---------------------------------------------------------------------------*/
60 #endif // INC_COMMON_POSITIONING_COMMON_H_
62 /*---------------------------------------------------------------------------*/