Lines Matching refs:pdu
1612 smspdu_dump( SmsPDU pdu, FILE* out )
1618 if (pdu == NULL) {
1624 switch (smspdu_get_type(pdu)) {
1631 if (smspdu_get_sender_address(pdu, &address) < 0)
1636 if (smspdu_get_receiver_address(pdu, &address) < 0)
1641 len = smspdu_get_text_message( pdu, temp, sizeof(temp)-1 );
1657 SmsPDU pdu; in handleSendSMSText() local
1663 pdu = smspdu_create_from_hex( cmd, len ); in handleSendSMSText()
1664 if (pdu == NULL) { in handleSendSMSText()
1668 if (smspdu_get_receiver_address(pdu, &address) < 0) { in handleSendSMSText()
1711 index = sms_receiver_add_submit_pdu( modem->sms_receiver, pdu ); in handleSendSMSText()
1717 pdu = NULL; in handleSendSMSText()
1748 if (pdu != NULL) in handleSendSMSText()
1749 smspdu_free(pdu); in handleSendSMSText()
1756 SmsPDU pdu; in handleSendSMSText()
1762 pdu = smspdu_create_from_hex( cmd, len ); in handleSendSMSText()
1763 if (pdu == NULL) { in handleSendSMSText()
1767 if (smspdu_get_receiver_address(pdu, &address) < 0) { in handleSendSMSText()
1781 if ( remote_call_sms( number, modem->base_port, pdu ) < 0 ) in handleSendSMSText()
1790 SmsPDU pdu = smspdu_create_from_hex( cmd, strlen(cmd) ); in handleSendSMSText()
1791 if (pdu == NULL) { in handleSendSMSText()
1794 smspdu_dump(pdu, stderr); in handleSendSMSText()