FreeCalypso > hg > fc-tourmaline
comparison cdg-hybrid/sap/dcm.pdf @ 14:35f7a1dc9f7d
cdg-hybrid: import from Magnetite
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 16 Oct 2020 07:15:38 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 13:83146a4ae927 | 14:35f7a1dc9f7d |
|---|---|
| 1 ;******************************************************************************** | |
| 2 ;*** File : dcm.pdf | |
| 3 ;*** Creation : Wed Mar 11 09:57:42 CST 2009 | |
| 4 ;*** XSLT Processor : Apache Software Foundation / http://xml.apache.org/xalan-j / supports XSLT-Ver: 1 | |
| 5 ;*** Copyright : (c) Texas Instruments AG, Berlin Germany 2002 | |
| 6 ;******************************************************************************** | |
| 7 ;*** Document Type : Service Access Point Specification | |
| 8 ;*** Document Name : dcm | |
| 9 ;*** Document No. : 8462.101.03.001 | |
| 10 ;*** Document Date : 2003-09-03 | |
| 11 ;*** Document Status: BEING_PROCESSED | |
| 12 ;*** Document Author: STW | |
| 13 ;******************************************************************************** | |
| 14 | |
| 15 | |
| 16 | |
| 17 PRAGMA SRC_FILE_TIME "Thu Nov 29 09:39:32 2007" | |
| 18 PRAGMA LAST_MODIFIED "2003-09-03" | |
| 19 PRAGMA ID_AND_VERSION "8462.101.03.001" | |
| 20 | |
| 21 | |
| 22 | |
| 23 CONST CDCM_APN_MAX_LEN 100 ; Maximum length of an access point name | |
| 24 CONST CDCM_PHONE_NR_LEN 84 ; Maximum length of a CSD phone number | |
| 25 CONST CDCM_PDP_MAX_LEN 20 ; Maximum length of PDP address | |
| 26 CONST CDCM_GATE_MAX_LEN 20 ; Maximum length of gateway address | |
| 27 CONST CDCM_USER_MAX_LEN 25 ; Maximum length of user name | |
| 28 CONST CDCM_PASSWORD_MAX_LEN 25 ; Maximum length of password | |
| 29 CONST CDCM_DNS_MAX_LEN 20 ; Maximum length of DNS addresses | |
| 30 | |
| 31 | |
| 32 | |
| 33 VALTAB VAL_bearer_select | |
| 34 VAL 1 DCM_SOCK_BEARER_ANY "DCM will decide which connection type to be used" | |
| 35 VAL 2 DCM_SOCK_BEARER_GPRS "Use a GPRS context as bearer, DCM will decide which GPRS settings to be used" | |
| 36 VAL 3 DCM_SOCK_BEARER_GSM "Use GSM data connection as bearer DCM will decide which GSM settings to be used" | |
| 37 VAL 4 DCM_SOCK_BEARER_USE_PROFILE "Use a specific data account for this connection" | |
| 38 VAL 5 DCM_SOCK_BEARER_AS_SPECIFIED "Use the data account information which is which is delivered within this signal" | |
| 39 | |
| 40 VALTAB VAL_authtype | |
| 41 VAL 1 DCM_SOCK_AUTH_PAP "PAP authentification protocol" | |
| 42 VAL 2 DCM_SOCK_AUTH_CHAP "CHAP authentification protocol !!! NOT SUPPORTED" | |
| 43 VAL 3 DCM_SOCK_AUTH_NO "No authentication" | |
| 44 | |
| 45 VALTAB VAL_result | |
| 46 VAL 0 DCM_RET_OK "The action has been performed successfully." | |
| 47 VAL 1 DCM_RET_NOT_READY "The command can not be processed now." | |
| 48 VAL 2 DCM_RET_ALREADY_ACTIVATED "Connection refused because already actuvated." | |
| 49 VAL 3 DCM_RET_UNKNOWN_EVENT "Unknown receipt event." | |
| 50 VAL 4 DCM_RET_INVALID_PARAMETER "A parameter is wrong." | |
| 51 VAL 5 DCM_RET_CMD_PENDING "There is a pending command yet." | |
| 52 VAL 6 DCM_RET_PS_CONN_BROKEN "Loose of bearer connection." | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 VAR api_instance "The api_instance value returned by sock_api_initialize()." L | |
| 58 | |
| 59 | |
| 60 VAR bearer_handle "Bearer handle" S | |
| 61 | |
| 62 | |
| 63 VAR bearer_select "Bearer type" M | |
| 64 | |
| 65 VAL @p_dcm - VAL_bearer_select@ | |
| 66 | |
| 67 VAR authtype "Authentication type" S | |
| 68 | |
| 69 VAL @p_dcm - VAL_authtype@ | |
| 70 | |
| 71 VAR profile_number "Profile ID for bearer selection" S | |
| 72 | |
| 73 | |
| 74 VAR bearer_handle "Systemwide bearer handle" S | |
| 75 | |
| 76 | |
| 77 VAR app_handle "Comm handle of application" S | |
| 78 | |
| 79 | |
| 80 VAR bearer_type "Used bearer type" B | |
| 81 | |
| 82 | |
| 83 VAR apn_valid "Flag for apn validation" B | |
| 84 | |
| 85 | |
| 86 VAR apn "Access Point Name" B | |
| 87 | |
| 88 | |
| 89 VAR phone_number_valid "Flag for phone number validation" B | |
| 90 | |
| 91 | |
| 92 VAR phone_number "CSD dial up phone number" B | |
| 93 | |
| 94 | |
| 95 VAR user_id_valid "Flag for user ID validation" B | |
| 96 | |
| 97 | |
| 98 VAR user_id "User ID" B | |
| 99 | |
| 100 | |
| 101 VAR password_valid "Flag for password validation" B | |
| 102 | |
| 103 | |
| 104 VAR password "Password" B | |
| 105 | |
| 106 | |
| 107 VAR cid "GPRS context ID" S | |
| 108 | |
| 109 | |
| 110 VAR ip_address "Used IP address" L | |
| 111 | |
| 112 | |
| 113 VAR dns1 "First domain name server" L | |
| 114 | |
| 115 | |
| 116 VAR dns2 "Second domain name server" L | |
| 117 | |
| 118 | |
| 119 VAR gateway "Gateway address" L | |
| 120 | |
| 121 | |
| 122 VAR auth_type "Type of authentication" S | |
| 123 | |
| 124 | |
| 125 VAR data_compr "Flag for data compression" B | |
| 126 | |
| 127 | |
| 128 VAR header_compr "Flag for header compression" B | |
| 129 | |
| 130 | |
| 131 VAR precedence "GPRS precedence class" S | |
| 132 | |
| 133 | |
| 134 VAR delay "GPRS delay class" S | |
| 135 | |
| 136 | |
| 137 VAR reliability "GPRS reliability class" S | |
| 138 | |
| 139 | |
| 140 VAR peak_throughput "GPRS peak throughput" S | |
| 141 | |
| 142 | |
| 143 VAR mean_throughput "GPRS mean throughput" S | |
| 144 | |
| 145 | |
| 146 VAR shareable "Flag for sharing requested bearer conn" B | |
| 147 | |
| 148 | |
| 149 VAR result "Result of the operation" M | |
| 150 | |
| 151 VAL @p_dcm - VAL_result@ | |
| 152 | |
| 153 VAR dcm_err "Error value" M | |
| 154 | |
| 155 | |
| 156 | |
| 157 | |
| 158 | |
| 159 COMP dcm_info_conn "Connection information" | |
| 160 { | |
| 161 bearer_handle ; Systemwide bearer handle | |
| 162 app_handle ; Comm handle of application | |
| 163 bearer_type ; Used bearer type | |
| 164 apn_valid ; Flag for apn validation | |
| 165 apn [CDCM_APN_MAX_LEN + 1] ; Access Point Name | |
| 166 phone_number_valid ; Flag for phone number validation | |
| 167 phone_number [CDCM_PHONE_NR_LEN + 1] ; CSD dial up phone number | |
| 168 user_id_valid ; Flag for user ID validation | |
| 169 user_id [CDCM_USER_MAX_LEN + 1] ; User ID | |
| 170 password_valid ; Flag for password validation | |
| 171 password [CDCM_PASSWORD_MAX_LEN + 1] ; Password | |
| 172 cid ; GPRS context ID | |
| 173 ip_address ; Used IP address | |
| 174 dns1 ; First domain name server | |
| 175 dns2 ; Second domain name server | |
| 176 gateway ; Gateway address | |
| 177 auth_type ; Type of authentication | |
| 178 data_compr ; Flag for data compression | |
| 179 header_compr ; Flag for header compression | |
| 180 precedence ; GPRS precedence class | |
| 181 delay ; GPRS delay class | |
| 182 reliability ; GPRS reliability class | |
| 183 peak_throughput ; GPRS peak throughput | |
| 184 mean_throughput ; GPRS mean throughput | |
| 185 shareable ; Flag for sharing requested bearer conn | |
| 186 } | |
| 187 | |
| 188 | |
| 189 | |
| 190 | |
| 191 | |
| 192 | |
| 193 ; DCM_OPEN_CONN_REQ 0x8000401C | |
| 194 ; DCM_OPEN_CONN_CNF 0x8000001C | |
| 195 ; DCM_CLOSE_CONN_REQ 0x8001401C | |
| 196 ; DCM_CLOSE_CONN_CNF 0x8001001C | |
| 197 ; DCM_GET_CURRENT_CONN_REQ 0x8002401C | |
| 198 ; DCM_GET_CURRENT_CONN_CNF 0x8002001C | |
| 199 ; DCM_ERROR_IND 0x8003001C | |
| 200 | |
| 201 | |
| 202 | |
| 203 PRIM DCM_OPEN_CONN_REQ 0x8000401C | |
| 204 { | |
| 205 api_instance ; Api instance | |
| 206 bearer_select ; Bearer type | |
| 207 profile_number ; profile number | |
| 208 dcm_info_conn ; Paramater used for bearer connection | |
| 209 } | |
| 210 | |
| 211 | |
| 212 | |
| 213 | |
| 214 | |
| 215 | |
| 216 PRIM DCM_OPEN_CONN_CNF 0x8000001C | |
| 217 { | |
| 218 result ; Result of the operation | |
| 219 bearer_handle ; Bearer handle | |
| 220 } | |
| 221 | |
| 222 | |
| 223 | |
| 224 | |
| 225 | |
| 226 | |
| 227 PRIM DCM_CLOSE_CONN_REQ 0x8001401C | |
| 228 { | |
| 229 api_instance ; Api instance | |
| 230 bearer_handle ; Beare handle | |
| 231 } | |
| 232 | |
| 233 | |
| 234 | |
| 235 | |
| 236 | |
| 237 | |
| 238 PRIM DCM_CLOSE_CONN_CNF 0x8001001C | |
| 239 { | |
| 240 result ; Result of the operation | |
| 241 } | |
| 242 | |
| 243 | |
| 244 | |
| 245 | |
| 246 | |
| 247 | |
| 248 PRIM DCM_GET_CURRENT_CONN_REQ 0x8002401C | |
| 249 { | |
| 250 api_instance ; Api instance | |
| 251 bearer_handle ; Beare handle | |
| 252 } | |
| 253 | |
| 254 | |
| 255 | |
| 256 | |
| 257 | |
| 258 | |
| 259 PRIM DCM_GET_CURRENT_CONN_CNF 0x8002001C | |
| 260 { | |
| 261 result ; Result of the operation | |
| 262 dcm_info_conn ; Connection information | |
| 263 } | |
| 264 | |
| 265 | |
| 266 | |
| 267 | |
| 268 | |
| 269 | |
| 270 PRIM DCM_ERROR_IND 0x8003001C | |
| 271 { | |
| 272 dcm_err ; Error value | |
| 273 result ; Result of the operation | |
| 274 } | |
| 275 | |
| 276 | |
| 277 | |
| 278 | |
| 279 | |
| 280 | |
| 281 | |
| 282 | |
| 283 |
