Lines Matching refs:pdu
1616 smspdu_dump( SmsPDU pdu, FILE* out )
1622 if (pdu == NULL) {
1628 switch (smspdu_get_type(pdu)) {
1635 if (smspdu_get_sender_address(pdu, &address) < 0)
1640 if (smspdu_get_receiver_address(pdu, &address) < 0)
1645 len = smspdu_get_text_message( pdu, temp, sizeof(temp)-1 );
1661 SmsPDU pdu; in handleSendSMSText() local
1667 pdu = smspdu_create_from_hex( cmd, len ); in handleSendSMSText()
1668 if (pdu == NULL) { in handleSendSMSText()
1672 if (smspdu_get_receiver_address(pdu, &address) < 0) { in handleSendSMSText()
1715 index = sms_receiver_add_submit_pdu( modem->sms_receiver, pdu ); in handleSendSMSText()
1721 pdu = NULL; in handleSendSMSText()
1752 if (pdu != NULL) in handleSendSMSText()
1753 smspdu_free(pdu); in handleSendSMSText()
1760 SmsPDU pdu; in handleSendSMSText()
1766 pdu = smspdu_create_from_hex( cmd, len ); in handleSendSMSText()
1767 if (pdu == NULL) { in handleSendSMSText()
1771 if (smspdu_get_receiver_address(pdu, &address) < 0) { in handleSendSMSText()
1785 if ( remote_call_sms( number, modem->base_port, pdu ) < 0 ) in handleSendSMSText()
1794 SmsPDU pdu = smspdu_create_from_hex( cmd, strlen(cmd) ); in handleSendSMSText()
1795 if (pdu == NULL) { in handleSendSMSText()
1798 smspdu_dump(pdu, stderr); in handleSendSMSText()