Home
last modified time | relevance | path

Searched refs:GenerateCommand (Results 1 – 8 of 8) sorted by relevance

/base/telephony/ril_adapter/services/vendor/src/
Dat_sms.c126 err = GenerateCommand(smscTemp, MAX_CMD_LENGTH, "%s", "00"); in ReqSendGsmSms()
134 err = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CMGS=%d", strlen(pdu) / g_cmdLength); in ReqSendGsmSms()
140 err = GenerateCommand(smsPdu, MAX_CMD_LENGTH, "%s%s", smsc, pdu); in ReqSendGsmSms()
269 …int32_t ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CMGW=%d,%d", strlen(msg->pdu) / g_cmdLength… in WriteSimMessage()
275 int32_t tmp = GenerateCommand(smsPdu, MAX_CMD_LENGTH, "%s%s", msg->smsc, msg->pdu); in WriteSimMessage()
308 …err = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CMGW=%zu,%d", strlen(msg->pdu) / g_cmdLength, msg->… in UpdateSimMessage()
314 err = GenerateCommand(smsPdu, MAX_CMD_LENGTH, "%s", msg->pdu); in UpdateSimMessage()
326 int32_t res = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CMGD=%d", msg->index); in UpdateSimMessage()
376 err = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CMGD=%d", index); in ReqDelSimMessage()
414 err = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CSCA=\"%s\"", address->address); in ReqSetSmscAddr()
[all …]
Dat_call.c414 ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "ATD%s%s;", pDial->address, clir); in ReqDial()
449 ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CHLD=1%d", pLine[0]); in ReqHangup()
538 int32_t ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CLIP=%d", action); in ReqSetClip()
598 int32_t ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CLIR=%d", action); in ReqSetClir()
620 …int32_t ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT^DTMF=%d,%c,1,0", info.callId, info.dtmfKey[… in ReqStartDtmf()
651 …ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT^DTMF=%d,%c,%d,%d", info.callId, info.dtmfKey[string… in ReqSendDtmf()
675 …int32_t ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT^DTMF=%d,%c,0,0", info.callId, info.dtmfKey[… in ReqStopDtmf()
736 ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CHLD=3"); in ReqCombineConference()
770 ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CHLD=2%d", callIndex); in ReqSeparateConference()
804 ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CHLD=0"); in ReqCallSupplement()
[all …]
Dat_sim.c217 …int32_t tmp = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CLCK=\"%s\",%d,\"%s\"", "FD", 1, pSim->pin2… in ReqGetSimIOFDNWrite()
227 …tmp = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CRSM=%d,%d,%d,%d,%d,\"%s\",\"%s\"", pSim->command, … in ReqGetSimIOFDNWrite()
237 tmp = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CLCK=\"%s\",%d,\"%s\"", "FD", 0, pSim->pin2); in ReqGetSimIOFDNWrite()
265 …int32_t tmp = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CLCK=\"%s\",%d,\"%s\"", "FD", clckRes, pSim… in ReqGetSimIOFDN()
332 …int32_t result = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CRSM=%d,%d,%d,%d,%d,\"%s\",\"%s\"", pSim… in ReqGetSimIO()
439 …int32_t result = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CLCK=\"%s\",%d", pSimClck->fac, pSimClck… in ReqGetSimLockStatus()
483 int32_t result = GenerateCommand( in ReqSetSimLock()
540 …int32_t result = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CPWD=\"%s\",\"%s\",\"%s\"", pSimPassword… in ReqChangeSimPassword()
588 int32_t result = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CPIN=\"%s\"", pin); in ReqUnlockPin()
642 int32_t result = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CPIN=\"%s\",\"%s\"", puk, pin); in ReqUnlockPuk()
[all …]
Dat_data.c276 GenerateCommand( in AddressFormat()
303 GenerateCommand(outBuf, MAX_CMD_LENGTH, "/%d", prefixLen); in NetMaskFormat()
618 ret = GenerateCommand( in SendCmdCGDCONT()
643 ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT^NDISDUP=%d,%d", cid, activate); in SendCmdNDISDUP()
755 ret = GenerateCommand( in SetDataProfileInfo()
771 …ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT^AUTHDATA=%d,%d,\"\",\"%s\",\"%s\"", cid, pDataInfo-… in SetDataProfileInfo()
877 ret = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+C5GQOSRDP=%d", cid); in ReqGetLinkBandwidthInfo()
Dat_network.c1694GenerateCommand(cmd, MAX_CMD_LENGTH, "%s", "AT^SYSCFGEX=\"00\",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,0,0"); in PrepareCommandByNetworkType()
1696GenerateCommand(cmd, MAX_CMD_LENGTH, "%s", "AT^SYSCFGEX=\"01\",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,0,0"); in PrepareCommandByNetworkType()
1698GenerateCommand(cmd, MAX_CMD_LENGTH, "%s", "AT^SYSCFGEX=\"02\",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,0,0"); in PrepareCommandByNetworkType()
1700GenerateCommand(cmd, MAX_CMD_LENGTH, "%s", "AT^SYSCFGEX=\"03\",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,0,0"); in PrepareCommandByNetworkType()
1702GenerateCommand(cmd, MAX_CMD_LENGTH, "%s", "AT^SYSCFGEX=\"030201\",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,0… in PrepareCommandByNetworkType()
1704GenerateCommand(cmd, MAX_CMD_LENGTH, "%s", "AT^SYSCFGEX=\"0201\",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,0,0… in PrepareCommandByNetworkType()
1706GenerateCommand(cmd, MAX_CMD_LENGTH, "%s", "AT^SYSCFGEX=\"0302\",3FFFFFFF,1,2,7FFFFFFFFFFFFFFF,0,0… in PrepareCommandByNetworkType()
1712 GenerateCommand(cmd, MAX_CMD_LENGTH, "%s", dst); in PrepareCommandByNetworkType()
Dvendor_util.c46 int32_t GenerateCommand(char *buffer, size_t bufferLen, const char *fmt, ...) in GenerateCommand() function
Dvendor_report.c349 … if (GenerateCommand((char *)time, DEFAULT_INDEX, "^TIME:\"20%s", infoStr + DEFAULT_ADD_NUM) < 0) { in OnNotifyNetWorksOpsJudgeTwo()
/base/telephony/ril_adapter/services/vendor/include/
Dvendor_util.h51 int32_t GenerateCommand(char *buffer, size_t bufferLen, const char *fmt, ...);