• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 529
  • Last Modified:

Siemen TC45 module and Linux.

I'm using a Siemens TC45 Wireless Module and i'm not sure if i'm doing the things well. For the moment i'm trying to make work a silly java program (something like a more ellaborated "hello world") inside the module. The point is that i launch the program with the at^sjra command through the minicom program on linux and i receive the OK response. But, taking into account that the System.out is the serial interface, I don't receive none of the println i have in my code.

So the question is: How i know if my program is working?.

Remember that i'm using linux. I have solved the problem of transferring the jar file but i can't use the emulator. By the way, should the jar file with the program be in any special localtion inside the filesystem (Java/jam/... etc) or can i put in in any accesible location?

Any help with this extremely newbie questuin is welcome. Thanks
0
juanpecq
Asked:
juanpecq
  • 4
1 Solution
 
SimonTayCommented:
The ASC0 output is system.out and will operate at the rate defined by the DTE.  If you open application serial ports, then this goes out on ASC1 (the second serial port).

You can download a program at www.miodem.com/java/rs232demo.jar or www.miodem.com/java/helloworld.jar.  Both these programs also have JAD files, so you can use them for OTAP testing, and both output some messages to the system.out port as well as ASC1.

We also have a TC45 Terminal product (with RS232 interfaces etc), the MTC45T.  We sell an SDK for the TC45 for GBP349 using the terminal.  It's not on the website yet, but you can get more information from web.sales@tdc.co.uk.

Simon
0
 
SimonTayCommented:
Just came back to this, the application can be in any directory you like, but you have to put the whole path in the AT^SJRA commands.

So

ST^SJRA=A:/helloworld.jar should work if the app is in the root directory.  You need the A:/ bit.

Has this helped?

Simon
0
 
SimonTayCommented:
http://www.tdc.co.uk/presentations/tc45_intro.htm for others who may be interested in the TC45.
0
 
SimonTayCommented:
Did any of this help?
0
 
NetolishCommented:
I have a similar state. After running application modul answer OK
but aplication does not run. The problem was I have not
used a "preverify" to builded jar.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now