• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

intersept sms message

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic