Tizen 2.0 Release
[framework/system/oma-dm-agent.git] / src / plugins / dm-private / slp-device-dm / include / plugin_slp_device_dm.h
1 /*
2  * oma-dm-agent
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 #ifndef PLUGIN_SLP_DEVICE_DM_H_
19 #define PLUGIN_SLP_DEVICE_DM_H_
20
21 /*
22  *      list of device information on SLP
23  */
24
25 /*
26  * < OMA DM >
27  *  1. DevInfo
28  *  - DevID : device id
29  *  - Man : manufacture
30  *  - Mod : model id or model number
31  *  - DmV : OMA DM client version
32  *  - Lang : current setting language
33  *  - Bearer : bearer
34  *
35  *  2. DevDetail
36  *  - KernelV : kernel version
37  *  - SwV : software version
38  *  - HwV : hardware version
39  *  - FwV : firmware version
40  *  - ModemV : modem version
41  *  - PDAV : PDA version
42  *  - OEM : original equipment manufacturer
43  *  - DevType : device type
44  *  - Bearer : bearer
45  *  - FOTADownDir : firmware download directory
46  *  - FOTASaveDir : firmware save directory
47  *  - Battery : battery level
48  *  - MCC :contry code
49  *  - CSC:
50  */
51
52 /**
53  * @brief Enumerations for state of power manager
54  */
55 typedef enum {
56         LCD_NORMAL = 0,
57         LCD_DIM,
58         LCD_OFF,
59         SUSPEND,
60         POWER_OFF,
61         SETALL
62 } pm_state_e;
63
64 /**
65  * @brief Enumerations for lock state of power manager
66  */
67 typedef enum {
68         GOTO_STATE_NOW = 0,
69         STAY_CUR_STATE
70 } pm_lock_state_flag_e;
71
72 /**
73  * @brief Enumerations for unlock state of power manager
74  */
75 typedef enum {
76         SLEEP_MARGIN = 0,
77         RESET_TIMER,
78         KEEP_TIMER
79 } pm_unlock_state_flag_e;
80
81 #endif                          /* PLUGIN_SLP_DEVICE_DM_H_ */