Project

General

Profile

Libsamsung-ril » History » Version 44

Paul Kocialkowski, 12/30/2015 06:41 PM

1 29 Paul Kocialkowski
h1. Samsung-RIL
2 1 Paul Kocialkowski
3 31 Paul Kocialkowski
Samsung-RIL is the free software Radio Interface Layer that implements the Samsung IPC protocol and interfaces [[libsamsung-ipc]] and the Android framework:
4 29 Paul Kocialkowski
<pre>
5
Modem <=> Linux kernel <=> libsamsung-ipc <=> Samsung-RIL <=> Android framework <=> Android applications
6
</pre>
7 1 Paul Kocialkowski
8 29 Paul Kocialkowski
Samsung-RIL is device-independent: it means that all the device-specific code takes place in [[libsamsung-ipc]], not in Samsung-RIL directly.
9 1 Paul Kocialkowski
10 29 Paul Kocialkowski
h2. Development
11 1 Paul Kocialkowski
12 44 Paul Kocialkowski
"Samsung-RIL sources":https://git.replicant.us/replicant/hardware_ril_samsung-ril are hosted by the Replicant project. The latest version is available on the @master@ branch.
13 29 Paul Kocialkowski
It is aimed that Samsung-RIL can work on any Android version from gingerbread to jellybean in the master branch.
14 1 Paul Kocialkowski
15 29 Paul Kocialkowski
h2. Status
16
17 40 Taro K.
For now, CDMA messages are not supported at all.
18 29 Paul Kocialkowski
19
Global status: 
20
21
|_. RIL request/response |_. Functionality |_. Status |
22
| RIL_REQUEST_GET_SIM_STATUS | SIM status report  | Working |
23
| RIL_REQUEST_ENTER_SIM_PIN | SIM pin unlock | Working |
24
| RIL_REQUEST_ENTER_SIM_PUK | SIM puk unlock | Should work, untested |
25
| RIL_REQUEST_ENTER_SIM_PIN2 | SIM pin2 unlock | Should work, untested |
26
| RIL_REQUEST_ENTER_SIM_PUK2 | SIM puk unlock | Should work, untested |
27
| RIL_REQUEST_CHANGE_SIM_PIN | SIM pin change | Working |
28 42 Paul Kocialkowski
| RIL_REQUEST_CHANGE_SIM_PIN2 | SIM pin2 change | Should work, untested |
29 41 Paul Kocialkowski
| RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION | Network restriction unlock | Missing |
30 29 Paul Kocialkowski
| RIL_REQUEST_GET_CURRENT_CALLS | Current calls report | Working |
31
| RIL_REQUEST_DIAL | Outgoing call | Working |
32
| RIL_REQUEST_GET_IMSI | IMSI report | Working |
33
| RIL_REQUEST_HANGUP | End call | Working |
34
| RIL_REQUEST_HANGUP_WAITING_OR_BACKGROUND | End waiting/bg call | Missing |
35
| RIL_REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND | End current call and resume waiting call | Missing |
36
| RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE | Switch current/waiting-holding calls | Missing |
37
| RIL_REQUEST_SWITCH_HOLDING_AND_ACTIVE | Switch current/holding calls | Missing |
38
| RIL_REQUEST_CONFERENCE | Start a conference call | Missing |
39
| RIL_REQUEST_UDUB | Send user determined used busy | Missing |
40 32 Paul Kocialkowski
| RIL_REQUEST_LAST_CALL_FAIL_CAUSE | Last call termination cause | Working |
41 29 Paul Kocialkowski
| RIL_REQUEST_SIGNAL_STRENGTH | Signal strength | Working |
42
| RIL_REQUEST_VOICE_REGISTRATION_STATE | GSM registration state report | Working |
43
| RIL_REQUEST_DATA_REGISTRATION_STATE | GPRS registration state report | Working |
44
| RIL_REQUEST_OPERATOR | Operator report | Working |
45
| RIL_REQUEST_RADIO_POWER | Modem power control | Working |
46
| RIL_REQUEST_DTMF | DTMF tones | Working |
47
| RIL_REQUEST_SEND_SMS | Send SMS | Working |
48
| RIL_REQUEST_SEND_SMS_EXPECT_MORE | Send multiple SMS | Working |
49
| RIL_REQUEST_SETUP_DATA_CALL | Start GPRS call | Working |
50
| RIL_REQUEST_SIM_IO | SIM I/O | Working |
51 42 Paul Kocialkowski
| RIL_REQUEST_SEND_USSD | Send USSD message | Missing |
52
| RIL_REQUEST_CANCEL_USSD | Cancel USSD | Missing |
53 33 Paul Kocialkowski
| RIL_REQUEST_GET_CLIR | Get caller identity restriction | Missing |
54
| RIL_REQUEST_SET_CLIR | Set caller identity restriction | Missing |
55 34 Paul Kocialkowski
| RIL_REQUEST_QUERY_CALL_FORWARD_STATUS | Call forwarding status | Missing |
56
| RIL_REQUEST_SET_CALL_FORWARD | Set call forwarding | Missing |
57
| RIL_REQUEST_QUERY_CALL_WAITING | Get waiting call's status | Missing |
58
| RIL_REQUEST_SET_CALL_WAITING | Enable/disable waiting state on current call | Missing |
59 42 Paul Kocialkowski
| RIL_REQUEST_SMS_ACKNOWLEDGE | Ask for acknowledgment of the latest sent SMS | Working |
60 34 Paul Kocialkowski
| RIL_REQUEST_GET_IMEI | Retrieve IMEI | Working |
61
| RIL_REQUEST_GET_IMEISV | Retrieve IMEISV | Working |
62
| RIL_REQUEST_ANSWER | Answer incoming call | Working |
63
| RIL_REQUEST_DEACTIVATE_DATA_CALL | Stop GPRS call | Working |
64
| RIL_REQUEST_QUERY_FACILITY_LOCK | Get a facility lock status | Working |
65
| RIL_REQUEST_SET_FACILITY_LOCK | Set a facility lock status | Working |
66
| RIL_REQUEST_CHANGE_BARRING_PASSWORD | Change call barring password | Missing |
67
| RIL_REQUEST_QUERY_NETWORK_SELECTION_MODE | Get network selection mode | Working |
68
| RIL_REQUEST_SET_NETWORK_SELECTION_AUTOMATIC | Set automatic network selection mode | Working |
69
| RIL_REQUEST_SET_NETWORK_SELECTION_MANUAL | Set manual network selection mode | Working |
70
| RIL_REQUEST_QUERY_AVAILABLE_NETWORKS | Query available networks | Working |
71
| RIL_REQUEST_DTMF_START | Start DTMF tone | Working |
72
| RIL_REQUEST_DTMF_STOP | Stop DTMF tone | Working |
73
| RIL_REQUEST_BASEBAND_VERSION | Get modem firmware version | Working |
74
| RIL_REQUEST_SEPARATE_CONNECTION | Separate a call from a multi-party call and make it the active call | Missing |
75
| RIL_REQUEST_SET_MUTE | Set audio mute status | Working |
76
| RIL_REQUEST_GET_MUTE | Get audio mute status | Missing |
77
| RIL_REQUEST_QUERY_CLIP | Get CLIP status | Missing |
78
| RIL_REQUEST_LAST_DATA_CALL_FAIL_CAUSE | Retrieve last GPRS call fail cause | Working |
79
| RIL_REQUEST_DATA_CALL_LIST | Retrieve GPRS call list | Working |
80
| RIL_REQUEST_RESET_RADIO | Deprecated | Deprecated |
81
| RIL_REQUEST_OEM_HOOK_RAW | OEM-specific uses, Samsung Service Mode | Working |
82
| RIL_REQUEST_OEM_HOOK_STRINGS | OEM-specific uses, no use | N/A |
83 42 Paul Kocialkowski
| RIL_REQUEST_SCREEN_STATE | Indicate screen state | Working |
84 34 Paul Kocialkowski
| RIL_REQUEST_SET_SUPP_SVC_NOTIFICATION | Enable/disable supplementary network notifications | Missing |
85 36 Paul Kocialkowski
| RIL_REQUEST_WRITE_SMS_TO_SIM | Write SMS to SIM | Working |
86
| RIL_REQUEST_DELETE_SMS_ON_SIM | Delete SMS on SIM | Working |
87 34 Paul Kocialkowski
| RIL_REQUEST_SET_BAND_MODE | Set RF band mode | Missing |
88
| RIL_REQUEST_QUERY_AVAILABLE_BAND_MODE | Query available RF band modes | Missing |
89
| RIL_REQUEST_STK_GET_PROFILE | Get STK profile | Missing |
90
| RIL_REQUEST_STK_SET_PROFILE | Set STK profile | Missing |
91 42 Paul Kocialkowski
| RIL_REQUEST_STK_SEND_ENVELOPE_COMMAND | Send SAT command to the SIM | Missing |
92
| RIL_REQUEST_STK_SEND_TERMINAL_RESPONSE | Send response to the SIM | Missing |
93 34 Paul Kocialkowski
| RIL_REQUEST_STK_HANDLE_CALL_SETUP_REQUESTED_FROM_SIM | Allow or deny SIM call setup | Missing |
94
| RIL_REQUEST_EXPLICIT_CALL_TRANSFER | Connect two calls and disconnect from both | Missing |
95
| RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE | Set preferred network type | Working |
96
| RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE | Get preferred network type | Working |
97
| RIL_REQUEST_GET_NEIGHBORING_CELL_IDS | Request neighboring cell ids | Missing |
98
| RIL_REQUEST_SET_LOCATION_UPDATES | Enable or disable cell id change notification | Missing |
99 29 Paul Kocialkowski
| RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE |  |  |
100
| RIL_REQUEST_CDMA_SET_ROAMING_PREFERENCE |  |  |
101
| RIL_REQUEST_CDMA_QUERY_ROAMING_PREFERENCE |  |  |
102 34 Paul Kocialkowski
| RIL_REQUEST_SET_TTY_MODE | Set TTY mode | Missing |
103
| RIL_REQUEST_QUERY_TTY_MODE | Get TTY mode | Missing |
104 29 Paul Kocialkowski
| RIL_REQUEST_CDMA_SET_PREFERRED_VOICE_PRIVACY_MODE |  |  |
105
| RIL_REQUEST_CDMA_QUERY_PREFERRED_VOICE_PRIVACY_MODE |  |  |
106
| RIL_REQUEST_CDMA_FLASH |  |  |
107
| RIL_REQUEST_CDMA_BURST_DTMF |  |  |
108
| RIL_REQUEST_CDMA_VALIDATE_AND_WRITE_AKEY |  |  |
109
| RIL_REQUEST_CDMA_SEND_SMS |  |  |
110
| RIL_REQUEST_CDMA_SMS_ACKNOWLEDGE |  |  |
111 34 Paul Kocialkowski
| RIL_REQUEST_GSM_GET_BROADCAST_SMS_CONFIG | Get broadcast SMS config | Missing |
112
| RIL_REQUEST_GSM_SET_BROADCAST_SMS_CONFIG | Set broadcast SMS config | Missing |
113
| RIL_REQUEST_GSM_SMS_BROADCAST_ACTIVATION | Enable or disable broadcast SMS reception | Missing |
114 29 Paul Kocialkowski
| RIL_REQUEST_CDMA_GET_BROADCAST_SMS_CONFIG |  |  |
115
| RIL_REQUEST_CDMA_SET_BROADCAST_SMS_CONFIG |  |  |
116
| RIL_REQUEST_CDMA_SMS_BROADCAST_ACTIVATION |  |  |
117
| RIL_REQUEST_CDMA_SUBSCRIPTION |  |  |
118
| RIL_REQUEST_CDMA_WRITE_SMS_TO_RUIM |  |  |
119
| RIL_REQUEST_CDMA_DELETE_SMS_ON_RUIM |  |  |
120 34 Paul Kocialkowski
| RIL_REQUEST_DEVICE_IDENTITY | Request device identity | Missing |
121
| RIL_REQUEST_EXIT_EMERGENCY_CALLBACK_MODE | Leave emergency call mode | Missing |
122
| RIL_REQUEST_GET_SMSC_ADDRESS | Get SMSC address | Missing |
123 38 Paul Kocialkowski
| RIL_REQUEST_SET_SMSC_ADDRESS | Set SMSC address | Missing |
124 34 Paul Kocialkowski
| RIL_REQUEST_REPORT_SMS_MEMORY_STATUS | Report SIM SMS memory status | Missing |
125 42 Paul Kocialkowski
| RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING | Report whether STK is running | Missing |
126 29 Paul Kocialkowski
| RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE |  |  |
127 34 Paul Kocialkowski
| RIL_REQUEST_ISIM_AUTHENTICATION | Perform AKA challenge/response | Missing |
128
| RIL_REQUEST_ACKNOWLEDGE_INCOMING_GSM_SMS_WITH_PDU | Acknowledge incoming SMS with PDU | Missing |
129
| RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS | Send SAT envelope status | Missing |
130 35 Paul Kocialkowski
| RIL_UNSOL_RESPONSE_RADIO_STATE_CHANGED | Radio state changed | Working |
131
| RIL_UNSOL_RESPONSE_CALL_STATE_CHANGED | Call state changed | Working |
132
| RIL_UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED | Network state changed | Working |
133
| RIL_UNSOL_RESPONSE_NEW_SMS | Incoming SMS | Working |
134
| RIL_UNSOL_RESPONSE_NEW_SMS_STATUS_REPORT | Incoming SMS status report | Working |
135
| RIL_UNSOL_RESPONSE_NEW_SMS_ON_SIM | New SMS on SIM | Missing |
136 42 Paul Kocialkowski
| RIL_UNSOL_ON_USSD | USSD message | Missing |
137
| RIL_UNSOL_ON_USSD_REQUEST | Deprecated | Deprecated |
138 37 Paul Kocialkowski
| RIL_UNSOL_NITZ_TIME_RECEIVED | NITZ time received | Working |
139 35 Paul Kocialkowski
| RIL_UNSOL_SIGNAL_STRENGTH | Signal strength update | Working |
140
| RIL_UNSOL_DATA_CALL_LIST_CHANGED | GPRS call list changed | Working |
141
| RIL_UNSOL_SUPP_SVC_NOTIFICATION | Supplementary network notification | Missing |
142 42 Paul Kocialkowski
| RIL_UNSOL_STK_SESSION_END | STK session ended | Missing |
143
| RIL_UNSOL_STK_PROACTIVE_COMMAND | Proactive STK command | Missing |
144 35 Paul Kocialkowski
| RIL_UNSOL_STK_EVENT_NOTIFY | STK event happened | Missing |
145
| RIL_UNSOL_STK_CALL_SETUP | SIM is request call setup | Missing |
146
| RIL_UNSOL_SIM_SMS_STORAGE_FULL | SMS storage is full on SIM | Missing |
147
| RIL_UNSOL_SIM_REFRESH | SIM has to be reinitialized | Missing |
148
| RIL_UNSOL_CALL_RING | Incoming call | Working |
149
| RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED | SIM status changed | Working |
150 29 Paul Kocialkowski
| RIL_UNSOL_RESPONSE_CDMA_NEW_SMS |  |  |
151 35 Paul Kocialkowski
| RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS | Incoming broadcast SMS | Missing |
152 29 Paul Kocialkowski
| RIL_UNSOL_CDMA_RUIM_SMS_STORAGE_FULL |  |  |
153 35 Paul Kocialkowski
| RIL_UNSOL_RESTRICTED_STATE_CHANGED | Restricted state changed | Missing |
154
| RIL_UNSOL_ENTER_EMERGENCY_CALLBACK_MODE | Enter emergency callback mode | Missing |
155 29 Paul Kocialkowski
| RIL_UNSOL_CDMA_CALL_WAITING |  |  |
156
| RIL_UNSOL_CDMA_OTA_PROVISION_STATUS |  |  |
157
| RIL_UNSOL_CDMA_INFO_REC |  |  |
158 35 Paul Kocialkowski
| RIL_UNSOL_OEM_HOOK_RAW | OEM-specific use | N/A |
159
| RIL_UNSOL_RINGBACK_TONE | Start or stop playing ringback tone | Missing |
160
| RIL_UNSOL_RESEND_INCALL_MUTE | Resend mute state | N/A |
161 29 Paul Kocialkowski
| RIL_UNSOL_CDMA_SUBSCRIPTION_SOURCE_CHANGED |  |  |
162
| RIL_UNSOL_CDMA_PRL_CHANGED |  |  |
163 35 Paul Kocialkowski
| RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE | Exit emergency callback mode | Missing |
164 39 Paul Kocialkowski
| RIL_UNSOL_RIL_CONNECTED | | |