Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2014
    Posts
    1

    Sending sms from gsm modem to mobile with java2me

    HI,

    I have the following probleem: I have a gsm modem connected to my pc which I will use to send a data sms to a certain port on my mobile^phone. On this mobile Phone there is a java2me application listening on a port. I succeeded to send data sms messages from mobile Phone to mobile Phone, but when I use a gsm modem and send a data sms message to the mobile Phone by means of AT commands, it arrivés at my mobile Phone as a tekst message in the Inbox of my Phone, which is not what I wanted. Does anyone have an idea how to do this. I think I use the right AT commands for data sms messages with a user header in which I declare the port numbers etc.

    Thx in advance

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,792

    Re: Sending sms from gsm modem to mobile with java2me

    There is nothing to do on the phone side, yes, you can only listen on a port, and regular SMS-s can not be received by Java ME code (in fact it can not even access the Inbox).
    The sending part is what you can modify, to use that specific port. Once I found this particular guide useful: http://www.gsm-modem.de/sms-pdu-mode.html, and the two ETSI standards it refers to.
    You may also want to check other related pages via searching for sms pdu at command with Google (or Bing perhaps).

  3. #3
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,570

    Re: Sending sms from gsm modem to mobile with java2me

    In other words, you need to find out how, with the GSM modem you have connected to your PC, you send SMS to a specific port number (instead of the default port 0, which ends up captured by the Messaging app - Inbox - of the receiving phone.

    If the GSM modem documentation, or the site wizard_hu_ linked to, doesn't say, ask the GSM modem manufacturer for assistance.

Similar Threads

  1. Sending an sms to a gsm modem
    By ali30 in forum Mobile Java General
    Replies: 1
    Last Post: 2011-11-29, 01:24
  2. sending MMS from PC to mobile using GPRS Modem
    By widiyantosg in forum General Messaging
    Replies: 0
    Last Post: 2004-06-14, 04:19
  3. A GSM Modem or Mobile Phone's GSM Modem
    By eric_sato in forum General Messaging
    Replies: 3
    Last Post: 2003-12-11, 09:58
  4. sending an operator Logo with Java2ME
    By nachoyague in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-05-09, 19:31
  5. sending logo with Java2Me
    By nachoyague in forum Mobile Java General
    Replies: 0
    Last Post: 2003-04-03, 12:22

Posting Permissions

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