SIM Cards
From ss7api.null.ro
Contents |
SIM Events
Call Related Events and Requests
The following events are received by the SIM card when a call is made.
- Standard: Details can be found in standard TS 31.111
- Terminal Class: This events should work in all terminals.
- Status: Tests were made successfully for Mobile Originating Calls
- Events:
The SIM is notified on the following events:- Mobile Originating Call Initiated
- Mobile Originating SMS Initiated
- Mobile Originating USSD Initiated
- Mobile Originating SS Initiated
On the events above, the 'address' and 'subaddress' parameters can be altered.
- Notifications:
We can receive notifications for the following events. NOTE: We can not alter the event flow. Eg. We can not keep the call alive if we received call terminated event.- Call Connected
- Call Terminated
- Requests - We can make the following requests:
- Set Up Call
- Send DTMF
- Parameters:
- Address
The called party address. Details on TS 31.111 chapter 8.1 - Subaddress
The called party subaddress. Details on TS 31.111 chapter 8.3
- Address
Browsing
Open a SIM provided URL in phone defaults browser.
- Standard: Details can be fond in TS 102 223.
- Terminal: This should work in a class C terminal.
- Status: Not Tested
- Events:
We are notified when one of the following events occures:- Status
Received when the browser receives a distant error from the network. - Terminated
Received when the browser is terminated.
- Status
- Requests:
- Lunch Browser
Ask a terminal to open a browser with the provided URL.
- Lunch Browser
Access Technology
Notification sent from the phone to inform about the access technology 2g/3g
- Standard Details can be found in TS 102 223
- Status: Not Tested
- Events:
- Changed
The access technology has changed from 2g/3g.
- Changed
Card Reader
Get events and perform actions on an additional card reader,
- Standard TS 102 223
- Terminal Class: A
- Status: Not Tested
- Events:
- Status
Notification that a card was inserted or removed; or a card reader is available or unavailable.
- Status
- Requests:
- Power ON Card
Start a session with an additional card. - Power OFF Card
Stop a session with an additional card. - Perform Card APDU
Send an APDU command to an additional card. - Get Reader Status
Request to the terminal to provide additional information about additional card readers.
- Power ON Card
Data
The following events and requests are available for data exchange.
- Standard: more documentation can be found in TS 102 223
- Status: In testing but no compatible device found!
- Terminal class E
- Events:
- Data available
Notification from the terminal that data has arrived from the network. - Channel Status
Notification from the terminal that the channel status is changed.
- Data available
- Requests
- Open Channel
Request to open a channel. - Send Data
Request to send data on a open channel. - Receive Data
Request to receive data on a open channel. - Close Channel
Request to close a open channel.
- Open Channel
User Interface
The following events and request are related to user interface.
- Standard details can be found in standard TS 102 223
- Status: Most of them were tested.
- Events:
- Display Parameter Change
Notification from the terminal when the screen is resized. - Frames Information Changed
Notification from the terminal when the frames are resized.
Requires terminal class I. - Idle screen available
Notification from the terminal that the screen is idle. - User activity
Notification from the terminal when the the user is interacting with the terminal.
This event is received only once after it was requested. - Menu Selection
Notification from the terminal when the user has selected a menu item. - Menu Selection Help Request
Notification from the terminal when the user requested help information on a menu.
- Display Parameter Change
- Requests:
- Get Input
Prompt the user to insert a text. - Get InKey
Prompt the user to insert a key. - Display Text
Prompt a text to the user. - Set Up Menu
Prompt a menu to the user. - Select Item
Provide a list of options to the user and instruct him to select one. - Set Up Idle Mode Text
Instruct the terminal to show the provided text when it is in idle mode. - Set Frames
Set the number of frames in which the terminal should devide its screen.
Requires terminal class I - Get Frame Status
Get the parameters of a frame.
Requires terminal class I
- Get Input
SMS
- Standard TS 131 111
- Status: Not tested yet
- Events:
- SMS-PP Data Download unformatted
- SMS-PP Data Download formatted
- SMS-CB Data Download formatted
- SMS-CB Data Download unformatted
- Requests:
- Send Short Message
- Parameters
- Address
- SMS TPDU
SS
- Standard TS 131 111
- Terminal class P for USSD Data Download
- Status: Send USSD tested
- Events:
- USSD Data Download formatted
- USSD Data Download unformatted
- Requests:
- Send SS
- Send USSD
- Parameters
- SS String
- USSD String
NOTE: If the USSD session is initiated form SIM card than only the last response from the network is passed to the SIM.
IMS
- Standard TS 131 111
- Terminal class E + T
- Events
- Download IMS Registration
- Download Incoming IMS Data
- Parameters
- IARI
- IMPU List
- IMS status code
Terminal
- Standard TS 102 223 + TS 131 111
- Events
- Location Status
Status: tested
Parameters:- Location Status TS 102.223 8.27
- Location Information TS 102.223 8.19
- Language Selection
- Profile Download
- Network Reject
- Timer expiration
- Location Status
- Requests
- Provide Local Information
- Language Notification
- Geographical Location Request
Terminal Type N - More Time
Request to terminal for more processing time. - Refresh
Request to terminal to reinitialize SIM card. - Timer Management
SIM timers
Service
- Standard TS 102 223
- Status: not tested
- Terminal class F
- Requests:
- Declare Service
- Search Service
- Get Service Information
MMS
- Standard TS 102 223
- Status: not tested
- Terminal class J
- Requests:
- Retreive MMS
- Submit MMS
- Display MMS
Card File System
USIM File System
Extracted from standard TS 131.102.
- Language Indication
- IMSI
- Ciphering and Integrity Keys
- Ciphering and Integrity Keys for Packet Switched domain
- User controlled PLMN selector with Access Technology
- Higher Priority PLMN search period
- ACM maximum value
- USIM Service Table
- Accumulated Call Meter
- Group Identifier Level 1
- Group Identifier Level 2
- Service Provider Name
- Price per Unit and Currency Table
- Cell Broadcast Message identifier selection
- Access Control Class
- Forbidden PLMNs
- Location Information
- Administrative Data
- Cell Broadcast Message Identifier for Data Download
- Emergency Call Codes
- Cell Broadcast Message Identifier Range selection
- Packet Switched location information
- Fixed Dialling Numbers
- Short messages
- MSISDN
- Short message service parameters
- SMS status
- Service Dialling Numbers
- Extension2
- Extension3
- Short message status reports
- Incoming Call Information
- Outgoing Call Information
- Incoming Call Timer
- Outgoing Call Timer
- Extension5
- Capability Configuration Parameters 2
- enhanced Multi Level Precedence and Pre-emption
- Automatic Answer for eMLPP Service
- Key for hidden phone book entries
- Barred Dialling Numbers
- Extension4
- Comparison Method Information
- Enabled Services Table
- Access Point Name Control List
- Depersonalisation Control Keys
- Co-operative Network List
- Initialisation values for Hyperframe number
- Maximum value of START
- Operator controlled PLMN selector with Access Technology
- HPLMN selector with Access Technology
- Access Rule Reference
- Network Parameters
- PLMN Network Name
- Operator PLMN List
- Mailbox Dialling Numbers
- Extension6
- Mailbox Identifier
- Message Waiting Indication Status
- Call Forwarding Indication Status
- Extension7
- Service Provider Display Information
- MMS Notification
- Extension 8
- MMS Issuer Connectivity Parameters
- MMS User Preferences
- MMS User Connectivity Parameters
- Network's Indication of Alerting
- Voice Group Call Service
- Voice Group Call Service Status
- Voice Broadcast Service
- Voice Broadcast Service Status
Terminal profile
Description
The terminal can be interrogated about which functions it supports.
- First byte (Download):
- Profile download
- SMS-PP data download
- Cell Broadcast data download)
- Menu selection
- SMS-PP data download
- Timer expiration
- USSD string data object support in Call Control by USIM
- Call Control by NAA
- Second byte (Other):
- Command result
- Call Control by NAA
- Call Control by NAA
- MO short message control support
- Call Control by NAA
- UCS2 Entry supported
- UCS2 Display supported
- Display Text
- Third byte (Proactive UICC):
- DISPLAY TEXT
- GET INKEY
- GET INPUT
- MORE TIME
- PLAY TONE
- POLL INTERVAL
- POLLING OFF
- REFRESH
- Fourth byte (Proactive UICC):
- Proactive UICC: SELECT ITEM
- Proactive UICC: SEND SHORT MESSAGE with 3GPP-SMS-TPDU
- Proactive UICC: SEND SS
- Proactive UICC:SEND USSD
- Proactive UICC: SET UP CALL
- Proactive UICC: SET UP MENU
- Proactive UICC: PROVIDE LOCAL INFORMATION (MCC, MNC,LAC, Cell ID & IMEI)
- Proactive UICC: PROVIDE LOCAL INFORMATION (NMR)
- Fifth byte (Event driven information):
- Proactive UICC: SET UP EVENT LIST
- Event: MT call
- Event: Call connected
- Event: Call disconnected
- Event: Location status
- Event: User activity
- Event: Idle screen available
- Event: Card reader status
- Sixth byte (Event driven information extensions):
- Language selection
- Browser Termination
- Data available
- Channel status
- Access Technology Change
- Display parameters changed
- Local Connection
- Network Search Mode Change
- Seventh byte (Multiple card proactive commands) for class "a":
- POWER ON CARD
- POWER OFF CARD
- PERFORM CARD APDU
- GET READER STATUS (Card reader status)
- GET READER STATUS (Card reader Identifier)
- RFU
- Eighth byte (Proactive UICC):
- Proactive UICC: TIMER MANAGEMENT (start, stop)
- Proactive UICC: TIMER MANAGEMENT (get current value)
- Proactive UICC: PROVIDE LOCAL INFORMATION (date, time and time zone)
- GET INKEY
- SET UP IDLE MODE TEXT
- RUN AT COMMAND (i.e. class "b" is supported)
- SETUP CALL
- Call Control by NAA
- Ninth byte:
- DISPLAY TEXT
- SEND DTMF command
- Proactive UICC: PROVIDE LOCAL INFORMATION
- Proactive UICC: PROVIDE LOCAL INFORMATION (language)
- Proactive UICC: PROVIDE LOCAL INFORMATION, Timing Advance
- Proactive UICC: LANGUAGE NOTIFICATION
- Proactive UICC: LAUNCH BROWSER
- Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology)
- Tenth byte (Soft keys support) for class "d":
- Soft keys support for SELECT ITEM
- Soft Keys support for SET UP MENU
- RFU
- Eleventh byte (Soft keys information):
- Maximum number of soft keys available 'FF' value is reserved for future use
- Twelfth byte:
- OPEN CHANNEL
- CLOSE CHANNEL
- RECEIVE DATA
- SEND DATA
- GET CHANNEL STATUS
- SERVICE SEARCH
- GET SERVICE INFORMATION
- DECLARE SERVICE
- Thirteenth byte:
- CSD
- GPRS
- Bluetooth
- IrDA
- RS232
- b6,b7,b8 - Number of channels supported by terminal
- Fourteenth byte (Screen height):
- b1 - b4 - Number of characters supported down the terminal display as defined in clause 5.3.1
- No display capability (i.e class "ND" is indicated)
- No keypad available (i.e. class "NK" is indicated)
- Screen Sizing Parameters supported as defined inclause 5.3
- Fifteenth byte (Screen width):
- b1-b7 - Number of characters supported across the terminal display as defined in clause 5.3.2
- Variable size fonts
- Sixteenth byte (Screen effects):
- Display can be resized as defined in clause 5.3.3
- Text Wrapping supported as defined in clause 5.3.4
- Text Scrolling supported as defined in clause 5.3.5
- Text Attributes supported as defined in clause 5.3.7
- b5 - RFU
- b6 - b8 - Width reduction when in a menu as defined in clause 5.3.6
- Seventeenth byte:
- TCP, UICC in client mode, remote connection
- UDP, UICC in client mode, remote connection
- TCP, UICC in server mode
- TCP, UICC in client mode, local connection (i.e. class "k" is supported)
- UDP, UICC in client mode, local connection (i.e. class "k" is supported)
- RFU, bit = 0
- E-UTRAN (if class "e" issupported))
- HSDPA (if class "e" is supported))
- Eighteenth byte:
- Proactive UICC: DISPLAY TEXT (Variable Time out)
- Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout)
- USB
- Proactive UICC: GET INKEY (Variable Timeout)
- Proactive UICC: PROVIDE LOCAL INFORMATION (ESN)
- Call control on GPRS
- Proactive UICC: PROVIDE LOCAL INFORMATION (IMEISV)
- Proactive UICC: PROVIDE LOCAL INFORMATION (Search Mode change)
- Nineteenth byte (reserved for TIA/EIA-136-C facilities [25]):
- Reserved by TIA/EIA-136 [25] (Protocol Version support)
- RFU, bit = 0
- Twentieth byte (reserved for TIA/EIA/IS-820-A facilities [17]):
- Reserved by TIA/EIA/IS-820 [17]
- Twenty-first byte (Extended Launch Browser Capability) for class "c":
- WML
- XHTML
- HTML
- CHTML
- RFU, bit = 0
- Twenty-second byte:
- Support of UTRAN PS with extended parameters
- Proactive UICC: PROVIDE LOCAL INFORMATION(battery state), (i.e. class "g" is supported)
- Proactive UICC: PLAY TONE (Melody tones and Themed tones supported)
- Multi-media Calls in SET UP CALL (if class h supported)
- Reserved by 3GPP (Toolkit-initiated GBA)
- Proactive UICC: RETRIEVE MULTIMEDIA MESSAGE (if class "j" is supported)
- Proactive UICC: SUBMIT MULTIMEDIA MESSAGE (if class "j" is supported)
- Proactive UICC: DISPLAY MULTIMEDIA MESSAGE (if class "j" is supported)
- Twenty third byte:
- Proactive UICC: SET FRAMES (i.e. class "i" is supported)
- Proactive UICC: GET FRAMES STATUS (i.e. class "i" is supported)
- MMS notification download (if class "j" is supported)
- Alpha Identifier in REFRESH command supported by terminal
- Geographical Location Reporting (if class "n" is supported)
- Proactive UICC: PROVIDE LOCAL INFORMATION (MEID)
- Proactive UICC: PROVIDE LOCAL INFORMATION (NMR(UTRAN))
- USSD Data download and application mode
- Twenty fourth byte for class "i":
- b1-b4 - Maximum number of frames supported (including frames created in existing frames)
- RFU, bit = 0
- Twenty-fifth byte (Event driven information extensions):
- Event: Browsing status
- Event: MMS Transfer status (if class "j" is supported)
- Event: Frame Parameters changed (i.e. class "i" is supported)
- Event: I-WLAN Access status (if class "e" is supported)
- Event Network Rejection
- Event: HCI connectivity event (i.e. class "m" is supported)
- Reserved by 3GPP (E-UTRAN support in Event Network Rejection)
- Multiple access technologies supported in Event
- Access Technology Change and PROVIDE LOCAL INFORMATION
If bit "Multiple access technologies supported" is set to 1, it applies to the Event Access Technology Change if supported and all relevant modes of proactive command PROVIDE LOCAL INFORMATION that are supported.
- Twenty-sixth byte (Event driven information extensions):
- RFU, bit = 0 (for future event indication)
- Twenty-seventh byte (Event driven information extensions):
- RFU, bit = 0 (for future event indication)
- Twenty-eighth byte (Text attributes):
- Alignment left supported by Terminal
- Alignment centre supported by Terminal
- Alignment right supported by Terminal
- Font size normal supported by Terminal
- Font size large supported by Terminal
- Font size small supported by Terminal
- RFU, bit = 0
- Twenty-ninth byte (Text attributes):
- Style normal supported by Terminal
- Style bold supported by Terminal
- Style italic supported by Terminal
- Style underlined supported by Terminal
- Style strikethrough supported by Terminal
- Style text foreground colour supported by Terminal
- Style text background colour supported by Terminal
- RFU, bit = 0
- Thirtieth byte:
- I-WLAN bearer support (if class "e" is supported)
- Proactive UICC: PROVIDE LOCAL INFORMATION (WSID of the current I-WLAN connection)
- TERMINAL APPLICATIONS (i.e. class "k" is supported)
- Steering of Roaming REFRESH support
- Proactive UICC: ACTIVATE (i.e class "l" is supported)
- Proactive UICC: GEOGRAPHICAL LOCATION REQUEST (if class "n" is supported)
- Proactive UICC: PROVIDE LOCAL INFORMATION (Broadcast Network Information) (i.e. class "o" is supported)
- Steering of Roaming for I-WLAN REFRESH support
Values
Phone Type | B1 | B2 | B3 | B4 | B5 | B6 | B7 | B8 | B9 | B10 | B11 | B12 | B13 | B14 | B15 | B16 | B17 | B18 | B19 | B20 | B21 | B22 | B23 | B24 | B25 | B26 | B27 | B28 | B29 | B30 |
Samsung Galaxy Express | ff | ff | ff | ff | 7f | 9d | 00 | df | bf | 00 | 00 | 1f | e2 | 00 | 00 | 00 | c3 | 6b | 00 | 07 | 00 | 00 | 40 | 00 | 50 | 00 | 00 | 00 | 00 | 08 |
Samsung Galaxy Note 3 | ff | ff | ff | ff | 7f | 9d | 00 | df | bf | 00 | 00 | 1f | e2 | 00 | 00 | 00 | c3 | 6b | 00 | 07 | 00 | 00 | 40 | 00 | 50 | 00 | 00 | 00 | 00 | 08 |
HTC One X+ | ff | ff | ff | ff | 7f | 1d | 00 | df | b7 | 03 | 02 | 1f | 22 | 00 | 00 | 00 | 83 | 00 | 00 | 00 | 00 | 00 | 40 | 10 | 00 | 00 | 00 | 00 | 00 | 00 |
IPhone 4 | ff | ff | ff | ff | 7f | 91 | 00 | df | bf | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | f0 | 00 | 03 | 00 | 00 | 60 | 00 | 50 | 00 | 00 | 00 | 00 | 00 |
Nokia E72 | ff | ff | ff | ff | 7f | 1d | 00 | df | bf | 00 | 00 | 17 | e2 | 05 | 0f | 00 | 03 | 09 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 |