comparison uptools/atcmd/smsend_pduout.c @ 374:d1fa771abeb8

uptools: make_sms_submit_pdu() in libcoding now takes PID and DCS arguments
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 08 Mar 2018 20:33:03 +0000
parents 1e7c6fcb9abe
children e61525f082bd
comparison
equal deleted inserted replaced
373:1fa4dcbb1c87 374:d1fa771abeb8
24 unsigned pdulen; 24 unsigned pdulen;
25 char pduhex[317]; 25 char pduhex[317];
26 char send_cmd[32]; 26 char send_cmd[32];
27 27
28 pdu[0] = 0; 28 pdu[0] = 0;
29 pdulen = make_sms_submit_pdu(da, textsrc, textlen, udh, udhl, pdu + 1); 29 pdulen = make_sms_submit_pdu(da, 0, 0, textsrc, textlen, udh, udhl,
30 pdu + 1);
30 make_hex_string(pdu, pdulen + 1, pduhex); 31 make_hex_string(pdu, pdulen + 1, pduhex);
31 if (sms_write_mode) { 32 if (sms_write_mode) {
32 cmdname = "CMGW"; 33 cmdname = "CMGW";
33 callback = cmgw_callback; 34 callback = cmgw_callback;
34 } else { 35 } else {