• Post Reply Bookmark Topic Watch Topic
  • New Topic

sms works with s45 but not me45  RSS feed

 
Albert Gan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Rachel Swailes
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!