diff --git a/ril/v1_0/IRilCallback.idl b/ril/v1_0/IRilCallback.idl index 6faab87841631fe82d5b988b7cd743159269d625..211570325bce04a56aac39bf17f2ae8e2ac1387e 100644 --- a/ril/v1_0/IRilCallback.idl +++ b/ril/v1_0/IRilCallback.idl @@ -19,9 +19,53 @@ import ohos.hdi.ril.v1_0.Types; [callback] interface IRilCallback { CallEmergencyNotice([in] int slotId, [in] struct IEmergencyInfoList emergencyInfoList); + CallStateUpdated([in] int slotId, [in] int type); + CallRingbackVoiceNotice([in] int slotId, [in] struct IRingbackVoice ringbackVoice); + CallSrvccStatusNotice([in] int slotId, [in] struct ISrvccStatus srvccStatus); + CallUssdNotice([in] int slotId, [in] struct IUssdNoticeInfo ussdNoticeInfo); + CallSsNotice([in] int slotId, [in] struct ISsNoticeInfo ssNoticeInfo); + SetEmergencyCallListResponse([in] struct IHRilRadioResponseInfo responseInfo); GetEmergencyCallListResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] struct IEmergencyInfoList emergencyInfoList); + GetCallListResponse([in] struct IHRilRadioResponseInfo responseInfo, + [in] struct ICallInfoList callList); + DialResponse([in] struct IHRilRadioResponseInfo responseInfo); + HangupResponse([in] struct IHRilRadioResponseInfo responseInfo); + RejectResponse([in] struct IHRilRadioResponseInfo responseInfo); + AnswerResponse([in] struct IHRilRadioResponseInfo responseInfo); + HoldCallResponse([in] struct IHRilRadioResponseInfo responseInfo); + UnHoldCallResponse([in] struct IHRilRadioResponseInfo responseInfo); + SwitchCallResponse([in] struct IHRilRadioResponseInfo responseInfo); + GetClipResponse([in] struct IHRilRadioResponseInfo responseInfo, + [in] struct IGetClipResult getClipResult); + SetClipResponse([in] struct IHRilRadioResponseInfo responseInfo); + CombineConferenceResponse([in] struct IHRilRadioResponseInfo responseInfo); + SeparateConferenceResponse([in] struct IHRilRadioResponseInfo responseInfo); + CallSupplementResponse([in] struct IHRilRadioResponseInfo responseInfo); + GetCallWaitingResponse([in] struct IHRilRadioResponseInfo responseInfo, + [in] struct ICallWaitResult callWaitResult); + SetCallWaitingResponse([in] struct IHRilRadioResponseInfo responseInfo); + GetCallTransferInfoResponse([in] struct IHRilRadioResponseInfo responseInfo, + [in] struct ICallForwardQueryInfoList cFQueryList); + SetCallTransferInfoResponse([in] struct IHRilRadioResponseInfo responseInfo); + GetCallRestrictionResponse([in] struct IHRilRadioResponseInfo responseInfo, + [in] struct ICallRestrictionResult result); + SetCallRestrictionResponse([in] struct IHRilRadioResponseInfo responseInfo); + GetClirResponse([in] struct IHRilRadioResponseInfo responseInfo, + [in] struct IGetClirResult getClirResult); + SetClirResponse([in] struct IHRilRadioResponseInfo responseInfo); + StartDtmfResponse([in] struct IHRilRadioResponseInfo responseInfo); + SendDtmfResponse([in] struct IHRilRadioResponseInfo responseInfo); + StopDtmfResponse([in] struct IHRilRadioResponseInfo responseInfo); + GetCallPreferenceModeResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] int mode); + SetCallPreferenceModeResponse([in] struct IHRilRadioResponseInfo responseInfo); + SetUssdResponse([in] struct IHRilRadioResponseInfo responseInfo); + GetUssdResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] int cusd); + SetMuteResponse([in] struct IHRilRadioResponseInfo responseInfo); + GetMuteResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] int mute); + GetCallFailReasonResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] int callFail); + SetBarringPasswordResponse([in] struct IHRilRadioResponseInfo responseInfo); PdpContextListUpdated([in] int slotId, [in] struct IDataCallResultList dataCallResultList); ActivatePdpContextResponse([in] struct IHRilRadioResponseInfo responseInfo, @@ -34,4 +78,49 @@ import ohos.hdi.ril.v1_0.Types; [in] struct IDataLinkBandwidthInfo dataLinkBandwidthInfo); SetLinkBandwidthReportingRuleResponse([in] struct IHRilRadioResponseInfo responseInfo); SetDataPermittedResponse([in] struct IHRilRadioResponseInfo responseInfo); + + RadioStateUpdated([in] int slotId, [in] int state); + VoiceRadioTechUpdated([in] int slotId, [in] struct IVoiceRadioTechnology voiceRadioTechnology); + ShutDownResponse([in] struct IHRilRadioResponseInfo responseInfo); + SetRadioStateResponse([in] struct IHRilRadioResponseInfo responseInfo); + GetRadioStateResponse([in] struct IHRilRadioResponseInfo responseInfo,[in] int state); + GetImeiResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] String imei); + GetMeidResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] String meid); + GetVoiceRadioTechnologyResponse([in] struct IHRilRadioResponseInfo responseInfo, + [in] struct IVoiceRadioTechnology voiceRadioTechnology); + GetBasebandVersionResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] String basebandVersion); + + SimStateUpdated([in] int slotId); + SimStkSessionEndNotify([in] int slotId); + SimStkProactiveNotify([in] int slotId, [in] String response); + SimStkAlphaNotify([in] int slotId, [in] String response); + SimStkEventNotify([in] int slotId, [in] String response); + SimStkCallSetupNotify([in] int slotId); + SimRefreshNotify([in] int slotId); + GetSimIOResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] struct IIccIoResultInfo result); + GetSimStatusResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] struct ICardStatusInfo result); + GetImsiResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] String response); + GetSimLockStatusResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] int simLockStatus); + SetSimLockResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] struct ILockStatusResp lockStatus); + ChangeSimPasswordResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] struct ILockStatusResp lockStatus); + UnlockPinResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] struct ILockStatusResp lockStatus); + UnlockPukResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] struct ILockStatusResp lockStatus); + UnlockPin2Response([in] struct IHRilRadioResponseInfo responseInfo, [in] struct ILockStatusResp lockStatus); + UnlockPuk2Response([in] struct IHRilRadioResponseInfo responseInfo, [in] struct ILockStatusResp lockStatus); + SetActiveSimResponse([in] struct IHRilRadioResponseInfo responseInfo); + SimStkSendTerminalResponseResponse([in] struct IHRilRadioResponseInfo responseInfo); + SimStkSendEnvelopeResponse([in] struct IHRilRadioResponseInfo responseInfo); + SimStkSendCallSetupRequestResultResponse([in] struct IHRilRadioResponseInfo responseInfo); + SimStkIsReadyResponse([in] struct IHRilRadioResponseInfo responseInfo); + SetRadioProtocolResponse([in] struct IHRilRadioResponseInfo responseInfo, + [in] struct ISimProtocolResponse pSimProtocol); + SimOpenLogicalChannelResponse([in] struct IHRilRadioResponseInfo responseInfo, + [in] struct IOpenLogicalChannelResponse pOpenLogicalChannelResponse); + SimCloseLogicalChannelResponse([in] struct IHRilRadioResponseInfo responseInfo); + SimTransmitApduLogicalChannelResponse([in] struct IHRilRadioResponseInfo responseInfo, + [in] struct IIccIoResultInfo result); + SimTransmitApduBasicChannelResponse([in] struct IHRilRadioResponseInfo responseInfo, + [in] struct IIccIoResultInfo result); + SimAuthenticationResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] struct IIccIoResultInfo result); + UnlockSimLockResponse([in] struct IHRilRadioResponseInfo responseInfo, [in] struct ILockStatusResp lockStatus); } diff --git a/ril/v1_0/IRilInterface.idl b/ril/v1_0/IRilInterface.idl index e017b71c2a1cb0858793499ed01251ffe8c90c4f..f044444d969f8d17a6799bb0057ef9bbeb36ca54 100644 --- a/ril/v1_0/IRilInterface.idl +++ b/ril/v1_0/IRilInterface.idl @@ -19,10 +19,46 @@ import ohos.hdi.ril.v1_0.IRilCallback; import ohos.hdi.ril.v1_0.Types; interface IRilInterface { + [oneway] SetCallback([in] IRilCallback rilCallback); [oneway] SetEmergencyCallList([in] int slotId, [in] int serialId, [in] struct IEmergencyInfoList emergencyInfoList); - [oneway] SetCallback([in] IRilCallback rilCallback); [oneway] GetEmergencyCallList([in] int slotId, [in] int serialId); + [oneway] GetCallList([in] int slotId, [in] int serialId); + [oneway] Dial([in] int slotId, [in] int serialId, [in] struct IDialInfo dialInfo); + [oneway] Reject([in] int slotId, [in] int serialId); + [oneway] Hangup([in] int slotId, [in] int serialId, [in] int gsmIndex); + [oneway] Answer([in] int slotId, [in] int serialId); + [oneway] HoldCall([in] int slotId, [in] int serialId); + [oneway] UnHoldCall([in] int slotId, [in] int serialId); + [oneway] SwitchCall([in] int slotId, [in] int serialId); + [oneway] CombineConference([in] int slotId, [in] int serialId, [in] int callType); + [oneway] SeparateConference([in] int slotId, [in] int serialId, [in] int callIndex, + [in] int callType); + [oneway] GetCallWaiting([in] int slotId, [in] int serialId); + [oneway] SetCallWaiting([in] int slotId, [in] int serialId, [in] int activate); + [oneway] GetCallTransferInfo([in] int slotId, [in] int serialId, [in] int reason); + [oneway] SetCallTransferInfo([in] int slotId, [in] int serialId, + [in] struct ICallForwardSetInfo callForwardSetInfo); + [oneway] GetCallRestriction([in] int slotId, [in] int serialId, [in] String fac); + [oneway] SetCallRestriction([in] int slotId, [in] int serialId, + [in] struct ICallRestrictionInfo callRestrictionInfo); + [oneway] GetClip([in] int slotId, [in] int serialId); + [oneway] SetClip([in] int slotId, [in] int serialId, [in] int action); + [oneway] GetClir([in] int slotId, [in] int serialId); + [oneway] SetClir([in] int slotId, [in] int serialId, [in] int action); + [oneway] SetCallPreferenceMode([in] int slotId, [in] int serialId, [in] int mode); + [oneway] GetCallPreferenceMode([in] int slotId, [in] int serialId); + [oneway] SetUssd([in] int slotId, [in] int serialId, [in] String str); + [oneway] GetUssd([in] int slotId, [in] int serialId); + [oneway] SetMute([in] int slotId, [in] int serialId, [in] int mute); + [oneway] GetMute([in] int slotId, [in] int serialId); + [oneway] GetCallFailReason([in] int slotId, [in] int serialId); + [oneway] CallSupplement([in] int slotId, [in] int serialId, [in] int type); + [oneway] SendDtmf([in] int slotId, [in] int serialId, [in] struct IDtmfInfo dtmfInfo); + [oneway] StartDtmf([in] int slotId, [in] int serialId, [in] struct IDtmfInfo dtmfInfo); + [oneway] StopDtmf([in] int slotId, [in] int serialId, [in] struct IDtmfInfo dtmfInfo); + [oneway] SetBarringPassword([in] int slotId, [in] int serialId, + [in] struct ISetBarringInfo setBarringInfo); [oneway] ActivatePdpContext([in] int slotId, [in] int serialId, [in] struct IDataCallInfo dataCallInfo); @@ -38,4 +74,36 @@ interface IRilInterface { [oneway] SetDataPermitted([in] int slotId, [in] int serialId, [in] int dataPermitted); [oneway] SetDataProfileInfo([in] int slotId, [in] int serialId, [in] struct IDataProfilesInfo dataProfilesInfo); + + [oneway] SetRadioState([in] int slotId, [in] int serialId, [in] int fun, + [in] int rst); + [oneway] GetRadioState([in] int slotId, [in] int serialId); + [oneway] GetImei([in] int slotId, [in] int serialId); + [oneway] GetMeid([in] int slotId, [in] int serialId); + [oneway] GetVoiceRadioTechnology([in] int slotId, [in] int serialId); + [oneway] GetBasebandVersion([in] int slotId, [in] int serialId); + [oneway] ShutDown([in] int slotId, [in] int serialId); + + [oneway] GetSimIO([in] int slotId,[in] int serialId,[in] struct ISimIoRequestInfo simIO); + [oneway] GetSimStatus([in] int slotId,[in] int serialId); + [oneway] GetImsi([in] int slotId,[in] int serialId); + [oneway] GetSimLockStatus([in] int slotId,[in] int serialId,[in] struct ISimLockInfo simLockInfo); + [oneway] SetSimLock([in] int slotId,[in] int serialId,[in] struct ISimLockInfo simLockInfo); + [oneway] ChangeSimPassword([in] int slotId,[in] int serialId,[in] struct ISimPasswordInfo simPassword); + [oneway] UnlockPin([in] int slotId,[in] int serialId,[in] String pin); + [oneway] UnlockPuk([in] int slotId,[in] int serialId,[in] String puk,[in] String pin); + [oneway] UnlockPin2([in] int slotId,[in] int serialId,[in] String pin2); + [oneway] UnlockPuk2([in] int slotId,[in] int serialId,[in] String puk2,[in] String pin2); + [oneway] SetActiveSim([in] int slotId,[in] int serialId,[in] int index,[in] int enable); + [oneway] SimStkSendTerminalResponse([in] int slotId,[in] int serialId,[in] String strCmd); + [oneway] SimStkSendEnvelope([in] int slotId,[in] int serialId,[in] String strCmd); + [oneway] SimStkSendCallSetupRequestResult([in] int slotId,[in] int serialId,[in] int accept); + [oneway] SimStkIsReady([in] int slotId,[in] int serialId); + [oneway] SetRadioProtocol([in] int slotId,[in] int serialId,[in] struct ISimProtocolRequest protocol); + [oneway] SimOpenLogicalChannel([in] int slotId,[in] int serialId,[in] String appID,[in] int p2); + [oneway] SimCloseLogicalChannel([in] int slotId,[in] int serialId,[in] int channelId); + [oneway] SimTransmitApduLogicalChannel([in] int slotId,[in] int serialId,[in] struct IApduSimIORequestInfo apduSimIO); + [oneway] SimTransmitApduBasicChannel([in] int slotId,[in] int serialId,[in] struct IApduSimIORequestInfo apduSimIO); + [oneway] SimAuthentication([in] int slotId,[in] int serialId,[in] struct ISimAuthenticationRequestInfo simAuthInfo); + [oneway] UnlockSimLock([in] int slotId,[in] int serialId,[in] int lockType,[in] String key); } diff --git a/ril/v1_0/Types.idl b/ril/v1_0/Types.idl index a30f44c08c70f9c944b0a8f6c9bfd53f0287a5d4..ade2b32798b0083751ece5d2986ac64fa27b63dd 100644 --- a/ril/v1_0/Types.idl +++ b/ril/v1_0/Types.idl @@ -32,25 +32,25 @@ enum IAbnormalServiceType { TYPE_ONLY_CS = 1, }; enum IHRilErrType { - HRIL_ERR_NULL_POINT = 0, - NONE = 1, - HRIL_ERR_GENERIC_FAILURE = 2, - HRIL_ERR_INVALID_PARAMETER = 3, - HRIL_ERR_MEMORY_FULL = 4, - HRIL_ERR_CMD_SEND_FAILURE = 5, - HRIL_ERR_CMD_NO_CARRIER = 6, - HRIL_ERR_INVALID_RESPONSE = 7, - HRIL_ERR_REPEAT_STATUS = 8, - HRIL_ERR_NETWORK_SEARCHING = 9, - HRIL_ERR_NETWORK_SEARCHING_INTERRUPTED = 10, - HRIL_ERR_MODEM_DEVICE_CLOSE = 11, - HRIL_ERR_NO_SIMCARD_INSERTED = 10, - HRIL_ERR_NEED_PIN_CODE = 11, - HRIL_ERR_NEED_PUK_CODE = 12, - HRIL_ERR_NETWORK_SEARCH_TIMEOUT = 13, - HRIL_ERR_PINPUK_PASSWORD_NOCORRECT = 14, + NONE = 0, + HRIL_ERR_GENERIC_FAILURE = 1, + HRIL_ERR_INVALID_PARAMETER = 2, + HRIL_ERR_MEMORY_FULL = 3, + HRIL_ERR_CMD_SEND_FAILURE = 4, + HRIL_ERR_CMD_NO_CARRIER = 5, + HRIL_ERR_INVALID_RESPONSE = 6, + HRIL_ERR_REPEAT_STATUS = 7, + HRIL_ERR_NETWORK_SEARCHING = 8, + HRIL_ERR_NETWORK_SEARCHING_INTERRUPTED = 9, + HRIL_ERR_MODEM_DEVICE_CLOSE = 10, + HRIL_ERR_NO_SIMCARD_INSERTED = 11, + HRIL_ERR_NEED_PIN_CODE = 12, + HRIL_ERR_NEED_PUK_CODE = 13, + HRIL_ERR_NETWORK_SEARCH_TIMEOUT = 14, + HRIL_ERR_PINPUK_PASSWORD_NOCORRECT = 15, HRIL_ERR_INVALID_MODEM_PARAMETER = 50, HRIL_ERR_HDF_IPC_FAILURE = 65535, + HRIL_ERR_NULL_POINT = 65536, }; enum IHRilResponseTypes { HRIL_RESPONSE_REQUEST = 0, @@ -59,6 +59,66 @@ enum IHRilResponseTypes { HRIL_RESPONSE_REQUEST_MUST_ACK = 3, HRIL_RESPONSE_NOTICE_MUST_ACK = 4, }; +enum IHRilSrvStatus { + HRIL_NO_SRV_SERVICE = 0, + HRIL_RESTRICTED_SERVICE = 1, + HRIL_SERVICE_VALID = 2, + HRIL_REGIONAL_SERVICE = 3, + HRIL_ENERGY_SAVING_SERVICE = 4, +}; +enum IHRilSrvDomain { + HRIL_NO_DOMAIN_SERVICE = 0, + HRIL_CS_SERVICE = 1, + HRIL_PS_SERVICE = 2, + HRIL_CS_PS_SERVICE = 3, + HRIL_CS_PS_SEARCHING = 4, + HRIL_CDMA_NOT_SUPPORT = 255, +}; +enum IHRilRoamStatus { + HRIL_NO_ROAM = 0, + HRIL_ROAMING = 1, + HRIL_ROAM_UNKNOWN = 2, +}; +enum IHRilSimLockStatus { + HRIL_SIM_CARD_UNLOCK = 0, + HRIL_SIM_CARD_LOCK = 1, +}; +enum IHRilSysMode { + HRIL_NO_SYSMODE_SERVICE = 0, + HRIL_GSM_MODE = 1, + HRIL_CDMA_MODE = 2, + HRIL_WCDMA_MODE = 3, + HRIL_TDSCDMA_MODE = 4, + HRIL_WIMAX_MODE = 5, + HRIL_LTE_MODE = 6, + HRIL_LTE_CA_MODE = 7, + HRIL_NR_MODE = 8, +}; +enum IHRilRadioTech { + RADIO_TECHNOLOGY_INVALID = 65535, + RADIO_TECHNOLOGY_UNKNOWN = 0, + RADIO_TECHNOLOGY_GSM = 1, + RADIO_TECHNOLOGY_1XRTT = 2, + RADIO_TECHNOLOGY_WCDMA = 3, + RADIO_TECHNOLOGY_HSPA = 4, + RADIO_TECHNOLOGY_HSPAP = 5, + RADIO_TECHNOLOGY_TD_SCDMA = 6, + RADIO_TECHNOLOGY_EVDO = 7, + RADIO_TECHNOLOGY_EHRPD = 8, + RADIO_TECHNOLOGY_LTE = 9, + RADIO_TECHNOLOGY_LTE_CA = 10, + RADIO_TECHNOLOGY_IWLAN = 11, + RADIO_TECHNOLOGY_NR = 12, +}; +enum IHRilSimStatus { + HRIL_USIM_INVALID = 0, + HRIL_USIM_VALID = 1, + HRIL_USIM_CS_INVALID = 2, + HRIL_USIM_PS_INVALID = 3, + HRIL_USIM_CS_PS_INVALID = 4, + HRIL_ROM_SIM = 240, + HRIL_NO_USIM = 255, +}; struct IEmergencyCall { int index; int total; @@ -156,3 +216,203 @@ struct IUniInfo { int arg2; String strTmp; }; +struct IVoiceRadioTechnology { + enum IHRilSrvStatus srvStatus; + enum IHRilSrvDomain srvDomain; + enum IHRilRoamStatus roamStatus; + enum IHRilSimStatus simStatus; + enum IHRilSimLockStatus lockStatus; + enum IHRilSysMode sysMode; + String sysModeName; + enum IHRilRadioTech actType; + String actName; + int flag; +}; +struct IDialInfo { + int serial; + String address; + int clir; +}; +struct ICallInfo { + int index; + int dir; + int state; + int mode; + int mpty; + int voiceDomain; + int callType; + String number; + int type; + String alpha; +}; +struct ICallInfoList { + int callSize; + int flag; + List calls; +}; +struct IGetClipResult { + int result; + int action; + int clipStat; +}; +struct IGetClirResult { + int result; + int action; + int clirStat; +}; +struct ICallWaitResult { + int result; + int status; + int classCw; +}; +struct ICallRestrictionInfo { + String fac; + int mode; + String password; +}; +struct ICallRestrictionResult { + int result; + int status; + int classCw; +}; +struct ICallForwardSetInfo { + int reason; + int mode; + String number; + int classx; +}; +struct ICallForwardQueryResult { + int serial; + int result; + int status; + int classx; + String number; + int type; + int reason; + int time; +}; +struct ICallForwardQueryInfoList { + int callSize; + int flag; + List calls; +}; +struct ICallImsServiceStatus { + int smsSrvStatus; + int smsSrvRat; + int voipSrvStatus; + int voipSrvRat; + int vtSrvStatus; + int vtSrvRat; + int vsSrvStatus; + int vsSrvRat; +}; +struct IUssdNoticeInfo { + int m; + String str; +}; +struct ISsNoticeInfo { + int serviceType; + int requestType; + int serviceClass; + int result; +}; +struct ISrvccStatus { + int status; +}; +struct IRingbackVoice { + int status; +}; +struct IDtmfInfo { + int callId; + String dtmfKey; + int onLength; + int offLength; + int stringLength; +}; +struct ISetBarringInfo { + String fac; + String oldPassword; + String newPassword; +}; +struct ICardStatusInfo { + int index; + int simType; + int simState; +}; +struct ISimIoRequestInfo { + int command; + int fileId; + int p1; + int p2; + int p3; + String data; + String path; + int serial; + String pin2; + String aid; +}; +struct IIccIoResultInfo { + int sw1; + int sw2; + String response; +}; +struct ISimLockInfo { + int serial; + String fac; + int mode; + int status; + String passwd; + int classx; +}; +struct ISimPasswordInfo { + int serial; + String fac; + String oldPassword; + String newPassword; + int passwordLength; +}; +struct ISimPinInputTimes { + int serial; + String code; + int times; + int pukTimes; + int pinTimes; + int puk2Times; + int pin2Times; +}; +struct ISimProtocolRequest { + int serial; + int phase; + int protocol; + int slotId; +}; +struct ISimProtocolResponse { + int phase; + int result; + int slotId; +}; +struct IApduSimIORequestInfo { + int serial; + int channelId; + int type; + int instruction; + int p1; + int p2; + int p3; + String data; +}; +struct ISimAuthenticationRequestInfo { + int serial; + String aid; + String authData; +}; +struct IOpenLogicalChannelResponse { + int sw1; + int sw2; + int channelId; + String response; +}; +struct ILockStatusResp { + int result; + int remain; +};