×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    14

    Is there any response after calling sendBuddyMessage?

    Should I expect any (synchronous or asynchronous) response after calling sendBuddyMessage? I was unable to find explicit answer for that in documentation.

    --
    czubaka

  2. #2
    Registered User
    Join Date
    Jun 2006
    Posts
    25

    Re: Is there any response after calling sendBuddyMessage?

    When you call sendBuddyMessage you will get a return for the send call itself. This success (or failure) says that the message was received by the server correctly.

    In addition, you will receive an asyncronous event, ID 302, that indicates that the message was sent correctly by the servers to the intended buddy.

    Note that the sendBuddyMessage call itself will return success even if the subsequent send was not successful.

    This is the distinction between making a successful call to the gateway and having the API call be successful.

    For example, if I call sendBuddyMessage to user 'bob', but 'bob' does not exist, the call to sendBuddyMessage will still return success.
    You will also get a successful asyncronous return from the IMPS service saying the call was received correctly by the server. You will then get asynchronous error event, ID 303, which will have the error code 914 IMPS_ERROR_NOT_FOUND.

    Cheers,
    Matt

Similar Threads

  1. Handling asynch USSD response from operator
    By espenwe in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2009-02-05, 08:46
  2. Using calling cards with Nokia 6600
    By steffi1 in forum General Development Questions
    Replies: 3
    Last Post: 2008-01-21, 03:49
  3. Nokia 30 response format
    By richard_h_t in forum Nokia M2M
    Replies: 0
    Last Post: 2005-07-06, 08:23
  4. 'Response Unknown' when downloading midlet
    By Weevil in forum Mobile Java General
    Replies: 3
    Last Post: 2004-05-30, 17:01
  5. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46

Posting Permissions

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