• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/**
17 * @addtogroup Ril
18 * @{
19 *
20 * @brief Defines Ril-related APIs.
21 *
22 * The radio interface layer (RIL) module provides APIs and callbacks for upper-layer telephony services,
23 * including call, SMS, MMS, network search, and SIM card services.
24 *
25 * @since 3.2
26 * @version 1.1
27 */
28
29/**
30 * @file IRilCallback.idl
31 *
32 * @brief Declares callback APIs of the RIL module.
33 *
34 * @since 3.2
35 * @version 1.1
36 */
37
38/**
39 * @brief Defines the path for the package of the RIL module APIs.
40 *
41 * @since 3.2
42 * @version 1.1
43 */
44package ohos.hdi.ril.v1_1;
45
46import ohos.hdi.ril.v1_1.Types;
47
48/**
49 * @brief Declares callback APIs of the RIL module.
50 *
51 * These APIs provide the callback functions for making calls, sending SMS and MMS messages,
52 * activating SIM cards, and accessing the Internet. The caller needs to implement these callbacks.
53 *
54 * @since 3.2
55 * @version 1.1
56 */
57[callback] interface IRilCallback {
58    /**
59     * @brief Callback used to report the emergency call number.
60     *
61     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
62     * For details, see {@link RilRadioResponseInfo}.
63     * @param emergencyInfoList Emergency call number list. For details, see {@link EmergencyInfoList}.
64     *
65     * @since 3.2
66     * @version 1.0
67     */
68    CallEmergencyNotice([in] struct RilRadioResponseInfo responseInfo,
69        [in] struct EmergencyInfoList emergencyInfoList);
70
71    /**
72     * @brief Callback for reporting call status updates.
73     *
74     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
75     * For details, see {@link RilRadioResponseInfo}.
76     *
77     * @since 3.2
78     * @version 1.0
79     */
80    CallStateUpdated([in] struct RilRadioResponseInfo responseInfo);
81
82    /**
83     * @brief Callback for reporting the call ringback tone.
84     *
85     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
86     * For details, see {@link RilRadioResponseInfo}.
87     * @param ringbackVoice Ringback tone information. For details, see {@link RingbackVoice}.
88     *
89     * @since 3.2
90     * @version 1.0
91     */
92    CallRingbackVoiceNotice([in] struct RilRadioResponseInfo responseInfo,
93        [in] struct RingbackVoice ringbackVoice);
94
95    /**
96     * @brief Callback for reporting the Single Radio Voice Call Continuity (SRVCC) status.
97     *
98     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
99     * For details, see {@link RilRadioResponseInfo}.
100     * @param srvccStatus SRVCC status. For details, see {@link SrvccStatus}.
101     *
102     * @since 3.2
103     * @version 1.0
104     */
105    CallSrvccStatusNotice([in] struct RilRadioResponseInfo responseInfo,
106        [in] struct SrvccStatus srvccStatus);
107
108    /**
109     * @brief Callback for reporting USSD service information.
110     *
111     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
112     * For details, see {@link RilRadioResponseInfo}.
113     * @param ussdNoticeInfo USSD service information. For details, see {@link UssdNoticeInfo}.
114     *
115     * @since 3.2
116     * @version 1.0
117     */
118    CallUssdNotice([in] struct RilRadioResponseInfo responseInfo,
119        [in] struct UssdNoticeInfo ussdNoticeInfo);
120
121    /**
122     * @brief Callback for reporting supplementary service information.
123     *
124     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
125     * For details, see {@link RilRadioResponseInfo}.
126     * @param ssNoticeInfo Supplementary service information. For details, see {@link SsNoticeInfo}.
127     *
128     * @since 3.2
129     * @version 1.0
130     */
131    CallSsNotice([in] struct RilRadioResponseInfo responseInfo,
132        [in] struct SsNoticeInfo ssNoticeInfo);
133
134    /**
135     * @brief Callback for reporting the Reverse Single Radio Voice Call Continuity (RSRVCC) status.
136     *
137     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
138     * For details, see {@link RilRadioResponseInfo}.
139     *
140     * @since 3.2
141     * @version 1.0
142     */
143    CallRsrvccStatusNotify([in] struct RilRadioResponseInfo responseInfo);
144
145    /**
146     * @brief Callback for the response of setting the emergency call number list.
147     *
148     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
149     * For details, see {@link RilRadioResponseInfo}.
150     *
151     * @since 3.2
152     * @version 1.0
153     */
154    SetEmergencyCallListResponse([in] struct RilRadioResponseInfo responseInfo);
155
156    /**
157     * @brief Callback for the response of querying the emergency call number list.
158     *
159     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
160     * For details, see {@link RilRadioResponseInfo}.
161     * @param emergencyInfoList Emergency call number list. For details, see {@link EmergencyInfoList}.
162     *
163     * @since 3.2
164     * @version 1.0
165     */
166    GetEmergencyCallListResponse([in] struct RilRadioResponseInfo responseInfo,
167        [in] struct EmergencyInfoList emergencyInfoList);
168
169    /**
170     * @brief Callback for the response of querying the call status information list.
171     *
172     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
173     * For details, see {@link RilRadioResponseInfo}.
174     * @param callList Call status information list. For details, see {@link CallInfoList}.
175     *
176     * @since 3.2
177     * @version 1.0
178     */
179    GetCallListResponse([in] struct RilRadioResponseInfo responseInfo,
180        [in] struct CallInfoList callList);
181
182    /**
183     * @brief Callback for the response of making a call.
184     *
185     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
186     * For details, see {@link RilRadioResponseInfo}.
187     *
188     * @since 3.2
189     * @version 1.0
190     */
191    DialResponse([in] struct RilRadioResponseInfo responseInfo);
192
193    /**
194     * @brief Callback for ending a call.
195     *
196     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
197     * For details, see {@link RilRadioResponseInfo}.
198     *
199     * @since 3.2
200     * @version 1.0
201     */
202    HangupResponse([in] struct RilRadioResponseInfo responseInfo);
203
204    /**
205     * @brief Callback for rejecting a call.
206     *
207     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
208     * For details, see {@link RilRadioResponseInfo}.
209     *
210     * @since 3.2
211     * @version 1.0
212     */
213    RejectResponse([in] struct RilRadioResponseInfo responseInfo);
214
215    /**
216     * @brief Callback for answering a call.
217     *
218     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
219     * For details, see {@link RilRadioResponseInfo}.
220     *
221     * @since 3.2
222     * @version 1.0
223     */
224    AnswerResponse([in] struct RilRadioResponseInfo responseInfo);
225
226    /**
227     * @brief Callback for holding a call.
228     *
229     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
230     * For details, see {@link RilRadioResponseInfo}.
231     *
232     * @since 3.2
233     * @version 1.0
234     */
235    HoldCallResponse([in] struct RilRadioResponseInfo responseInfo);
236
237    /**
238     * @brief Callback for unholding a call.
239     *
240     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
241     * For details, see {@link RilRadioResponseInfo}.
242     *
243     * @since 3.2
244     * @version 1.0
245     */
246    UnHoldCallResponse([in] struct RilRadioResponseInfo responseInfo);
247
248    /**
249     * @brief Callback for switching a call.
250     *
251     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
252     * For details, see {@link RilRadioResponseInfo}.
253     *
254     * @since 3.2
255     * @version 1.0
256     */
257    SwitchCallResponse([in] struct RilRadioResponseInfo responseInfo);
258
259    /**
260     * @brief Callback for querying the CLIP service.
261     *
262     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
263     * For details, see {@link RilRadioResponseInfo}.
264     * @param getClipResult CLIP result. For details, see {@link GetClipResult}.
265     *
266     * @since 3.2
267     * @version 1.0
268     */
269    GetClipResponse([in] struct RilRadioResponseInfo responseInfo,
270        [in] struct GetClipResult getClipResult);
271
272    /**
273     * @brief Callback for setting the CLIP service.
274     *
275     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
276     * For details, see {@link RilRadioResponseInfo}.
277     *
278     * @since 3.2
279     * @version 1.0
280     */
281    SetClipResponse([in] struct RilRadioResponseInfo responseInfo);
282
283    /**
284     * @brief Callback for combining calls into a conference call.
285     *
286     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
287     * For details, see {@link RilRadioResponseInfo}.
288     *
289     * @since 3.2
290     * @version 1.0
291     */
292    CombineConferenceResponse([in] struct RilRadioResponseInfo responseInfo);
293
294    /**
295     * @brief Callback for separating calls from a conference call.
296     *
297     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
298     * For details, see {@link RilRadioResponseInfo}.
299     *
300     * @since 3.2
301     * @version 1.0
302     */
303    SeparateConferenceResponse([in] struct RilRadioResponseInfo responseInfo);
304
305    /**
306     * @brief Callback for ending the call is in the foreground and resuming the call in the background.
307     *
308     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
309     * For details, see {@link RilRadioResponseInfo}.
310     *
311     * @since 3.2
312     * @version 1.0
313     */
314    CallSupplementResponse([in] struct RilRadioResponseInfo responseInfo);
315
316    /**
317     * @brief Callback for querying the call waiting information.
318     *
319     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
320     * For details, see {@link RilRadioResponseInfo}.
321     * @param callWaitResult Call waiting result. For details, see {@link CallWaitResult}.
322     *
323     * @since 3.2
324     * @version 1.0
325     */
326    GetCallWaitingResponse([in] struct RilRadioResponseInfo responseInfo,
327        [in] struct CallWaitResult callWaitResult);
328
329    /**
330     * @brief Callback for setting the call waiting information.
331     *
332     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
333     * For details, see {@link RilRadioResponseInfo}.
334     *
335     * @since 3.2
336     * @version 1.0
337     */
338    SetCallWaitingResponse([in] struct RilRadioResponseInfo responseInfo);
339
340    /**
341     * @brief Callback for querying call forwarding information.
342     *
343     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
344     * For details, see {@link RilRadioResponseInfo}.
345     * @param cFQueryList Call forwarding query information list.
346     * For details, see {@link CallForwardQueryInfoList}.
347     *
348     * @since 3.2
349     * @version 1.0
350     */
351    GetCallTransferInfoResponse([in] struct RilRadioResponseInfo responseInfo,
352        [in] struct CallForwardQueryInfoList cFQueryList);
353
354    /**
355     * @brief Callback for the response of setting call forwarding information.
356     *
357     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
358     * For details, see {@link RilRadioResponseInfo}.
359     *
360     * @since 3.2
361     * @version 1.0
362     */
363    SetCallTransferInfoResponse([in] struct RilRadioResponseInfo responseInfo);
364
365    /**
366     * @brief Callback for the response of querying call restriction information.
367     *
368     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
369     * For details, see {@link RilRadioResponseInfo}.
370     * @param result Call restriction result. For details, see {@link CallRestrictionResult}.
371     *
372     * @since 3.2
373     * @version 1.0
374     */
375    GetCallRestrictionResponse([in] struct RilRadioResponseInfo responseInfo,
376        [in] struct CallRestrictionResult result);
377
378    /**
379     * @brief Callback for the response of setting call restriction information.
380     *
381     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
382     * For details, see {@link RilRadioResponseInfo}.
383     *
384     * @since 3.2
385     * @version 1.0
386     */
387    SetCallRestrictionResponse([in] struct RilRadioResponseInfo responseInfo);
388
389    /**
390     * @brief Callback for the response of querying CLIR service information.
391     *
392     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
393     * For details, see {@link RilRadioResponseInfo}.
394     * @param getClirResult CLIR result. For details, see {@link GetClirResult}.
395     *
396     * @since 3.2
397     * @version 1.0
398     */
399    GetClirResponse([in] struct RilRadioResponseInfo responseInfo,
400        [in] struct GetClirResult getClirResult);
401
402    /**
403     * @brief Callback for the response of setting CLIR service information.
404     *
405     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
406     * For details, see {@link RilRadioResponseInfo}.
407     *
408     * @since 3.2
409     * @version 1.0
410     */
411    SetClirResponse([in] struct RilRadioResponseInfo responseInfo);
412
413    /**
414     * @brief Callback for the response of enabling DTMF.
415     *
416     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
417     * For details, see {@link RilRadioResponseInfo}.
418     *
419     * @since 3.2
420     * @version 1.0
421     */
422    StartDtmfResponse([in] struct RilRadioResponseInfo responseInfo);
423
424    /**
425     * @brief Callback for the response of sending DTMF.
426     *
427     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
428     * For details, see {@link RilRadioResponseInfo}.
429     *
430     * @since 3.2
431     * @version 1.0
432     */
433    SendDtmfResponse([in] struct RilRadioResponseInfo responseInfo);
434
435    /**
436     * @brief Callback for the response of stopping DTMF sending.
437     *
438     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
439     * For details, see {@link RilRadioResponseInfo}.
440     *
441     * @since 3.2
442     * @version 1.0
443     */
444    StopDtmfResponse([in] struct RilRadioResponseInfo responseInfo);
445
446    /**
447     * @brief Callback for the response of querying the call preference mode.
448     *
449     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
450     * For details, see {@link RilRadioResponseInfo}.
451     * @param mode CallPreference mode.
452     *
453     * @since 3.2
454     * @version 1.0
455     */
456    GetCallPreferenceModeResponse([in] struct RilRadioResponseInfo responseInfo, [in] int mode);
457
458    /**
459     * @brief Callback for the response of setting the call preference mode.
460     *
461     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
462     * For details, see {@link RilRadioResponseInfo}.
463     *
464     * @since 3.2
465     * @version 1.0
466     */
467    SetCallPreferenceModeResponse([in] struct RilRadioResponseInfo responseInfo);
468
469    /**
470     * @brief Callback for the response of setting the USSD service.
471     *
472     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
473     * For details, see {@link RilRadioResponseInfo}.
474     *
475     * @since 3.2
476     * @version 1.0
477     */
478    SetUssdResponse([in] struct RilRadioResponseInfo responseInfo);
479
480    /**
481     * @brief Callback for the response of close unfinished USSD.
482     *
483     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
484     * For details, see {@link RilRadioResponseInfo}.
485     *
486     * @since 4.0
487     * @version 1.1
488     */
489    CloseUnFinishedUssdResponse([in] struct RilRadioResponseInfo responseInfo);
490
491    /**
492     * @brief Callback for the response of querying the USSD service.
493     *
494     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
495     * For details, see {@link RilRadioResponseInfo}.
496     * @param cusd USSD service information.
497     *
498     * @since 3.2
499     * @version 1.0
500     */
501    GetUssdResponse([in] struct RilRadioResponseInfo responseInfo, [in] int cusd);
502
503    /**
504     * @brief Callback for the response of setting the mute mode.
505     *
506     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
507     * For details, see {@link RilRadioResponseInfo}.
508     *
509     * @since 3.2
510     * @version 1.0
511     */
512    SetMuteResponse([in] struct RilRadioResponseInfo responseInfo);
513
514    /**
515     * @brief Callback for the response of querying the mute status.
516     *
517     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
518     * For details, see {@link RilRadioResponseInfo}.
519     * @param mute Mute status. The value <b>0</b> indicates the unmuted state, and the value <b>1</b>
520     * indicates the muted state.
521     *
522     * @since 3.2
523     * @version 1.0
524     */
525    GetMuteResponse([in] struct RilRadioResponseInfo responseInfo, [in] int mute);
526
527    /**
528     * @brief Callback for the response of querying the call failure cause.
529     *
530     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
531     * For details, see {@link RilRadioResponseInfo}.
532     * @param callFail Call failure cause.
533     *
534     * @since 3.2
535     * @version 1.0
536     */
537    GetCallFailReasonResponse([in] struct RilRadioResponseInfo responseInfo, [in] int callFail);
538
539    /**
540     * @brief Callback for the response of setting the call restriction password.
541     *
542     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
543     * For details, see {@link RilRadioResponseInfo}.
544     *
545     * @since 3.2
546     * @version 1.0
547     */
548    SetBarringPasswordResponse([in] struct RilRadioResponseInfo responseInfo);
549
550    /**
551     * @brief Callback for the response of setting the VoNR switch.
552     *
553     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
554     * For details, see {@link RilRadioResponseInfo}.
555     *
556     * @since 4.0
557     * @version 1.1
558     */
559    SetVonrSwitchResponse([in] struct RilRadioResponseInfo responseInfo);
560
561    /**
562     * @brief Callback for reporting status updates such as data service connection or disconnection.
563     *
564     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
565     * For details, see {@link RilRadioResponseInfo}.
566     * @param dataCallResultList List of data service activation results. For details, see {@link DataCallResultList}.
567     *
568     * @since 3.2
569     * @version 1.0
570     */
571    PdpContextListUpdated([in] struct RilRadioResponseInfo responseInfo, [in] struct DataCallResultList dataCallResultList);
572
573    /**
574     * @brief Reporting the data link capability.
575     *
576     * @param responseInfo Common response information, such as the card slot ID and request sequence ID. For details,
577     * see {@link RilRadioResponseInfo}.
578     * @param capability Data link capability.
579     *
580     * @since 4.0
581     * @version 1.1
582     */
583    DataLinkCapabilityUpdated([in] struct RilRadioResponseInfo responseInfo, [in] struct DataLinkCapability capability);
584
585    /**
586     * @brief Callback for the response of activating the data service.
587     *
588     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
589     * For details, see {@link RilRadioResponseInfo}.
590     * @param setupDataCallResultInfo Data service activation result. For details, see {@link SetupDataCallResultInfo}.
591     *
592     * @since 3.2
593     * @version 1.0
594     */
595    ActivatePdpContextResponse([in] struct RilRadioResponseInfo responseInfo,
596        [in] struct SetupDataCallResultInfo setupDataCallResultInfo);
597
598    /**
599     * @brief Callback for the response of disconnecting the data service.
600     *
601     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
602     * For details, see {@link RilRadioResponseInfo}.
603     *
604     * @since 3.2
605     * @version 1.0
606     */
607    DeactivatePdpContextResponse([in] struct RilRadioResponseInfo responseInfo);
608
609    /**
610     * @brief Callback for the response of querying the PDP context list.
611     *
612     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
613     * For details, see {@link RilRadioResponseInfo}.
614     * @param dataCallResultList List of data service activation results. For details, see {@link DataCallResultList}.
615     *
616     * @since 3.2
617     * @version 1.0
618     */
619    GetPdpContextListResponse([in] struct RilRadioResponseInfo responseInfo,
620        [in] struct DataCallResultList dataCallResultList);
621
622    /**
623     * @brief Callback for the response of setting the initial default access point name (APN).
624     *
625     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
626     * For details, see {@link RilRadioResponseInfo}.
627     *
628     * @since 3.2
629     * @version 1.0
630     */
631    SetInitApnInfoResponse([in] struct RilRadioResponseInfo responseInfo);
632
633    /**
634     * @brief Callback for the response of querying the current data link bandwidth information.
635     *
636     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
637     * For details, see {@link RilRadioResponseInfo}.
638     * @param dataLinkBandwidthInfo Data link bandwidth information. For details, see {@link DataLinkBandwidthInfo}.
639     *
640     * @since 3.2
641     * @version 1.0
642     */
643    GetLinkBandwidthInfoResponse([in] struct RilRadioResponseInfo responseInfo,
644        [in] struct DataLinkBandwidthInfo dataLinkBandwidthInfo);
645
646    /**
647     * @brief Callback for the response of get link capability.
648     *
649     * @param responseInfo Common response information, such as the card slot ID and request sequence ID. For details,
650     * see {@link RilRadioResponseInfo}.
651     * @param capability Data link capability.
652     *
653     * @since 4.0
654     * @version 1.1
655     */
656    GetLinkCapabilityResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct DataLinkCapability capability);
657
658    /**
659     * @brief Callback for the response of setting the rule for reporting the data link bandwidth information.
660     *
661     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
662     * For details, see {@link RilRadioResponseInfo}.
663     *
664     * @since 3.2
665     * @version 1.0
666     */
667    SetLinkBandwidthReportingRuleResponse([in] struct RilRadioResponseInfo responseInfo);
668
669    /**
670     * @brief Callback for the response of enabling the data service for a SIM card slot.
671     *
672     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
673     * For details, see {@link RilRadioResponseInfo}.
674     *
675     * @since 3.2
676     * @version 1.0
677     */
678    SetDataPermittedResponse([in] struct RilRadioResponseInfo responseInfo);
679
680     /**
681      * @brief Callback for reporting the radio status.
682      *
683      * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
684      * For details, see {@link RilRadioResponseInfo}.
685      * @param state Radio status. The value <b>0</b> indicates OFF, and the value <b>1</b> indicates ON.
686      *
687      * @since 3.2
688      * @version 1.0
689      */
690    RadioStateUpdated([in] struct RilRadioResponseInfo responseInfo, [in] int state);
691
692     /**
693      * @brief Callback for reporting the change of the radio access technology.
694      *
695      * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
696      * For details, see {@link RilRadioResponseInfo}.
697      * @param voiceRadioTechnology New radio access technology of the CS domain.
698      * For details, see {@link VoiceRadioTechnology}.
699      *
700      * @since 3.2
701      * @version 1.0
702      */
703    VoiceRadioTechUpdated([in] struct RilRadioResponseInfo responseInfo,
704        [in] struct VoiceRadioTechnology voiceRadioTechnology);
705
706    /**
707     * @brief Reporting the dsds mode.
708     *
709     * @param responseInfo Common response information, such as the card slot ID and request sequence ID. For details,
710     * see {@link RilRadioResponseInfo}.
711     * @param state Dsds mode.
712     *
713     * @since 4.0
714     * @version 1.1
715     */
716    DsdsModeUpdated([in] struct RilRadioResponseInfo responseInfo, [in] int state);
717
718     /**
719      * @brief Callback for the response indicating that the mobile phone is powering off.
720      *
721      * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
722      * For details, see {@link RilRadioResponseInfo}.
723      *
724      * @since 3.2
725      * @version 1.0
726      */
727    ShutDownResponse([in] struct RilRadioResponseInfo responseInfo);
728
729     /**
730      * @brief Callback for the response of setting the modem status.
731      *
732      * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
733      * For details, see {@link RilRadioResponseInfo}.
734      *
735      * @since 3.2
736      * @version 1.0
737      */
738    SetRadioStateResponse([in] struct RilRadioResponseInfo responseInfo);
739
740     /**
741      * @brief Callback for the response of querying the modem status.
742      *
743      * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
744      * For details, see {@link RilRadioResponseInfo}.
745      *
746      * @since 3.2
747      * @version 1.0
748      */
749    GetRadioStateResponse([in] struct RilRadioResponseInfo responseInfo,[in] int state);
750
751     /**
752      * @brief Callback for the response of querying the international mobile equipment identity (IMEI).
753      *
754      * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
755      * For details, see {@link RilRadioResponseInfo}.
756      * @param imei IMEI of the device.
757      *
758      * @since 3.2
759      * @version 1.0
760      */
761    GetImeiResponse([in] struct RilRadioResponseInfo responseInfo, [in] String imei);
762
763     /**
764      * @brief Callback for the response of querying the mobile equipment identifier (MEID).
765      *
766      * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
767      * For details, see {@link RilRadioResponseInfo}.
768      * @param meid MEID of the device.
769      *
770      * @since 3.2
771      * @version 1.0
772      */
773    GetMeidResponse([in] struct RilRadioResponseInfo responseInfo, [in] String meid);
774
775     /**
776      * @brief Callback for the response of querying the radio access technology of the CS domain.
777      *
778      * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
779      * For details, see {@link RilRadioResponseInfo}.
780      * @param VoiceRadioTechnology Voice radio access technology. For details, see {@link VoiceRadioTechnology}.
781      *
782      * @since 3.2
783      * @version 1.0
784      */
785    GetVoiceRadioTechnologyResponse([in] struct RilRadioResponseInfo responseInfo,
786        [in] struct VoiceRadioTechnology voiceRadioTechnology);
787
788     /**
789      * @brief Callback for the response of querying the baseband version.
790      *
791      * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
792      * For details, see {@link RilRadioResponseInfo}.
793      * @param basebandVersion Baseband version.
794      *
795      * @since 3.2
796      * @version 1.0
797      */
798    GetBasebandVersionResponse([in] struct RilRadioResponseInfo responseInfo, [in] String basebandVersion);
799
800    /**
801     * @brief Callback for reporting SIM card status updates.
802     *
803     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
804     * For details, see {@link RilRadioResponseInfo}.
805     *
806     * @since 3.2
807     * @version 1.0
808     */
809    SimStateUpdated([in] struct RilRadioResponseInfo responseInfo);
810
811    /**
812     * @brief Callback for reporting the STK <b>SessionEnd</b> instruction.
813     *
814     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
815     * For details, see {@link RilRadioResponseInfo}.
816     *
817     * @since 3.2
818     * @version 1.0
819     */
820    SimStkSessionEndNotify([in] struct RilRadioResponseInfo responseInfo);
821
822    /**
823     * @brief Callback for reporting STK <b>Proactive</b> instructions.
824     *
825     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
826     * For details, see {@link RilRadioResponseInfo}.
827     *
828     * @since 3.2
829     * @version 1.0
830     */
831    SimStkProactiveNotify([in] struct RilRadioResponseInfo responseInfo, [in] String response);
832
833    /**
834     * @brief Callback for reporting STK <b>Alpha</b> instructions.
835     *
836     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
837     * For details, see {@link RilRadioResponseInfo}.
838     *
839     * @since 3.2
840     * @version 1.0
841     */
842    SimStkAlphaNotify([in] struct RilRadioResponseInfo responseInfo, [in] String response);
843
844    /**
845     * @brief Callback for reporting STK events.
846     *
847     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
848     * For details, see {@link RilRadioResponseInfo}.
849     *
850     * @since 3.2
851     * @version 1.0
852     */
853    SimStkEventNotify([in] struct RilRadioResponseInfo responseInfo, [in] String response);
854
855    /**
856     * @brief Callback for reporting STK <b>CallSetup</b> instructions.
857     *
858     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
859     * For details, see {@link RilRadioResponseInfo}.
860     *
861     * @since 3.2
862     * @version 1.0
863     */
864    SimStkCallSetupNotify([in] struct RilRadioResponseInfo responseInfo);
865
866    /**
867     * @brief Callback for reporting the SIM card status.
868     *
869     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
870     * For details, see {@link RilRadioResponseInfo}.
871     *
872     * @since 3.2
873     * @version 1.0
874     */
875    SimRefreshNotify([in] struct RilRadioResponseInfo responseInfo);
876
877    /**
878     * @brief Callback for reporting STK Radio protocol updates.
879     *
880     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
881     * For details, see {@link RilRadioResponseInfo}.
882     *
883     * @since 3.2
884     * @version 1.0
885     */
886    SimRadioProtocolUpdated([in] struct RilRadioResponseInfo responseInfo, [in] struct RadioProtocol radioProtocol);
887
888    /**
889     * @brief Callback for the response of querying SIM card data.
890     *
891     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
892     * For details, see {@link RilRadioResponseInfo}.
893     * @param result I/O response result of the SIM card. For details, see {@link IccIoResultInfo}.
894     *
895     * @since 3.2
896     * @version 1.0
897     */
898    GetSimIOResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct IccIoResultInfo result);
899
900    /**
901     * @brief Callback for the response of obtaining the SIM card status.
902     *
903     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
904     * For details, see {@link RilRadioResponseInfo}.
905     * @param CardStatusInfo SIM card status. For details, see {@link CardStatusInfo}.
906     *
907     * @since 3.2
908     * @version 1.0
909     */
910    GetSimStatusResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct CardStatusInfo result);
911
912    /**
913     * @brief Callback for the response of obtaining the IMSI of a SIM card.
914     *
915     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
916     * For details, see {@link RilRadioResponseInfo}.
917     * @param response IMSI of the SIM card.
918     *
919     * @since 3.2
920     * @version 1.0
921     */
922    GetImsiResponse([in] struct RilRadioResponseInfo responseInfo, [in] String response);
923
924    /**
925     * @brief Callback for the response of obtaining the SIM card lock status.
926     *
927     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
928     * For details, see {@link RilRadioResponseInfo}.
929     * @param simLockStatus SIM card lock status. For details, see {@link simLockStatus}.
930     *
931     * @since 3.2
932     * @version 1.0
933     */
934    GetSimLockStatusResponse([in] struct RilRadioResponseInfo responseInfo, [in] int simLockStatus);
935
936    /**
937     * @brief Callback for the response of setting the SIM card lock status.
938     *
939     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
940     * For details, see {@link RilRadioResponseInfo}.
941     * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}.
942     *
943     * @since 3.2
944     * @version 1.0
945     */
946    SetSimLockResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus);
947
948    /**
949     * @brief Callback for the response of changing the SIM card password.
950     *
951     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
952     * For details, see {@link RilRadioResponseInfo}.
953     * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}.
954     *
955     * @since 3.2
956     * @version 1.0
957     */
958    ChangeSimPasswordResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus);
959
960    /**
961     * @brief Callback for the response of unlocking with the PIN.
962     *
963     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
964     * For details, see {@link RilRadioResponseInfo}.
965     * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}.
966     *
967     * @since 3.2
968     * @version 1.0
969     */
970    UnlockPinResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus);
971
972    /**
973     * @brief Callback for the response of unlocking with the PUK.
974     *
975     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
976     * For details, see {@link RilRadioResponseInfo}.
977     * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}.
978     *
979     * @since 3.2
980     * @version 1.0
981     */
982    UnlockPukResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus);
983
984    /**
985     * @brief Callback for the response of unlocking with PIN2.
986     *
987     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
988     * For details, see {@link RilRadioResponseInfo}.
989     * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}.
990     *
991     * @since 3.2
992     * @version 1.0
993     */
994    UnlockPin2Response([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus);
995
996    /**
997     * @brief Callback for the response of unlocking with PUK2.
998     *
999     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1000     * For details, see {@link RilRadioResponseInfo}.
1001     * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}.
1002     *
1003     * @since 3.2
1004     * @version 1.0
1005     */
1006    UnlockPuk2Response([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus);
1007
1008    /**
1009     * @brief Callback for the response of activating or deactivating the SIM card.
1010     *
1011     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1012     * For details, see {@link RilRadioResponseInfo}.
1013     *
1014     * @since 3.2
1015     * @version 1.0
1016     */
1017    SetActiveSimResponse([in] struct RilRadioResponseInfo responseInfo);
1018
1019    /**
1020     * @brief Callback for the response of sending the STK <b>TerminalResponse</b> instruction.
1021     *
1022     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1023     * For details, see {@link RilRadioResponseInfo}.
1024     *
1025     * @since 3.2
1026     * @version 1.0
1027     */
1028    SimStkSendTerminalResponseResponse([in] struct RilRadioResponseInfo responseInfo);
1029
1030    /**
1031     * @brief Callback for the response of sending the STK <b>Envelope</b> instruction.
1032     *
1033     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1034     * For details, see {@link RilRadioResponseInfo}.
1035     *
1036     * @since 3.2
1037     * @version 1.0
1038     */
1039    SimStkSendEnvelopeResponse([in] struct RilRadioResponseInfo responseInfo);
1040
1041    /**
1042     * @brief Callback for the response of sending the STK <b>CallSetup</b> instruction.
1043     *
1044     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1045     * For details, see {@link RilRadioResponseInfo}.
1046     *
1047     * @since 3.2
1048     * @version 1.0
1049     */
1050    SimStkSendCallSetupRequestResultResponse([in] struct RilRadioResponseInfo responseInfo);
1051
1052    /**
1053     * @brief Callback for the response of querying whether the STK is ready.
1054     *
1055     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1056     * For details, see {@link RilRadioResponseInfo}.
1057     *
1058     * @since 3.2
1059     * @version 1.0
1060     */
1061    SimStkIsReadyResponse([in] struct RilRadioResponseInfo responseInfo);
1062
1063    /**
1064     * @brief Callback for the response of querying the protocol stack of the primary and secondary SIM cards.
1065     *
1066     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1067     * For details, see {@link RilRadioResponseInfo}.
1068     * @param RadioProtocol Radio protocol. For details, see {@link RadioProtocol}.
1069     *
1070     * @since 3.2
1071     * @version 1.0
1072     */
1073    GetRadioProtocolResponse([in] struct RilRadioResponseInfo responseInfo,[in] struct RadioProtocol radioProtocol);
1074
1075    /**
1076     * @brief Callback for the response of setting the protocol stack of the primary and secondary SIM cards.
1077     *
1078     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1079     * For details, see {@link RilRadioResponseInfo}.
1080     * @param RadioProtocol Radio protocol. For details, see {@link RadioProtocol}.
1081     *
1082     * @since 3.2
1083     * @version 1.0
1084     */
1085    SetRadioProtocolResponse([in] struct RilRadioResponseInfo responseInfo,[in] struct RadioProtocol radioProtocol);
1086
1087    /**
1088     * @brief Callback for the response of opening the logical channel for APDU transmission.
1089     *
1090     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1091     * For details, see {@link RilRadioResponseInfo}.
1092     * @param OpenLogicalChannelResponse Response of opening the logical channel.
1093     * For details, see {@link OpenLogicalChannelResponse}.
1094     *
1095     * @since 3.2
1096     * @version 1.0
1097     */
1098    SimOpenLogicalChannelResponse([in] struct RilRadioResponseInfo responseInfo,
1099        [in] struct OpenLogicalChannelResponse pOpenLogicalChannelResponse);
1100
1101    /**
1102     * @brief Callback for the response of closing the logical channel for APDU transmission.
1103     *
1104     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1105     * For details, see {@link RilRadioResponseInfo}.
1106     *
1107     * @since 3.2
1108     * @version 1.0
1109     */
1110    SimCloseLogicalChannelResponse([in] struct RilRadioResponseInfo responseInfo);
1111
1112    /**
1113     * @brief Callback for the response of transmitting APDU over a logical channel.
1114     *
1115     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1116     * For details, see {@link RilRadioResponseInfo}.
1117     * @param result Data transmission result. For details, see {@link IccIoResultInfo}.
1118     *
1119     * @since 3.2
1120     * @version 1.0
1121     */
1122    SimTransmitApduLogicalChannelResponse([in] struct RilRadioResponseInfo responseInfo,
1123        [in] struct IccIoResultInfo result);
1124
1125    /**
1126     * @brief Callback for the response of transmitting APDU over a basic channel.
1127     *
1128     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1129     * For details, see {@link RilRadioResponseInfo}.
1130     * @param result Indicates the data transmission result. For details, see {@link IccIoResultInfo}.
1131     *
1132     * @since 3.2
1133     * @version 1.0
1134     */
1135    SimTransmitApduBasicChannelResponse([in] struct RilRadioResponseInfo responseInfo,
1136        [in] struct IccIoResultInfo result);
1137
1138    /**
1139     * @brief Callback for the response of SIM card authentication.
1140     *
1141     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1142     * For details, see {@link RilRadioResponseInfo}.
1143     * @param result SIM card authentication result. For details, see {@link IccIoResultInfo}.
1144     *
1145     * @since 3.2
1146     * @version 1.0
1147     */
1148    SimAuthenticationResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct IccIoResultInfo result);
1149
1150    /**
1151     * @brief Callback for the response of SIM card unlocking.
1152     *
1153     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1154     * For details, see {@link RilRadioResponseInfo}.
1155     * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}.
1156     *
1157     * @since 3.2
1158     * @version 1.0
1159     */
1160    UnlockSimLockResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus);
1161
1162    /**
1163     * @brief Callback for reporting network registration status updates of the CS domain.
1164     *
1165     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1166     * For details, see {@link RilRadioResponseInfo}.
1167     * @param csRegStatusInfo Network registration status of the CS domain. For details, see {@link CsRegStatusInfo}.
1168     *
1169     * @since 3.2
1170     * @version 1.0
1171     */
1172    NetworkCsRegStatusUpdated([in] struct RilRadioResponseInfo responseInfo,
1173        [in] struct CsRegStatusInfo csRegStatusInfo);
1174
1175    /**
1176     * @brief Callback for reporting network registration status updates of the PS domain.
1177     *
1178     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1179     * For details, see {@link RilRadioResponseInfo}.
1180     * @param psRegStatusInfo Network registration status of the PS domain. For details, see {@link PsRegStatusInfo}.
1181     *
1182     * @since 3.2
1183     * @version 1.0
1184     */
1185    NetworkPsRegStatusUpdated([in] struct RilRadioResponseInfo responseInfo,
1186        [in] struct PsRegStatusInfo psRegStatusInfo);
1187
1188    /**
1189     * @brief Callback for reporting signal strength updates.
1190     *
1191     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1192     * For details, see {@link RilRadioResponseInfo}.
1193     * @param rssi Signal strength. For details, see {@link Rssi}.
1194     *
1195     * @since 3.2
1196     * @version 1.0
1197     */
1198    SignalStrengthUpdated([in] struct RilRadioResponseInfo responseInfo, [in] struct Rssi rssi);
1199
1200    /**
1201     * @brief Callback for reporting NITZ time zone updates.
1202     *
1203     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1204     * For details, see {@link RilRadioResponseInfo}.
1205     * @param timeZoneStr NITZ time zone.
1206     *
1207     * @since 3.2
1208     * @version 1.0
1209     */
1210    NetworkTimeZoneUpdated([in] struct RilRadioResponseInfo responseInfo, [in] String timeZoneStr);
1211
1212    /**
1213     * @brief Callback for reporting NITZ time updates.
1214     *
1215     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1216     * For details, see {@link RilRadioResponseInfo}.
1217     * @param timeStr NITZ time.
1218     *
1219     * @since 3.2
1220     * @version 1.0
1221     */
1222    NetworkTimeUpdated([in] struct RilRadioResponseInfo responseInfo, [in] String timeStr);
1223
1224    /**
1225     * @brief Callback for reporting physical channel configuration updates.
1226     *
1227     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1228     * For details, see {@link RilRadioResponseInfo}.
1229     * @param channelConfigInfoList Channel configuration information list. For details, see {@link ChannelConfigInfoList}.
1230     *
1231     * @since 3.2
1232     * @version 1.0
1233     */
1234    NetworkPhyChnlCfgUpdated([in] struct RilRadioResponseInfo responseInfo,
1235        [in] struct ChannelConfigInfoList channelConfigInfoList);
1236
1237    /**
1238     * @brief Callback for reporting cell information.
1239     *
1240     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1241     * For details, see {@link RilRadioResponseInfo}.
1242     * @param cellListCurrentInfo Cell information list. For details, see {@link CellListCurrentInfo}.
1243     *
1244     * @since 3.2
1245     * @version 1.0
1246     */
1247    NetworkCurrentCellUpdated([in] struct RilRadioResponseInfo responseInfo,
1248        [in] struct CellListCurrentInfo cellListCurrentInfo);
1249
1250    /**
1251     * @brief Callback for reporting cell information.
1252     *
1253     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1254     * For details, see {@link RilRadioResponseInfo}.
1255     * @param cellListCurrentInfo Cell information list. For details, see {@link CellListCurrentInfo_1_1}.
1256     *
1257     * @since 4.0
1258     * @version 1.1
1259     */
1260    NetworkCurrentCellUpdated_1_1([in] struct RilRadioResponseInfo responseInfo,
1261        [in] struct CellListCurrentInfo_1_1 cellListCurrentInfo);
1262
1263    /**
1264     * @brief Callback for querying the signal strength.
1265     *
1266     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1267     * For details, see {@link RilRadioResponseInfo}.
1268     * @param rssi Signal strength. For details, see {@link Rssi}.
1269     *
1270     * @since 3.2
1271     * @version 1.0
1272     */
1273    GetSignalStrengthResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct Rssi rssi);
1274
1275    /**
1276     * @brief Callback for the response of obtaining the network registration status of the CS domain.
1277     *
1278     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1279     * For details, see {@link RilRadioResponseInfo}.
1280     * @param csRegStatusInfo Network registration status of the CS domain. For details, see {@link CsRegStatusInfo}.
1281     *
1282     * @since 3.2
1283     * @version 1.0
1284     */
1285    GetCsRegStatusResponse([in] struct RilRadioResponseInfo responseInfo,
1286        [in] struct CsRegStatusInfo csRegStatusInfo);
1287
1288    /**
1289     * @brief Callback for the response of obtaining the network registration status of the PS domain.
1290     *
1291     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1292     * For details, see {@link RilRadioResponseInfo}.
1293     * @param psRegStatusInfo Network registration status of the PS domain. For details, see {@link PsRegStatusInfo}.
1294     *
1295     * @since 3.2
1296     * @version 1.0
1297     */
1298    GetPsRegStatusResponse([in] struct RilRadioResponseInfo responseInfo,
1299        [in] struct PsRegStatusInfo psRegStatusInfo);
1300
1301    /**
1302     * @brief Callback for the response of querying the carrier name.
1303     *
1304     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1305     * For details, see {@link RilRadioResponseInfo}.
1306     * @param psRegStatusInfo Carrier information. For details, see {@link OperatorInfo}.
1307     *
1308     * @since 3.2
1309     * @version 1.0
1310     */
1311    GetOperatorInfoResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct OperatorInfo psRegStatusInfo);
1312
1313    /**
1314     * @brief Callback for the response of querying available network information.
1315     *
1316     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1317     * For details, see {@link RilRadioResponseInfo}.
1318     * @param availableNetworkList Available network list. For details, see {@link AvailableNetworkList}.
1319     *
1320     * @since 3.2
1321     * @version 1.0
1322     */
1323    GetNetworkSearchInformationResponse([in] struct RilRadioResponseInfo responseInfo,
1324        [in] struct AvailableNetworkList availableNetworkList);
1325
1326    /**
1327     * @brief Callback for the response of querying the network selection mode.
1328     *
1329     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1330     * For details, see {@link RilRadioResponseInfo}.
1331     * @param setNetworkModeInfo Network modes available for selection. For details, see {@link SetNetworkModeInfo}.
1332     *
1333     * @since 3.2
1334     * @version 1.0
1335     */
1336    GetNetworkSelectionModeResponse([in] struct RilRadioResponseInfo responseInfo,
1337        [in] struct SetNetworkModeInfo setNetworkModeInfo);
1338
1339    /**
1340     * @brief Callback for the response of setting the network selection mode.
1341     *
1342     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1343     * For details, see {@link RilRadioResponseInfo}.
1344     *
1345     * @since 3.2
1346     * @version 1.0
1347     */
1348    SetNetworkSelectionModeResponse([in] struct RilRadioResponseInfo responseInfo);
1349
1350    /**
1351     * @brief Callback for the response of querying neighboring cell information.
1352     *
1353     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1354     * For details, see {@link RilRadioResponseInfo}.
1355     * @param cellListNearbyInfo Neighboring cell information list. For details, see {@link CellListNearbyInfo}.
1356     *
1357     * @since 3.2
1358     * @version 1.0
1359     */
1360    GetNeighboringCellInfoListResponse([in] struct RilRadioResponseInfo responseInfo,
1361        [in] struct CellListNearbyInfo cellListNearbyInfo);
1362
1363    /**
1364     * @brief Callback for the response of querying cell information.
1365     *
1366     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1367     * For details, see {@link RilRadioResponseInfo}.
1368     * @param cellListCurrentInfo Cell information list. For details, see {@link CellListNearbyInfo}.
1369     *
1370     * @since 3.2
1371     * @version 1.0
1372     */
1373    GetCurrentCellInfoResponse([in] struct RilRadioResponseInfo responseInfo,
1374        [in] struct CellListCurrentInfo cellListCurrentInfo);
1375
1376    /**
1377     * @brief Callback for the response of querying cell information.
1378     *
1379     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1380     * For details, see {@link RilRadioResponseInfo}.
1381     * @param cellListCurrentInfo Cell information list. For details, see {@link CellListCurrentInfo_1_1}.
1382     *
1383     * @since 4.0
1384     * @version 1.1
1385     */
1386    GetCurrentCellInfoResponse_1_1([in] struct RilRadioResponseInfo responseInfo,
1387        [in] struct CellListCurrentInfo_1_1 cellListCurrentInfo);
1388
1389    /**
1390     * @brief Callback for the response of setting the preferred network type.
1391     *
1392     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1393     * For details, see {@link RilRadioResponseInfo}.
1394     *
1395     * @since 3.2
1396     * @version 1.0
1397     */
1398    SetPreferredNetworkResponse([in] struct RilRadioResponseInfo responseInfo);
1399
1400    /**
1401     * @brief Callback for the response of querying the preferred network type.
1402     *
1403     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1404     * For details, see {@link RilRadioResponseInfo}.
1405     * @param preferredNetworkTypeInfo Preferred network type information. For details, see {@link PreferredNetworkTypeInfo}.
1406     *
1407     * @since 3.2
1408     * @version 1.0
1409     */
1410    GetPreferredNetworkResponse([in] struct RilRadioResponseInfo responseInfo,
1411        [in] struct PreferredNetworkTypeInfo preferredNetworkTypeInfo);
1412
1413    /**
1414     * @brief Callback for the response of querying the physical channel configuration.
1415     *
1416     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1417     * For details, see {@link RilRadioResponseInfo}.
1418     * @param channelConfigInfoList Physical channel configuration information list. For details, see {@link ChannelConfigInfoList}.
1419     *
1420     * @since 3.2
1421     * @version 1.0
1422     */
1423    GetPhysicalChannelConfigResponse([in] struct RilRadioResponseInfo responseInfo,
1424        [in] struct ChannelConfigInfoList channelConfigInfoList);
1425
1426    /**
1427     * @brief Callback for the response of enabling or disabling cell location update.
1428     *
1429     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1430     * For details, see {@link RilRadioResponseInfo}.
1431     *
1432     * @since 3.2
1433     * @version 1.0
1434     */
1435    SetLocateUpdatesResponse([in] struct RilRadioResponseInfo responseInfo);
1436
1437    /**
1438     * @brief Callback for the response of setting a notification filter.
1439     *
1440     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1441     * For details, see {@link RilRadioResponseInfo}.
1442     *
1443     * @since 3.2
1444     * @version 1.0
1445     */
1446    SetNotificationFilterResponse([in] struct RilRadioResponseInfo responseInfo);
1447
1448    /**
1449     * @brief Callback for the response of setting the device status.
1450     *
1451     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1452     * For details, see {@link RilRadioResponseInfo}.
1453     *
1454     * @since 3.2
1455     * @version 1.0
1456     */
1457    SetDeviceStateResponse([in] struct RilRadioResponseInfo responseInfo);
1458
1459    /**
1460     * @brief Callback for reporting new GSM SMS message notifications.
1461     *
1462     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1463     * For details, see {@link RilRadioResponseInfo}.
1464     * @param smsMessageInfo SMS message information. For details, see {@link SmsMessageInfo}.
1465     *
1466     * @since 3.2
1467     * @version 1.0
1468     */
1469    NewSmsNotify([in] struct RilRadioResponseInfo responseInfo, [in] struct SmsMessageInfo smsMessageInfo);
1470
1471    /**
1472     * @brief Callback for reporting new CDMA SMS message notifications.
1473     *
1474     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1475     * For details, see {@link RilRadioResponseInfo}.
1476     * @param smsMessageInfo SMS message information. For details, see {@link SmsMessageInfo}.
1477     *
1478     * @since 3.2
1479     * @version 1.0
1480     */
1481    NewCdmaSmsNotify([in] struct RilRadioResponseInfo responseInfo,[in] struct SmsMessageInfo smsMessageInfo);
1482
1483    /**
1484     * @brief Callback for reporting SMS status notifications.
1485     *
1486     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1487     * For details, see {@link RilRadioResponseInfo}.
1488     * @param smsMessageInfo SMS message information. For details, see {@link SmsMessageInfo}.
1489     *
1490     * @since 3.2
1491     * @version 1.0
1492     */
1493    SmsStatusReportNotify([in] struct RilRadioResponseInfo responseInfo, [in] struct SmsMessageInfo smsMessageInfo);
1494
1495    /**
1496     * @brief Callback for reporting storage of new SMS message in a SIM card.
1497     *
1498     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1499     * For details, see {@link RilRadioResponseInfo}.
1500     * @param recordNumber Number of SMS messages in the SIM card.
1501     * @param indicationType Notification type. For details, see {@link HRilNotiType}.
1502     *
1503     * @since 3.2
1504     * @version 1.0
1505     */
1506    NewSmsStoredOnSimNotify([in] struct RilRadioResponseInfo responseInfo, [in] int recordNumber,
1507        [in] int indicationType);
1508
1509    /**
1510     * @brief Callback for reporting cell broadcast configuration.
1511     *
1512     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1513     * For details, see {@link RilRadioResponseInfo}.
1514     * @param cellBroadConfigReportInfo Cell broadcast information. For details, see {@link CBConfigReportInfo}.
1515     *
1516     * @since 3.2
1517     * @version 1.0
1518     */
1519    CBConfigNotify([in] struct RilRadioResponseInfo responseInfo,
1520        [in] struct CBConfigReportInfo cellBroadConfigReportInfo);
1521
1522    /**
1523     * @brief Callback for the response of sending a GSM SMS message.
1524     *
1525     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1526     * For details, see {@link RilRadioResponseInfo}.
1527     * @param sendSmsResultInfo SMS message sending result. For details, see {@link SendSmsResultInfo}.
1528     *
1529     * @since 3.2
1530     * @version 1.0
1531     */
1532    SendGsmSmsResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct SendSmsResultInfo sendSmsResultInfo);
1533
1534    /**
1535     * @brief Callback for the response of sending a CDMA SMS message.
1536     *
1537     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1538     * For details, see {@link RilRadioResponseInfo}.
1539     * @param sendSmsResultInfo SMS message sending result. For details, see {@link SendSmsResultInfo}.
1540     *
1541     * @since 3.2
1542     * @version 1.0
1543     */
1544    SendCdmaSmsResponse([in] struct RilRadioResponseInfo responseInfo,
1545        [in] struct SendSmsResultInfo sendSmsResultInfo);
1546
1547    /**
1548     * @brief Callback for the response of writing GSM SMS messages to a SIM card.
1549     *
1550     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1551     * For details, see {@link RilRadioResponseInfo}.
1552     *
1553     * @since 3.2
1554     * @version 1.0
1555     */
1556    AddSimMessageResponse([in] struct RilRadioResponseInfo responseInfo);
1557
1558    /**
1559     * @brief Callback for the response of deleting GSM SMS messages from a SIM card.
1560     *
1561     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1562     * For details, see {@link RilRadioResponseInfo}.
1563     *
1564     * @since 3.2
1565     * @version 1.0
1566     */
1567    DelSimMessageResponse([in] struct RilRadioResponseInfo responseInfo);
1568
1569    /**
1570     * @brief Callback for the response of updating the GSM SMS messages in a SIM card.
1571     *
1572     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1573     * For details, see {@link RilRadioResponseInfo}.
1574     *
1575     * @since 3.2
1576     * @version 1.0
1577     */
1578    UpdateSimMessageResponse([in] struct RilRadioResponseInfo responseInfo);
1579
1580    /**
1581     * @brief Callback for the response of writing CDMA SMS messages to a SIM card.
1582     *
1583     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1584     * For details, see {@link RilRadioResponseInfo}.
1585     *
1586     * @since 3.2
1587     * @version 1.0
1588     */
1589    AddCdmaSimMessageResponse([in] struct RilRadioResponseInfo responseInfo);
1590
1591    /**
1592     * @brief Callback for the response of deleting CDMA SMS messages from a SIM card.
1593     *
1594     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1595     * For details, see {@link RilRadioResponseInfo}.
1596     *
1597     * @since 3.2
1598     * @version 1.0
1599     */
1600    DelCdmaSimMessageResponse([in] struct RilRadioResponseInfo responseInfo);
1601
1602    /**
1603     * @brief Callback for the response of updating the CDMA SMS messages in a SIM card.
1604     *
1605     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1606     * For details, see {@link RilRadioResponseInfo}.
1607     *
1608     * @since 3.2
1609     * @version 1.0
1610     */
1611    UpdateCdmaSimMessageResponse([in] struct RilRadioResponseInfo responseInfo);
1612
1613    /**
1614     * @brief Callback for the response of setting an SMSC address.
1615     *
1616     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1617     * For details, see {@link RilRadioResponseInfo}.
1618     *
1619     * @since 3.2
1620     * @version 1.0
1621     */
1622    SetSmscAddrResponse([in] struct RilRadioResponseInfo responseInfo);
1623
1624    /**
1625     * @brief Callback for the response of querying the SMSC address.
1626     *
1627     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1628     * For details, see {@link RilRadioResponseInfo}.
1629     *
1630     * @param serviceCenterAddress SMSC address. For details, see {@link ServiceCenterAddress}.
1631     * @since 3.2
1632     * @version 1.0
1633     */
1634    GetSmscAddrResponse([in] struct RilRadioResponseInfo responseInfo,
1635        [in] struct ServiceCenterAddress serviceCenterAddress);
1636
1637    /**
1638     * @brief Callback for the response of activating GSM cell broadcast.
1639     *
1640     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1641     * For details, see {@link RilRadioResponseInfo}.
1642     *
1643     * @since 3.2
1644     * @version 1.0
1645     */
1646    SetCBConfigResponse([in] struct RilRadioResponseInfo responseInfo);
1647
1648    /**
1649     * @brief Callback for the response of querying the GSM cell broadcast configuration.
1650     *
1651     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1652     * For details, see {@link RilRadioResponseInfo}.
1653     * @param cellBroadcastInfo GSM cell broadcast configuration information. For details, see {@link CBConfigInfo}.
1654     *
1655     * @since 3.2
1656     * @version 1.0
1657     */
1658    GetCBConfigResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct CBConfigInfo cellBroadcastInfo);
1659
1660    /**
1661     * @brief Callback for the response of activating CDMA cell broadcast.
1662     *
1663     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1664     * For details, see {@link RilRadioResponseInfo}.
1665     *
1666     * @since 3.2
1667     * @version 1.0
1668     */
1669    SetCdmaCBConfigResponse([in] struct RilRadioResponseInfo responseInfo);
1670
1671    /**
1672     * @brief Callback for the response of querying the CDMA cell broadcast configuration.
1673     *
1674     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1675     * For details, see {@link RilRadioResponseInfo}.
1676     * @param cdmaCBConfigInfo CDMA cell broadcast configuration information. For details, see {@link CdmaCBConfigInfo}.
1677     *
1678     * @since 3.2
1679     * @version 1.0
1680     */
1681    GetCdmaCBConfigResponse([in] struct RilRadioResponseInfo responseInfo,
1682        [in] struct CdmaCBConfigInfo cdmaCBConfigInfo);
1683
1684    /**
1685     * @brief Callback for the response of sending a long GSM SMS message.
1686     *
1687     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1688     * For details, see {@link RilRadioResponseInfo}.
1689     * @param sendSmsResultInfo SMS message sending result. For details, see {@link SendSmsResultInfo}.
1690     *
1691     * @since 3.2
1692     * @version 1.0
1693     */
1694    SendSmsMoreModeResponse([in] struct RilRadioResponseInfo responseInfo,
1695        [in] struct SendSmsResultInfo sendSmsResultInfo);
1696
1697    /**
1698     * @brief Callback for the response of acknowledging the receipt of a new SMS message.
1699     *
1700     * @param responseInfo Common response information, such as the card slot ID and request sequence ID.
1701     * For details, see {@link RilRadioResponseInfo}.
1702     *
1703     * @since 3.2
1704     * @version 1.0
1705     */
1706    SendSmsAckResponse([in] struct RilRadioResponseInfo responseInfo);
1707
1708    /**
1709     * @brief Callback for the response of a common error.
1710     *
1711     * @param responseInfo Common response information, such as the card slot ID and request sequence ID. For details, see {@link RilRadioResponseInfo}.
1712     *
1713     * @since 3.2
1714     * @version 1.0
1715     */
1716    CommonErrorResponse([in] struct RilRadioResponseInfo responseInfo);
1717
1718    /**
1719     * @brief Callback for the response of rrc connect state.
1720     *
1721     * @param responseInfo Common response information, such as the card slot ID and request sequence ID. For details,
1722     * see {@link RilRadioResponseInfo}.
1723     * @param state Rrc connection state.
1724     *
1725     * @since 4.0
1726     * @version 1.1
1727     */
1728    GetRrcConnectionStateResponse([in] struct RilRadioResponseInfo responseInfo, [in] int state);
1729
1730    /**
1731     * @brief Callback for the response of set nr option mode.
1732     *
1733     * @param responseInfo Common response information, such as the card slot ID and request sequence ID. For details,
1734     * see {@link RilRadioResponseInfo}.
1735     *
1736     * @since 4.0
1737     * @version 1.1
1738     */
1739    SetNrOptionModeResponse([in] struct RilRadioResponseInfo responseInfo);
1740
1741    /**
1742     * @brief Callback for the response of get nr option mode.
1743     *
1744     * @param responseInfo Common response information, such as the card slot ID and request sequence ID. For details,
1745     * see {@link RilRadioResponseInfo}.
1746     * @param mode Nr option mode.
1747     *
1748     * @since 4.0
1749     * @version 1.1
1750     */
1751    GetNrOptionModeResponse([in] struct RilRadioResponseInfo responseInfo, [in] int mode);
1752
1753    /**
1754     * @brief Reporting the rrc connection state.
1755     *
1756     * @param responseInfo Common response information, such as the card slot ID and request sequence ID. For details,
1757     * see {@link RilRadioResponseInfo}.
1758     * @param state Rrc connection state.
1759     *
1760     * @since 4.0
1761     * @version 1.1
1762     */
1763    GetRrcConnectionStateUpdated([in] struct RilRadioResponseInfo responseInfo, [in] int state);
1764}
1765/** @} */
1766