1 /* 2 * Copyright (C) 2021 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 #ifndef OHOS_AT_SMS_H 17 #define OHOS_AT_SMS_H 18 19 #include "at_support.h" 20 #include "hril_vendor_sms_defs.h" 21 22 void ReqSendGsmSms(const ReqDataInfo *requestInfo, const char *const *data, size_t dataLen); 23 void ReqSendSmsAck(const ReqDataInfo *requestInfo, const int32_t *data, size_t dataLen); 24 void ReqSendCdmaSms(const ReqDataInfo *requestInfo, const char *data, size_t dataLen); 25 void ReqSendCdmaSmsAck(const ReqDataInfo *requestInfo, const char *data, size_t dataLen); 26 void ReqWriteSimMessage(const ReqDataInfo *requestInfo, const HRilSmsWriteSms *data, size_t dataLen); 27 void ReqDelSimMessage(const ReqDataInfo *requestInfo, const int32_t *data, size_t dataLen); 28 void ReqSetSmscAddr(const ReqDataInfo *requestInfo, const HRilServiceCenterAddress *data, size_t dataLen); 29 void ReqGetSmscAddr(const ReqDataInfo *requestInfo); 30 void ReqSetCBConfig(const ReqDataInfo *requestInfo, const HRilCBConfigInfo *data, size_t dataLen); 31 void ReqGetCBConfig(const ReqDataInfo *requestInfo); 32 void ReqGetCdmaCBConfig(const ReqDataInfo *requestInfo); 33 void ReqSetCdmaCBConfig(const ReqDataInfo *requestInfo, const HRilCdmaCBConfigInfo *data, size_t dataLen); 34 void ReqAddCdmaSimMessage(const ReqDataInfo *requestInfo, const HRilSmsWriteSms *data, size_t dataLen); 35 void ReqDelCdmaSimMessage(const ReqDataInfo *requestInfo, const int32_t *data, size_t dataLen); 36 void ReqUpdateCdmaSimMessage(const ReqDataInfo *requestInfo, const HRilSmsWriteSms *data, size_t dataLen); 37 int32_t ProcessCellBroadcast(char *pBuff, HRilCBConfigReportInfo *response); 38 #endif // OHOS_AT_SMS_H 39