~cyphermox/ubuntu/natty/ofono/release-0.41

« back to all changes in this revision

Viewing changes to drivers/isimodem/info.h

  • Committer: Mathieu Trudel-Lapierre
  • Date: 2011-02-11 02:17:20 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: mathieu-tl@ubuntu.com-20110211021720-cvxc3erw1keomunj
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
extern "C" {
27
27
#endif
28
28
 
29
 
#define PN_PHONE_INFO   0x1B
30
 
#define PN_EPOC_INFO    98
31
 
#define INFO_TIMEOUT    5
 
29
#define PN_PHONE_INFO                           0x1B
 
30
#define PN_EPOC_INFO                            98
 
31
#define INFO_TIMEOUT                            5
32
32
 
33
33
enum info_isi_cause {
34
 
        INFO_OK = 0x00,
35
 
        INFO_FAIL = 0x01,
36
 
        INFO_NO_NUMBER = 0x02,
37
 
        INFO_NOT_SUPPORTED = 0x03
 
34
        INFO_OK =                               0x00,
 
35
        INFO_FAIL =                             0x01,
 
36
        INFO_NO_NUMBER =                        0x02,
 
37
        INFO_NOT_SUPPORTED =                    0x03,
38
38
};
39
39
 
40
40
enum info_message_id {
41
 
        INFO_SERIAL_NUMBER_READ_REQ = 0x00,
42
 
        INFO_SERIAL_NUMBER_READ_RESP = 0x01,
43
 
        INFO_VERSION_READ_REQ = 0x07,
44
 
        INFO_VERSION_READ_RESP = 0x08,
45
 
        INFO_PRODUCT_INFO_READ_REQ = 0x15,
46
 
        INFO_PRODUCT_INFO_READ_RESP = 0x16,
47
 
        INFO_COMMON_MESSAGE = 0xF0
 
41
        INFO_SERIAL_NUMBER_READ_REQ =           0x00,
 
42
        INFO_SERIAL_NUMBER_READ_RESP =          0x01,
 
43
        INFO_PP_READ_REQ =                      0x02,
 
44
        INFO_PP_READ_RESP =                     0x03,
 
45
        INFO_VERSION_READ_REQ =                 0x07,
 
46
        INFO_VERSION_READ_RESP =                0x08,
 
47
        INFO_PRODUCT_INFO_READ_REQ =            0x15,
 
48
        INFO_PRODUCT_INFO_READ_RESP =           0x16,
 
49
        INFO_COMMON_MESSAGE =                   0xF0,
48
50
};
49
51
 
50
52
enum info_subblock {
51
 
        INFO_SB_PRODUCT_INFO_NAME = 0x01,
52
 
        INFO_SB_PRODUCT_INFO_MANUFACTURER = 0x07,
53
 
        INFO_SB_SN_IMEI_PLAIN = 0x41,
54
 
        INFO_SB_SN_IMEI_SV_TO_NET = 0x43,
55
 
        INFO_SB_MCUSW_VERSION = 0x48
 
53
        INFO_SB_PRODUCT_INFO_NAME =             0x01,
 
54
        INFO_SB_PRODUCT_INFO_MANUFACTURER =     0x07,
 
55
        INFO_SB_SN_IMEI_PLAIN =                 0x41,
 
56
        INFO_SB_SN_IMEI_SV_TO_NET =             0x43,
 
57
        INFO_SB_PP =                            0x47,
 
58
        INFO_SB_MCUSW_VERSION =                 0x48,
56
59
};
57
60
 
58
61
enum info_product_info_type {
59
 
        INFO_PRODUCT_NAME = 0x01,
60
 
        INFO_PRODUCT_MANUFACTURER = 0x07
 
62
        INFO_PRODUCT_NAME =                     0x01,
 
63
        INFO_PRODUCT_MANUFACTURER =             0x07,
61
64
};
62
65
 
63
66
enum info_serial_number_type {
64
 
        INFO_SN_IMEI_PLAIN = 0x41
 
67
        INFO_SN_IMEI_PLAIN =                    0x41,
65
68
};
66
69
 
67
70
enum info_version_type {
68
 
        INFO_MCUSW = 0x01
 
71
        INFO_MCUSW =                            0x01,
 
72
};
 
73
 
 
74
enum info_pp_feature {
 
75
        INFO_PP_MAX_PDP_CONTEXTS =              0xCA
69
76
};
70
77
 
71
78
#ifdef __cplusplus