×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    11

    Sending SMS Message using SDK and Nokia 3320

    Hi, I'm trying to send a message using the SDK PC Connectivity 3.0 Visual Basic and a Nokia 3320, but I'm getting the following error 4870 "Message Send Failed" when this instruction execute:
    Call smsObj.SendSMS(SHORTMESSAGE_ROUTE_TYPE_ANY, submitObj)

    This is the code I'm using:

    Private Sub Command1_Click()

    On Error GoTo ErrorTrap
    Dim smsEntry As NokiaCLMessaging.ShortMessageItem
    Set smsEntry = New NokiaCLMessaging.ShortMessageItem

    smsEntry.Type = SHORTMESSAGE_TYPE_TDMA_SUBMIT
    Set submitObj = smsEntry.TypeProperties
    submitObj.Message = "Hola esto es una prueba"
    submitObj.DestinationAddress = "6291153"
    submitObj.OriginatorAddress = "6128321"

    Call smsObj.SendSMS(SHORTMESSAGE_ROUTE_TYPE_ANY, submitObj)

    Exit Sub

    ErrorTrap:
    MsgBox "Source: " & Err.Source & Chr$(10) _
    & "ErrorDescription: " & Err.Description _
    & Chr$(10) & "HelpContext: " & Err.HelpContext

    End Sub

    Thanks in advance for any help you can offer me.

    Regards

    Leonardo

  2. #2
    Registered User
    Join Date
    Jun 2003
    Posts
    2

    Same problem

    I try to write similar code to send SMS in Nokia 3320 by IrDa, but I found the same error problem.

    What's going on ?

    Juan C.

  3. #3
    Registered User
    Join Date
    Sep 2003
    Posts
    22

    SAME ERROR PROBLEM

    Hi, I have tried a similiar program with the same problem but with the NOKIA 3360.

    I tried other examples with good results, but I can not send SMS.

    I saw that you posted your messages long time ago, so : Have you solved it?

    I will appreciate any help.

    Thanks in advance.

    Juan Pablo. jpsanchez46@hotmail.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×