Serial Port Setup

Hello,I need to configure the serial port for X2100 machine for sending/receiving SMS using a GSM modem. I tried all options under smc, but none of them allows me to activate the modem. Thanks in advance.
[225 byte] By [seiheng] at [2007-11-26 11:53:18]
# 1

I have been reading some setup guide from Sun's documentation. I am now even more puzzle.

From the link: http://docs.sun.com/app/docs/doc/817-0403/6mg741bt0?a=view

Since, my intention is to use the GSM modem for sending and receiving SMS, this mean, it is not intend for terminal services. So, I choose the option, "Initialize Only - No Connection" in smc. However, when I run: pmadm, I get:

PMTAG PMTYPE SVCTAG FLGS ID<PMSPECIFIC>

zsmon ttymon ttyauroot/dev/term/a bI - /usr/bin/login 30 9600 ldterm,ttcompat ttya login: - tvi925 n #Initialize Only - No Connection

I still see it as ttymon and service as /usr/bin/login. Does this mean, even when I set such option, the ttya is still being handle by login service?

By the way, it is some legacy setting where we need to go through so much process just to configure a serial port?

Message was edited by:

seiheng

seiheng at 2007-7-7 12:10:02 > top of Java-index,General,Talk to the Sysop...
# 2

> Since, my intention is to use the GSM modem for

> sending and receiving SMS, this mean, it is not

> intend for terminal services. So, I choose the

> option, "Initialize Only - No Connection" in smc.

That should be the default.

> However, when I run: pmadm, I get:

>

> PMTAG PMTYPE SVCTAG

> FLGS ID<PMSPECIFIC>

> ttymon ttyauroot

> /dev/term/a bI - /usr/bin/login 30 9600

> ldterm,ttcompat ttya login: - tvi925 n #Initialize

> Only - No Connection

>

> I still see it as ttymon and service as

> /usr/bin/login. Does this mean, even when I set such

> option, the ttya is still being handle by login

> service?

No. The capital 'I' following the device indicates this is in 'Initialize Only' mode. It will open the port only to set default serial parameters for apps that don't bother. There is no login service running. This is normal.

You should be able to open /dev/term/a with an application if the lines are correct.

> By the way, it is some legacy setting where we need

> to go through so much process just to configure a

> serial port?

Generally, the default settings for the port are appropriate for outbound connections. You shouldn't have to do anything. Setup for inbound is where it gets tricky.

--

Darren

Darren_Dunham at 2007-7-7 12:10:02 > top of Java-index,General,Talk to the Sysop...