Home | History | Annotate | Download | only in telephony

Lines Matching refs:sms

31 #include "sms.h"
243 /* SMS */
318 amodem_receive_sms( AModem modem, SmsPDU sms )
329 len = smspdu_to_hex( sms, p, max );
336 R( "SMS>> %s\n", p );
1619 fprintf( out, "SMS PDU is (null)\n" );
1623 fprintf( out, "SMS PDU type: " );
1665 D("%s: invalid SMS PDU ?: '%s'\n", __FUNCTION__, cmd);
1666 return "+CMS ERROR: INVALID SMS PDU";
1669 D("%s: could not get SMS receiver address from '%s'\n",
1671 return "+CMS ERROR: BAD SMS RECEIVER ADDRESS";
1706 D( "%s: could not create SMS receiver\n", __FUNCTION__ );
1730 D( "%s: could not create deliver PDUs for SMS index %d\n",
1737 D( "%s: could not send SMS PDU to remote emulator\n",
1764 D("%s: invalid SMS PDU ?: '%s'\n", __FUNCTION__, cmd);
1765 return "+CMS ERROR: INVALID SMS PDU";
1768 D("%s: could not get SMS receiver address from '%s'\n",
1770 return "+CMS ERROR: BAD SMS RECEIVER ADDRESS";
1783 D("%s: could not send SMS PDU to remote emulator\n",
1789 fprintf(stderr, "SMS<< %s\n", cmd);
1792 fprintf(stderr, "invalid SMS PDU ?: '%s'\n", cmd);
2443 { "!+CMGD=", NULL, handleDeleteSMSonSIM }, /* delete SMS on SIM */
2482 R( "SMS<< %s\n", quote(cmd) );