aboutsummaryrefslogtreecommitdiffstats
path: root/include/types.h
blob: 2a39af7e023858f03eee69bffd6f6a2778672696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/**
 * This file is part of libsamsung-ipc.
 *
 * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com>
 *
 * libsamsung-ipc is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * libsamsung-ipc is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with libsamsung-ipc.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#ifndef __TYPES_H__
#define __TYPES_H__

#include "call.h"
#include "disp.h"
#include "gen.h"
#include "misc.h"
#include "net.h"
#include "sec.h"
#include "sms.h"
#include "pwr.h"
#include "rfs.h"
#include "snd.h"
#include "gprs.h"

/* AP -> Baseband */
#define IPC_TYPE_EXEC                               0x01
#define IPC_TYPE_GET                                0x02
#define IPC_TYPE_SET                                0x03
#define IPC_TYPE_CFRM                               0x04
#define IPC_TYPE_EVENT                              0x05

/* Baseband -> AP */
#define IPC_TYPE_INDI                               0x01
#define IPC_TYPE_RESP                               0x02
#define IPC_TYPE_NOTI                               0x03

/* Message groups */
#define IPC_GROUP_PWR                               0x01
#define IPC_GROUP_CALL                              0x02
#define IPC_GROUP_SMS                               0x04
#define IPC_GROUP_SEC                               0x05
#define IPC_GROUP_PB                                0x06
#define IPC_GROUP_DISP                              0x07
#define IPC_GROUP_NET                               0x08
#define IPC_GROUP_SND                               0x09
#define IPC_GROUP_MISC                              0x0A
#define IPC_GROUP_SVC                               0x0B
#define IPC_GROUP_SS                                0x0C
#define IPC_GROUP_GPRS                              0x0D
#define IPC_GROUP_SAT                               0x0E
#define IPC_GROUP_CFG                               0x0F
#define IPC_GROUP_IMEI                              0x10
#define IPC_GROUP_GPS                               0x11
#define IPC_GROUP_SAP                               0x12
#define IPC_GROUP_RFS                               0x42
#define IPC_GROUP_GEN                               0x80

/* Pb */
#define IPC_PB_ACCESS                               0x0601
#define IPC_PB_STORAGE                              0x0602
#define IPC_PB_STORAGE_LIST                         0x0603
#define IPC_PB_ENTRY_INFO                           0x0604
#define IPC_PB_CAPABILITY_INFO                      0x0605

/* Sat */
#define IPC_SAT_PROFILE_DOWNLOAD                    0x0E01
#define IPC_SAT_ENVELOPE_CMD                        0x0E02
#define IPC_SAT_PROACTIVE_CMD                       0x0E03
#define IPC_SAT_TERMINATE_USAT_SESSION              0x0E04
#define IPC_SAT_EVENT_DOWNLOAD                      0x0E05
#define IPC_SAT_PROVIDE_LOCAL_INFO                  0x0E06
#define IPC_SAT_POLLING                             0x0E07
#define IPC_SAT_REFRESH                             0x0E08
#define IPC_SAT_SETUP_EVENT_LIST                    0x0E09
#define IPC_SAT_CALL_CONTROL_RESULT                 0x0E0A
#define IPC_SAT_IMAGE_CLUT                          0x0E0B
#define IPC_SAT_CALL_PROCESSING                     0x0E0C

/* IMEI */
#define IPC_IMEI_START                              0x1001
#define IPC_IMEI_CHECK_DEVICE_INFO                  0x1002

#endif

// vim:ts=4:sw=4:expandtab