Discussion Board

Results 1 to 14 of 14
  1. #1
    Registered User ononokung's Avatar
    Join Date
    Aug 2004
    Posts
    20
    I have a problem about Receiving SMS . My midlet try to receive SMS that send from SMSC but it cann't ,it always go to inbox, Which port should i open for recieving SMS ? or it has another solution to solve this problem ? T T

  2. #2
    Regular Contributor johnbutler's Avatar
    Join Date
    Oct 2005
    Posts
    83
    Your MIDlet cannot receive messages sent to the default port. It can only receive messages sent to a specific port.

  3. #3
    Registered User ononokung's Avatar
    Join Date
    Aug 2004
    Posts
    20
    So how can i receive sms from SMSC,coz i won't know what port that SMSC will send to my application.... ><

  4. #4
    Regular Contributor johnbutler's Avatar
    Join Date
    Oct 2005
    Posts
    83
    What is SMSC? That is the problem with designing your own apps to use SMS. You basically have to program both sides of the communication yourself to use a specific port number.

  5. #5
    Registered User ononokung's Avatar
    Join Date
    Aug 2004
    Posts
    20
    SMSC is short msg centre. My app try to receive sms from operater and will check that message . i'm very confuse - - "

  6. #6
    Regular Contributor johnbutler's Avatar
    Join Date
    Oct 2005
    Posts
    83
    Have I answered your question? What are you confused about?

  7. #7
    Registered User ononokung's Avatar
    Join Date
    Aug 2004
    Posts
    20
    i confuse about how can i order the operator to send sms to me with my specific port T_T


    Thank You

  8. #8
    Regular Contributor johnbutler's Avatar
    Join Date
    Oct 2005
    Posts
    83
    I don't think you can. Unless you write an application / service to send SMS messages to a specific port, they will always go to the default port (which your MIDlet will not have access to). If you have input / control over the operator you might be able to change they application they use to send the SMS to send it to a specific port.

  9. #9
    Registered User ononokung's Avatar
    Join Date
    Aug 2004
    Posts
    20
    1.i don't understand that you said "Unless you write an application / service to send SMS messages to a specific port, they will always go to the default port" .if i specific service to send SMS port why they will go to default port.
    2. You mean if i know server (sending sms)port ,i will listen to sms before it go to inbox. right?

    (^^) thank you

  10. #10
    Registered User edward_massey's Avatar
    Join Date
    Mar 2003
    Posts
    1
    Hi,

    As john Says, you can not Register a java application on the "default" SMS port.

    you can however register a java application to recieve SMS messages that are sent to a specific port.

    you can then send your messages to the specific port you have registerd your application on, by setting the port in the UDH ( User Data Header ) of a binary SMS.

    you can send a binary SMS using a GSM modem, or if you have an SMPP conncetion to your carriers SMSC ( provided they dont block the port) or if you have an SMS agrigator that allows sending of binary messages

    Hope this helps

    Ed

  11. #11
    Registered User ononokung's Avatar
    Join Date
    Aug 2004
    Posts
    20
    Umm...i wanna know what is inbox port? (i mean native inbox in phones)
    Thanks ^^

  12. #12
    Regular Contributor ViruDoshi's Avatar
    Join Date
    Oct 2005
    Location
    London, UK
    Posts
    235
    Default port is 0 (zero).

    Viru Doshi
    ~ No Style Without Substance ~

  13. #13
    Regular Contributor lekkie's Avatar
    Join Date
    Oct 2005
    Posts
    62
    Quote Originally Posted by edward_massey
    Hi,

    As john Says, you can not Register a java application on the "default" SMS port.

    you can however register a java application to recieve SMS messages that are sent to a specific port.

    you can then send your messages to the specific port you have registerd your application on, by setting the port in the UDH ( User Data Header ) of a binary SMS.

    you can send a binary SMS using a GSM modem, or if you have an SMPP conncetion to your carriers SMSC ( provided they dont block the port) or if you have an SMS agrigator that allows sending of binary messages

    Hope this helps

    Ed
    I use the simplewire sdk. How can I encode the detination port as part of the header (UDH) of my binary message?

    I try sending SMS to my a number through my netowrk but it seems my network is resend the sms to the default port on the GSM.

    How do I hardcode the destination port into my simplewire sdk without the network operator changin the destination port

  14. #14
    Registered User lrgjaybee's Avatar
    Join Date
    May 2008
    Posts
    10
    Hi, I sends SMS via GSC modem (AT command) but I can not add a UDA with port number, can you please send me a example... Thank you,

Similar Threads

  1. Default SMS Port
    By anupamcins in forum General Messaging
    Replies: 1
    Last Post: 2007-03-03, 07:32
  2. Replies: 1
    Last Post: 2005-12-01, 23:57
  3. Default SMS Port
    By anupamcins in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2004-07-21, 11:13
  4. About SMS default port?
    By n_sidhaye in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2004-03-29, 14:44
  5. What is the default SMS port? Is there aby default port at all?
    By doctordwarf in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2003-07-15, 16:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved