• 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

sms works with s45 but not me45

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello again java ranch community =)
I'm currently developing an SMS app, and it works successfully with Siemens S45, but doesnt work with ME45. This is odd, since they are from the same family.
I use the SMS Transceiver API fromWolfgang Rankl's site to do the job. I've put several simple loggings in the sendSms method, which in turn calls several writeln() and read(). From the logs, i found that it stops inside read(), waiting the input stream from the serial port to be ready :

, and it never returns ... from the loop.
Helppppp moaa
 
Albert Gan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in = new InputStreamReader(port.getInputStream(), CHARSET);

and the in.ready() never returns true for ME45, please help. it works with S45, dunno why.
 
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps you would get the best advice from the siemens developer forum. They are relly good!

https://communication-market.siemens.de/portal/main.aspx?pid=1
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic