• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

intersept sms message

 
denis denisu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody can help me to decide this problem?

I am sending an sms message from PLC to mobile phone using gsm modem Siemens TC35i. Sms message comes on mobile phone, but application can not intercept it, becouse application do know on which port sms message comes. I can not send an sms message from PLC on specified sms port using AT commands.

I need to intercept incoming sms message by application!
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am answering with having doubts about your exact problem, but let me assume that you want to get the SMS sent to the phone to a particular application, what you have to do is, register a PushRegistry so that it will automatically trigger the application which you want when a SMS comes to the phone, here you have to specify a port, but if you can't determine a port, you will not be able to do it. Hope this helps you in some way. Regards.
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ransika is right. You should use the Push Registry.

See http://developers.sun.com/techtopics/mobility/midp/articles/pushreg/

To register a SMS MIDlet handler over port X enter a line like the one below in the JAD or Manifest file (JAD is usually a better place).



<entry> is an index from 1 to the number of Push entries in the JAD/Manifest ie MIDlet-Push-1, MIDlet-Push-2
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"denis denisu"

Please click on the My Profile link above to change your display name to meet the JavaRanch Naming Policy of using your real first and real last names.

Thanks

Mark
 
Pradeep Gudipati
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I guess the problem here is not with the app receiving the problem is with the sending, is it possible to send an sms from a gsm modem with the port number (+112233434:1212 where 1212 is the port number )???



thanks
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Well, I have no prior experience with GMS modems, but I guess, since at the end of the day it is creating a Message connection to send the SMS right? so in that case I guess you can surely specify the port. Hope this helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic