GSM Modem (Wavecom M1306B) on AIX 5.3

Hi,

I'm developing a Java Application which is able send out SMS

Right now, this application needs to be deployed into AIX 5.3

Previously I was using RXTX Serial Comm for Sun Solaris, RH Linux and Win2k
When it comes to AIX, I'd discovered not much info can be found in the web

Anyhow, I'm trying to setup the GSM Modem in AIX 5.3 first

What i'd done here is

  1. connect the Machine with the Modem
  2. smitty tty -> add tty -> tty rs232 asyn terminal
    -> sa2 available 01-S3 standard I/O serial port
  3. Baudrate 115200, Parity None, Bits 8, Stop Bits 1, Flow Control RTS(Hardware)

This is the parameter after set, tty=/dev/tty2, paranet adapter=sa2

Finally, when i insert the command "stty < /dev/tty2" (I even try "/usr/sbin/getty /dev/tty2")
Suppose i can get a "OK" response from GSM modem, but anyhow i didnt get any of it
I'd follow the parameter setting provided by Wavecom M1306B technical spec

Please help :confused: :confused:

Thanks

Hi,

This is what i'd tried

The IBM machine model 7028-6E4 consist 3 physical serial port (sa0 - S1, sa1 - S2, sa2 - S3)

To make life easy, I only create a tty0 point to sa0 using smitty

smitty tty
-> tty rs232 asynchronous terminal
-> sa0 Available 01-S1 Standard I/O Serial Port

I'd followed the parameter setup given by technical spec of WaveCom M1306B.
http://www.jandrew-elec.com/m1306b.pdf where

baudrate - 115200
parity - None
data bit - 8
stop bit - 1
flow ctrl - rts (hardware)

Initially we suspect it could be the modem problem, but it works in Window 2000 server

Anyway, let's move to the next part

I'd vi /usr/lib/uucp/Devices file and uncomment the line below
Direct tty0 - 115200 direct

PS: I even tried this
Direct tty0 - Any direct

After that, I try to connect to the modem using this command
cu -ml tty0

and this is the response the machine gave
cu: 0835-028 The connection failed. CAN'T ACCESS DEVICE.

Well, so I tried to chmod the /dev/tty0 to 666
But once i did it, and cu again, it just hung there and no "connected" message prompt out

Have i miss up some steps?

Please help

Hi,

The problem solved,
I think it's because of the machine's driver problem
When i change to another AIX machine,
Connection success
Anyhow, will further investigate if it's really because of physical machine problem

Regard