connectivitylayer/isimessage/symbianisamacroif/include/wgmodem25/net_modemisi.h
changeset 9 8486d82aef45
parent 5 8ccc39f9d787
equal deleted inserted replaced
8:6295dc2169f3 9:8486d82aef45
    22 
    22 
    23 #ifndef _SYMBIAN_ISI_NET_MODEMISI_H_
    23 #ifndef _SYMBIAN_ISI_NET_MODEMISI_H_
    24 #define _SYMBIAN_ISI_NET_MODEMISI_H_
    24 #define _SYMBIAN_ISI_NET_MODEMISI_H_
    25 
    25 
    26 #define MODEM_NETWORK_SELECT_SERVER_ISI_VERSION_Z	 16
    26 #define MODEM_NETWORK_SELECT_SERVER_ISI_VERSION_Z	 16
    27 #define MODEM_NETWORK_SELECT_SERVER_ISI_VERSION_Y	 9
    27 #define MODEM_NETWORK_SELECT_SERVER_ISI_VERSION_Y	 12
    28 
    28 
    29 
    29 
    30 //CONSTANTS
    30 //CONSTANTS
    31 #define NET_INVALID_TIME                                  	0x64                                              	
    31 #define NET_INVALID_TIME                                  	0x64                                              	
    32 #define NET_FILL                                          	0x00                                                 	
    32 #define NET_FILL                                          	0x00                                                 	
    38 #define NET_MODEM_ANY_SIZE                                	0x01                                                 	
    38 #define NET_MODEM_ANY_SIZE                                	0x01                                                 	
    39 #define NET_RSSI_UNDEFINED                                	0x00                                                 	
    39 #define NET_RSSI_UNDEFINED                                	0x00                                                 	
    40 #define NET_INDEX_NOT_USED                                	0x00                                                 	
    40 #define NET_INDEX_NOT_USED                                	0x00                                                 	
    41 #define NET_SCRAMBLING_CODE_UNDEFINED                     	0xFFFF                                            	
    41 #define NET_SCRAMBLING_CODE_UNDEFINED                     	0xFFFF                                            	
    42 #define NET_ECID_TA_UNDEFINED                             	0xFF                                              	
    42 #define NET_ECID_TA_UNDEFINED                             	0xFF                                              	
       
    43 #define NET_NO_RSSI_INDICATED                             	0x00                                                 	
       
    44 #define NET_ALL_RSSI_INDICATED                            	0xFF                                              	
    43 
    45 
    44 
    46 
    45 //TABLES
    47 //TABLES
    46 
    48 
    47 //ConstantTable for NET_MODEM_SUCCESS_CODES
    49 //ConstantTable for NET_MODEM_SUCCESS_CODES
   108 #define NET_SELECT_MODE_UNKNOWN                           	0x00                                                 	
   110 #define NET_SELECT_MODE_UNKNOWN                           	0x00                                                 	
   109 #define NET_SELECT_MODE_MANUAL                            	0x01                                                 	
   111 #define NET_SELECT_MODE_MANUAL                            	0x01                                                 	
   110 #define NET_SELECT_MODE_AUTOMATIC                         	0x02                                                 	
   112 #define NET_SELECT_MODE_AUTOMATIC                         	0x02                                                 	
   111 #define NET_SELECT_MODE_USER_RESELECTION                  	0x03                                                 	
   113 #define NET_SELECT_MODE_USER_RESELECTION                  	0x03                                                 	
   112 #define NET_SELECT_MODE_NO_SELECTION                      	0x04                                                 	
   114 #define NET_SELECT_MODE_NO_SELECTION                      	0x04                                                 	
       
   115 #define NET_SELECT_MODE_POWER_ON_AUTOMATIC                	0x05                                                 	
       
   116 #define NET_SELECT_MODE_POWER_ON_MANUAL                   	0x06                                                 	
       
   117 #define NET_SELECT_MODE_POWER_ON_NO_SELECTION             	0x07                                                 	
   113 
   118 
   114 //ConstantTable for NET_MODEM_NETWORK_STATUS
   119 //ConstantTable for NET_MODEM_NETWORK_STATUS
   115 #define NET_OPER_STATUS_UNKNOWN                           	0x00                                                 	
   120 #define NET_OPER_STATUS_UNKNOWN                           	0x00                                                 	
   116 #define NET_OPER_STATUS_AVAILABLE                         	0x01                                                 	
   121 #define NET_OPER_STATUS_AVAILABLE                         	0x01                                                 	
   117 #define NET_OPER_STATUS_CURRENT                           	0x02                                                 	
   122 #define NET_OPER_STATUS_CURRENT                           	0x02                                                 	
   331 
   336 
   332 //ConstantTable for NET_UTRAN_RADIO_STATE
   337 //ConstantTable for NET_UTRAN_RADIO_STATE
   333 #define NET_UTRAN_RADIO_IDLE                              	0x00                                                 	
   338 #define NET_UTRAN_RADIO_IDLE                              	0x00                                                 	
   334 #define NET_UTRAN_RADIO_CELL_DCH                          	0x01                                                 	
   339 #define NET_UTRAN_RADIO_CELL_DCH                          	0x01                                                 	
   335 
   340 
       
   341 //ConstantTable for NET_SIGNAL_LEVEL_TYPE_TBL
       
   342 #define PERCENT                                           	0x00                                                 	
       
   343 #define DBM                                               	0x01                                                 	
       
   344 
   336 
   345 
   337 //STRUCTURES
   346 //STRUCTURES
   338 
   347 
   339 
   348 
   340 //Definition for NET_GSM_NMR_LIST_SEQ
   349 //Definition for NET_GSM_NMR_LIST_SEQ
   771 #define SIZE_NET_SHORT_NITZ_NAME                          	8
   780 #define SIZE_NET_SHORT_NITZ_NAME                          	8
   772 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly.
   781 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly.
   773 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly.
   782 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly.
   774 
   783 
   775 
   784 
       
   785 //Definition for NET_RSSI_CONF_INFO
       
   786 #define NET_RSSI_CONF_INFO                                	0x54                                              	
       
   787 #define NET_RSSI_CONF_INFO_OFFSET_SUBBLOCKID              	0 //size 1 byte(s)
       
   788 #define NET_RSSI_CONF_INFO_OFFSET_SUBBLOCKLENGTH          	1 //size 1 byte(s)
       
   789 #define NET_RSSI_CONF_INFO_OFFSET_NETSIGNALLEVELTYPE      	2 //size 1 byte(s)
       
   790 #define NET_RSSI_CONF_INFO_OFFSET_HYSTERESISDOWN          	3 //size 1 byte(s)
       
   791 #define NET_RSSI_CONF_INFO_OFFSET_HYSTERESISUP            	4 //size 1 byte(s)
       
   792 #define NET_RSSI_CONF_INFO_OFFSET_LOWLIMIT                	5 //size 1 byte(s)
       
   793 #define NET_RSSI_CONF_INFO_OFFSET_UPLIMIT                 	6 //size 1 byte(s)
       
   794 #define NET_RSSI_CONF_INFO_OFFSET_FILLERBYTE1             	7 //size 1 byte(s)
       
   795 #define SIZE_NET_RSSI_CONF_INFO                           	8
       
   796 
       
   797 
   776 //MESSAGES
   798 //MESSAGES
   777 
   799 
   778 
   800 
   779 //Definition for NET_MODEM_REG_STATUS_GET_REQ
   801 //Definition for NET_MODEM_REG_STATUS_GET_REQ
   780 #define NET_MODEM_REG_STATUS_GET_REQ                      	0x00                                                 	
   802 #define NET_MODEM_REG_STATUS_GET_REQ                      	0x00                                                 	
  1150 #define NET_SOR_RESP_OFFSET_MESSAGEID                     	1 //size 1 byte(s)
  1172 #define NET_SOR_RESP_OFFSET_MESSAGEID                     	1 //size 1 byte(s)
  1151 #define NET_SOR_RESP_OFFSET_SUCCESSCODE                   	2 //size 1 byte(s)
  1173 #define NET_SOR_RESP_OFFSET_SUCCESSCODE                   	2 //size 1 byte(s)
  1152 #define NET_SOR_RESP_OFFSET_FILLERBYTE1                   	3 //size 1 byte(s)
  1174 #define NET_SOR_RESP_OFFSET_FILLERBYTE1                   	3 //size 1 byte(s)
  1153 #define SIZE_NET_SOR_RESP                                 	4
  1175 #define SIZE_NET_SOR_RESP                                 	4
  1154 
  1176 
       
  1177 
       
  1178 //Definition for NET_RSSI_CONF_REQ
       
  1179 #define NET_RSSI_CONF_REQ                                 	0x46                                              	
       
  1180 #define NET_RSSI_CONF_REQ_OFFSET_TRANSID                  	0 //size 1 byte(s)
       
  1181 #define NET_RSSI_CONF_REQ_OFFSET_MESSAGEID                	1 //size 1 byte(s)
       
  1182 #define NET_RSSI_CONF_REQ_OFFSET_NBROFSEGMENTS            	2 //size 1 byte(s)
       
  1183 #define NET_RSSI_CONF_REQ_OFFSET_SUBBLOCKCOUNT            	3 //size 1 byte(s)
       
  1184 #define SIZE_NET_RSSI_CONF_REQ                            	4
       
  1185 
       
  1186 
       
  1187 //Definition for NET_RSSI_CONF_RESP
       
  1188 #define NET_RSSI_CONF_RESP                                	0x47                                              	
       
  1189 #define NET_RSSI_CONF_RESP_OFFSET_TRANSID                 	0 //size 1 byte(s)
       
  1190 #define NET_RSSI_CONF_RESP_OFFSET_MESSAGEID               	1 //size 1 byte(s)
       
  1191 #define NET_RSSI_CONF_RESP_OFFSET_SUCCESSCODE             	2 //size 1 byte(s)
       
  1192 #define NET_RSSI_CONF_RESP_OFFSET_FILLERBYTE1             	3 //size 1 byte(s)
       
  1193 #define SIZE_NET_RSSI_CONF_RESP                           	4
       
  1194 
  1155 #endif
  1195 #endif