cdma wireless modem lg텔레콤 at command...

48
작성년월일 문서번호 화일이름 변경코드 LGT Modem Command Standdrd_ v1.doc 작성부서/작성자 검토자 승인자 페이지 법인기술팀/안학모 1page 제목 문서종류 문서관리자 CDMA Wireless Modem AT Command LG 텔레콤 표준 본 문서의 저작권은 LG텔레콤 소유이므로 사전 허가 없이 무단전재, 복사, 유출, 유포한 자는 이로 인하여 발생한 당사의 모든 불이익에 대하여 금전적 손해배상은 물론 관계법령에 의한 민.형사상의 처벌을 감수하여야 합니다. CDMA Wireless Modem LG텔레콤 AT Command 표준 Ver 1.3 2003년 9월 26일

Upload: dangnhi

Post on 06-Mar-2018

348 views

Category:

Documents


30 download

TRANSCRIPT

Page 1: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

작성년월일 문서번호 화일이름 변경코드

LGT Modem Command

Standdrd_v1.doc

작성부서/작성자 검토자 승인자 페이지 법인기술팀/안학모 1page 제목 문서종류 문서관리자 CDMA Wireless Modem AT Command LG텔레콤 표준

본 문서의 저작권은 LG 텔레콤 소유이므로 사전 허가 없이 무단전재, 복사, 유출, 유포한 자는 이로 인하여 발생한 당사의 모든 불이익에 대하여 금전적 손해배상은 물론 관계법령에 의한 민.형사상의 처벌을 감수하여야 합니다.

CDMA Wireless Modem

LG텔레콤 AT Command 표준

Ver 1.3

2003년 9월 26일

Page 2: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

2/2 무단 전재 및 복사 금지

Global CDMA Leader

Revision History

본란은 “CDMA Wireless Modem AT command 표준(안) “에서 수정 및 개정된 내용에 대한 연

역을 남기긴 위한 자리입니다.

Page 3: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

3/3 무단 전재 및 복사 금지

Global CDMA Leader

목 차

1. 개요

1.1 목적

1.2 적용 대상

1.3 관련 규격

1.4 용어 정리

1.5 커맨드 구조

1.6 Basic Result Codes

2. 단말 상태 관련 커맨드

2.1 RESET

2.2 PING

2.3 사용자 번호 입력 관련 명령어

2.3.1 MSIN 확인

2.3.2 MSIN 입력

2.3.3 MDN 확인

2.3.4 MDN 입력

2.4 RSSI 강도(Strength) 읽기

2.5 RSSI 보고 주기 설정

2.6 RSSI 보고 주기 조회

2.7 시각 조회

2.8 무선망 정보 조회

2.9 버전 조회

3. 단문 관련 커맨드

3.1 단문 송신

3.2 단문 재전송

3.3 송신 메세지 읽기

3.4 송신 메세지 삭제

3.5 송신 메세지 카운트

3.6 단문 수신 통보 설정/해제

3.7 단문 수신 통보 설정 조회

3.8 단문 수신 통보

3.9 단문 수신 거부 설정/해제

3.10 단문 수신 거부 설정 조회

3.11 수신 메세지 읽기

Page 4: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

4/4 무단 전재 및 복사 금지

Global CDMA Leader

3.12 읽지 않은 수신 메시지만 읽기

3.13 수신 메세지 삭제

3.14 읽은 메시지만 삭제

3.15 수신 메세지 카운트

3.16 단문 수신 상태 통보

3.17 SMS 메신저용 명령어

3.17.1 Traffic Channel Open 실행 명령어

3.17.2 Traffic Channel Open 응답 명령어

3.17.3 Traffic Channel Close 실행 명령어

3.17.4 Traffic Channel Close 응답 명령어

3.17.5 기타 부가사항

3.17.6 적용 예

3.17.7 Traffic Channel을 이용한 SMS 전송 도시화

4. 음성 통화 관련 커맨드

4.1 음성통화 걸기

4.2 음성통화 끊기

4.3 음성통화 수신 알림

4.4 음성통화 수신 응답

4.5 음성통화 수신 자동 응답 설정 상태 조회

4.6 음성통화 수신 자동 응답 설정

4.7 DTMF 전송

4.8 발신자 번호 Notification

4.9 CNAP 확인명령어

4.10 CNAP Notification

4.11 발신자 번호 확인 명령어

4.12 음성 통화 발신 Process

4.13 음성 통화 수신 Process

4.14 통화음 크기 확인

4.15 통화음 크기 설정

4.16 벨소리 조절 명령어

4.17 Flash 명령어

5. 위치 정보 관련 커맨드

5.1 최근 위치정보 조회

5.2 위치등록정보 확인

6. TCP/IP 관련 커맨드

6.1 IP 및 Port 확인 명령

6.2 TCP 소켓 Open 명령

Page 5: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

5/5 무단 전재 및 복사 금지

Global CDMA Leader

6.3 TCP 소켓 Close 명령

6.4 패킷호 종료 명령

6.5 Command mode 전환 명령

6.6 Pre-Dial 설정

6.7 패킷 호 처리 절차(Single Socket)

6.7.1 패킷호 접속시

6.7.2 패킷호 종료 및 TCP 재접속시

7. 부가 커맨드

7.1 채널 확인

7.2 채널 설정

7.3 Power Down Registration 명령어

7.4 A-Key 설정 명령어

7.5 Vocoder 설정 명령어

7.6 Vocoder 확인 명령어

7.7 업체별 코드 관리 명령어(Option)

7.8 DCE(MT2) 전원 감지 기능

7.9 SPC(Service Programming Code) 설정

7.10 망 접속 상태 표시 기능

7.11 Packet Data Service Option 변경

7.12 Rm 인터페이스 설정

7.13 Dormant 기능 설정/해제

8. EI(Engineering Interface)관련 명령어

8.1 System status 확인/설정 명령어

8.1.1 Mobile Station의 System status값 확인 명령어

8.1.2 MCC값 확인 명령어

8.1.3 MCC값 설정 명령어

8.1.4 MNC값 확인 명령어

8.1.5 MNC값 설정 명령어

8.1.6 SID값 확인 명령어

8.1.7 SID값 설정 명령어

8.1.8 SCI값 확인 명령어

8.1.9 SCI값 설정 명령어

8.2 System lost 관련 명령어

8.2.1 System lost monitor status값 확인 명령어

8.2.2 System lost monitor status값 초기화 명령어

8.3 Test Call 관련 명령어

Page 6: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

6/6 무단 전재 및 복사 금지

Global CDMA Leader

8.3.1 Mobile Station 8k test call

8.3.2 Mobile Station 13k test call

8.3.3 Mobile Station 8k markov test call

8.3.4 Mobile Station 13k markov test call

8.4 SAR Test 관련 명령어

8.4.1 Ch 수정 명령어

8.4.2 Ch 확인 명령어

8.4.3 Tx 파워 명령어

8.4.4 Tx 파워 확인 명령어

9. 부가 서비스 기능 명령어

9.1 통화 중 대기(서비스 가입자 C가 Release할 때)

9.2 통화 중 대기(서비스 가입자 B가 Release할 때)

9.3 통화 중 대기(서비스 가입자 A가 Release할 때)

9.4 통화 중 전환(전환을 시킬 때 I)

9.5 통화 중 전환(전환을 시킬 때 II)

9.6 통화 중 전환(원래 통화자로 복귀할 때)

9.7 3자 통화

9.8 회의통화

참고) Teleservice ID 리스트

Page 7: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

7/7 무단 전재 및 복사 금지

Global CDMA Leader

1. 개요

1.1 목적

본 규격서의 목적은 ㈜LG텔레콤(이하 LGT)이 DTE(Data Terminal Equipment) 와

DCE(Data Circuit terminating Equipment) 사이의 Interface를 위한 명령어

SET 을 규정하여, LGT에서 제공되는 모든 DCE(모뎀)에 적용함으로써

Application 프로그램의 적용 범위를 넓이고 상호 호환성을 두기 위함을 목적

으로 한다.

1.2 적용 대상

본 규격서의 적용 대상은 LGT 망을 이용하는 모든 CDMA Module에 적용됨을

원칙으로 하며, 특정 법인 고객의 요구에 의하여 LGT와 단말 제조사가 허가하는

범위내에서 일부 변경은 가능하다.

1.3 관련 규격

본 규격서는 다음의 규격들을 기반으로 하여 작성되었으며, 본 규격서에 언급되

지 않은 사항들은 그 규격들을 준용함을 원칙으로 한다.

? TIA/EIA/IS-707-A.3

Data Service Options for Spread Spectrum Systems : AT Command

Processing and the Interface

? TIA/EIA-615

Data Transmission System and Equipment : Serial Asynchronous

Automatic Dialing and Control ? Extended Command Syntax

? LG텔레콤 위치 정보 응용 단말 규격(V1.8)

1.4 용어 정리

AT Command

Any of the commands in the command set interface between Data

Terminal Equipment(DTE) and Data Circuit Terminating

Equipment.(DCE)

Data Circuit-Terminating Equipment(DCE)

A DCE connects a TE2 to the PSTN. A typical DCE would be a V-

series modem. For Group-3 Fax Service, the DCE and its

associated TE2 are often combined into a single Group-3 fax

machine.

Mobile Termination 2(MT2)

A mobile termination that provides a non-ISDN(Rm) user-network

Page 8: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

8/8 무단 전재 및 복사 금지

Global CDMA Leader

interface(e.g., CCITT V series or CCITT X series).

Terminal Equipment2(TE2)

A data terminal that provides a non-ISDN(Rm) user-network

interface(e.g., CCITT V series or CCITT X series)

Rm.

The interface between an TE2 and MT2

Page 9: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

9/9 무단 전재 및 복사 금지

Global CDMA Leader

1.5 커맨드 구조

? LGT가 정의하는 AT 커맨드는 AT$LGT로 시작한다.

? 모든 AT 명령어는 ASCII 문자를 이용하며, ? (carriage return)을 마지막에

포함시켜 전송한다.

? 명령어는 설정(set), 조회(read), 실행(execute) 명령으로 구분된다.

? 설정 명령어는 파라미터 값을 입력하는 명령어로 AT$LGTCommand=parameter

형태로 구성된다.

? 조회 명령어는 설정된 값을 조회하는 명령어로 AT$LGTCommand? 형태로

구성된다. 파라미터가 필요하면 =(등호)를 이용해 표현한다.

? 실행 명령어는 입력 가능한 파라미터 값의 범위를 확인하는 명령어로

AT$LGTCommand=parameter 형태로 구성된다.

? 각 파라미터는 ,(쉼표)로 구분된다. 단 단문과 관련된 명령의 경우 메시지

내용은 “”로 구분된다.

? 값이 없는 파라미터도 ,,구분자로 표현 해야 한다.

? 모든 명령어는 AT$LGT이후 5자 이내로 제한하여 총 11자 이내로 제한한다.

? 모든 명령어는 대소문자를 구분하지 않는다.

? 모든 요소들은 공백 없이 연속해서 표현된다.

? 설정 명령어에 대한 응답은 $LGTCommand:result 형태로 구성된다.

? result값은 Basic result code를 적용한다.

? 조회 명령어에 대한 응답은 $LGTCommand:parm1,…,parm n 형태로

구성된다.

? 실행 명령어에 대한 응답은 $LGTCommand:result,parm1,parm2,,parm n

형태로 구성된다. Parm 값의 경우 해당 사항이 없으면 생략된다.

? 모든 명령은 디폴트로 Echo ON 상태로 설정되어야 한다.

? AT command 와 결과 Code 값은 ANSI X3.4에 규정된 ASCII 값으로 전달 되어

야 한다.

? TE2로 부터의 명령어에 대한 응답 후 메시지의 끝을 알리기 위하여 문자열

“OK” 를 보낸다. 그리고 정의 되지 않은 명령어를 입력하거나 잘못된 인

수 등의 사용으로 명령어 자체를 수행하기 어려운 경우 명령에 대한 응답

대신 문자열 “ERROR”를 뿌려준다.

? 새로운 명령어 및 추가 명령어 정의할 경우는 상기 규칙에 의거하여 만들며,

반드시 관련 담당자의 확인을 득한 후 정의토록 한다 .

Page 10: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

10/10 무단 전재 및 복사 금지

Global CDMA Leader

1.6 Basic Result Codes

Numeric Verbal Description

0 OK 명령 수행 완료

1 CONNECT<rate> 호 접속 되었음

2 RING 네트워크로부터 Alerting signal 수신

3 NO CARRIER 전화 연결이 끊어짐

4 ERROR 명령을 인식하지 못하거나 실행하지 못했음

7 BUSY 통화 중

2. 단말 상태 관련 커맨드

2.1 RESET

MT2의 상태를 초기화하는 명령(TE2 ? MT2)

명령어 : AT$LGTRESET

응 답 : OK

2.2 PING

MT2의 상태를 확인하는 명령(TE2 ? MT2)

명령어 : AT$LGTPING?

응 답 : $LGTPING:state

state ? Idle : 유휴 상태로서 순방향 링크의 호출 채널을 감시

Access State : 액세스 채널을 통해 기지국에 메시지 전송 및 접속

Paging State : 역방향 링크에서 모듈을 호출하는 상태로 호출 채널을

통하여 모듈을 호출하는 상태

Traffic State : 통화 상태

2.3 사용자 번호 입력 관련 명령어

관련 규격서 : IMSI_MDN 기술 규격서

2.3.1 MSIN 확인

MIN 번호를 확인하는 명령(TE2 ? MT2)

MSIN(Mobile Station Identity Number)은 망과 단말기 사이의 CAI(Common Air Interface) 구간에서 호처리에 사용되는 단말기 식별자

일반 사용자는 인식을 하지 못하는 번호

명령어 : AT$LGTMIN?

Page 11: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

11/11 무단 전재 및 복사 금지

Global CDMA Leader

응 답 : $LGTMIN:min

min ? 내자리 국번인 경우 반드시 0을 포함해서 출력되어야함.

ex)$lgtmin:01991991234

2.3.2 MSIN 입력

MIN 번호 입력 명령어, SPC 코드 입력 후 가능 (TE2 ? MT2)

명령어 : AT$LGTMIN=min

min ? Call number

2.3.3 Mobile Directory Number(MDN)확인

MIN 번호를 확인하는 명령(TE2 ? MT2)

MDN(Mobile Directory Number)은 단말기 사용자가 단말기 식별자로서 인지하고 다이얼링하는 번호로 일반 사용자가 자기 번호라고 인식하고 있는 번호

명령어 : AT$LGTMDN?

응 답 : $LGTMDN:num

2.3.4 Mobile Directory Number(MDN)입력

MIN 번호 입력 명령어, SPC 코드 입력 후 가능 (TE2 ? MT2)

명령어 : AT$LGTMDN=num

num ? Mobile directory number

2.4 RSSI 강도 읽기

MT2의 수신 신호 강도를 확인하는 명령(TE2 ? MT2)

명령어 : AT$LGTRSSI?

응 답 : $LGTRSSI:strength

strength ? 99 와 0 에서 62 사이의 값

99 -> No service 전화통화 및 Data service, SMS 등 Call 에 관련된

Service 를 하나도 할 수 없는 상태

15~62 -> 안테나 5개 표시

13~15 -> 안테나 4개 표시

11~13 -> 안테나 3개 표시

09~11 -> 안테나 2개 표시

07~09 -> 안테나 1개 표시

04~07 -> 안테나만 표시된 상태

4이하 -> No Service

Page 12: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

12/12 무단 전재 및 복사 금지

Global CDMA Leader

2.5 RSSI 보고 주기 설정

MT2가 주기적으로 수신 신호 강도를 제공하도록 주기를 설정하는 명령

초기값은 0 (설정 주기 해제)로 setting 되어야 한다.

(TE2 ? MT2)

명령어 : AT$LGTINTRS=interval

interval ? 0 : 설정 주기 해제

1 ~ 255 : 설정 범위(단위 : 초)

2.6 RSSI 보고 주기 조회

MT2가 주기적으로 수신 신호 강도를 제공하도록 주기를 조회하는 명령

(TE2 ? MT2)

명령어 : AT$LGTINTRS?

응 답 : $LGTINTRS:현재 설정값

현재 설정값 ? 0 :설정 주기 해제

1 ~ 255 : 설정 범위(단위 : 초)

2.7 시각 조회

현재의 시스템 시각을 확인하는 명령(TE2 ? MT2)

명령어 : AT$LGTTIME?

응 답 : $LGTTIME:time

time ? YYYYMMDDHHMMSS

Page 13: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

13/13 무단 전재 및 복사 금지

Global CDMA Leader

2.8 무선망 정보 조회

현재의 무선망 관련 정보를 조회하는 명령어(TE2 ? MT2)

명령어 : AT$LGTSTA?

응 답 : $LGTSTA:FA,vocoder,state,lna/paic,Ec/Io,PN,rx,tx

FA ? 단말기 사용 주파수

vocoder ? 현재 보코드 방식

state ? call state

0,1,2,3,4,5,6,7 중 하나의 값을 표시

State Message 부연 설명

0 No service 서비스 불가

1 Initialization 초기화

2 Idle state 통화 대기 상태

3 Origination Attempt 발신 시도 상태

4 Answer Waiting 응답 대기 상태

5 Conversation 통화 상태

6 Busy 기타 통화 시도가 불가능한 경우

7 Service Resquest Min/ESN 이 틀린 경우 통화 시도

lna/paic ? 단말기 하드웨어 상태(3자리)

첫번째 digit ? LNA(저전압 증폭기) 상태

0(off)

1(수신단)

두번째, 세번째 digit ? PAIC(파워 증폭 IC)

11 : 파워를 가장 많이 사용(음영 지역)

10 :

01 :

00 : 파워 가장 적게 사용

Ec/Io ? 수신된 Chip당 파일럿 전력과 대역내 수신된 모든 신호전력의 비

PN ? Best Ec/Io 를 갖는 PN 번호

rx ? 수신 신호 세기(단위:dBm)

tx ? 송신 신호 세기(단위:dBm)

tx_adj ? Adjust 값(단위:dB)

FER ? Frame error rate(단위:%)

Page 14: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

14/14 무단 전재 및 복사 금지

Global CDMA Leader

2.9 버전 조회

소프트웨어 버전 확인 명령어(TE2 ? MT2)

명령어 : AT$LGTVER?

응 답 : $LGTVER:version

version ? 현재 단말기 Firmware Version

3. 단문 메시지 관련 커맨드

3.1 단문 송신

단문(sms)을 송신하는 명령어(TE2 ? MT2)

명령어 : AT$LGTSNDSM=receiveNo,sendNo,TI,”msg”

응 답 : $LGTSNDSM: MSGnum,TxTime,result

receiveNo ? 수신자 전화 번호

msg ? 100바이트 이내

TI ? Teleservice ID

SMS를 이용한 부가서비스 제공시 부가서비스별 메세시 성격을

구별하기 위한 Code

단문 송신시 호출 서비스(TI:4097), 메시지 서비스(TI:4098)을

적용하며, 기타 TI 값은 LG텔레콤과 협의하여 사용 여부 결정

sendNo ? 송신자 전화 번호(Callback 번호)

생략 가능하며, 생략 할 경우에도 ,는 반드시 기재

MSGnum ? 메시지별 지정된 번호로, 메시지 하나가 생성될 때 마다 송신 버퍼

에 저장 가능한 개수 만큼의 번호를 순서적으로 할당하여, 재송신

및 송신 메시지 관리용으로 사용됨

모뎀에서 자동 할당

TxTime ? 전송 시간 표시

result ? 성공시:OK

실패시:Fail

전송 실패시 실패 메시지는 모듈내에 저장 되어야 하며,실패 메시지에 대한 메시

지는 재전송 및 삭제가 되기 전까지 유지 되어야 한다.

3.2 단문 재전송

단문 송신시 실패시 재전송 명령어(TE2 ? MT2)

명령어 : AT$LGTRSND=MSGnum

Page 15: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

15/15 무단 전재 및 복사 금지

Global CDMA Leader

응 답 : $LGTRSND= MSGnum,TxTime,result

MSGnum ? 메시지별 지정된 번호로, 메시지 하나가 생성될 때 마다 송신 버퍼

에 저장 가능한 개수 만큼의 번호를 순서적으로 할당하여, 재송신

및 송신 메시지 관리용으로 사용됨

모뎀에서 자동 할당

TxTime ? 전송 시간 표시

result ? 성공시:OK

실패시:Fail

3.3 송신 메세지 읽기

송신 메세지 버퍼의 메세지를 읽는 명령어(TE2 ? MT2)

최근 순서로 5개의 메시지를 읽어오며, 5개 미만인 경우 그 때까지 저장된

메시지를 표시하도록함.

버퍼 크기는 단말기 제조사에 Specific 하나, 최소 5개의 메시지를 저장할 수 있

어야함.

명령어 : AT$LGTRDSM=MSGnum

응 답 : $LGTRDSM:MSGnum,sendNo,time,TI,”msg”

MSGnum ? 메시지별 지정된 번호로, 메시지 하나가 생성될 때 마다 송신 버퍼

에 저장 가능한 개수 만큼의 번호를 순서적으로 할당하여, 재송신

및 송신 메시지 관리용으로 사용됨

모뎀에서 자동 할당

개별 조회인 경우 : MSGnum,MSGnum,MSGnum…

일부 메시지 조회인 경우 : MSGnum-MSGnum

전체 조회인 경우 : *

‘*’인 경우 송신 버퍼에 저장된 모든 메시지를 최근 순서로 표시하며,

버퍼 크기에 따라 저장된 메시지를 모두 표시한다.

$LGTRDSM:MSGnum,receiveNo,sendNo,time,TI,”msg”

$LGTRDSM:MSGnum,receiveNo,sendNo,time,TI,”msg”

$LGTRDSM:MSGnum,receiveNo,sendNo,time,TI,”msg”

$LGTRDSM:MSGnum,receiveNo,sendNo,time,TI,”msg”

$LGTRDSM:MSGnum,receiveNo,sendNo,time,TI,”msg”

receiveNo ? 수신자 전화 번호

msg ? 송신한 메시지

TI ? Teleservice ID

SMS를 이용한 부가서비스 제공시 부가서비스별 메세시 성격을

구별하기 위한 Code

sendNo ? 송신자 전화 번호(Callback 번호)

Page 16: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

16/16 무단 전재 및 복사 금지

Global CDMA Leader

3.4 송신 메세지 삭제

송신 메세지 버퍼에서 메세지 삭제(TE2 ? MT2)

명령어 : AT$LGTDELSM=MSGnum

MSGunm ? 삭제할 메세지 번호.

개별 삭제인 경우 : MSGnum,MSGnum,MSGnum…

일부 메시지 삭제인 경우 : MSGnum-MSGnum

전체 삭제인 경우 : *

3.5 송신 메시지 카운트

송신 메세지 버퍼의 메세지 카운트 명령어(TE2 ? MT2)

명령어 : AT$LGTCTSM?

응 답 : $LGTCTSM:count_st,conut_total

count_st ? 십진수로 표현되며,저장된 메시지 개수

count_total ? 십진수로 표현되며,전체 저장 공간 표시

3.6 단문 수신 통보 설정/해제

단문 수신 시 통보 여부를 설정하는 명령어(TE2 ? MT2)

명령어 : AT$LGTNTRM=option

option ? ON : 단문 수신 통보 설정

OFF : 단문 수신 통보 해제

3.7 단문 수신 통보 설정 조회

단문 수신 시 통보 여부를 설정을 조회하는 명령어(TE2 ? MT2)

명령어 : AT$LGTNTRM?

응 답 : $LGTNTRM:option

option ? ON : 단문 수신 통보 설정

OFF : 단문 수신 통보 해제

Page 17: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

17/17 무단 전재 및 복사 금지

Global CDMA Leader

3.8 단문 수신 통보

단문 수신 통보 기능이 설정되어진 상태에서 MT2가 단문 수신하면 TE2로 수신과

수신 내용을 통보하는 명령어로 3 초 이내에 ACK 신호를 받지 못하면 $LGTRSM

명령을 이용하여 단문 메시지를 2회 재전송한다.(MT2 ? TE2)

명령어 : $LGTRM:sendNo,time,TI,length,”msg”

응 답 : AT$LGTACK

재전송명령어 : $LGTRSM:sendNo,time,TI,”msg”

sendNo ? 송신자 전화 번호

time ? 수신 시각(yyyymmddhhmmss)

msg ? 수신 메시지 내용

TI ? Teleservice ID

SMS를 이용한 부가서비스 제공시 부가서비스별 메세시 성격을

구별하기 위한 Code

length ? 메시지 길이

3.9 단문 수신 거부 설정/해제

특정 텔레서비스 기준으로 단문 수신을 거부/해제시키는 명령어(TE2 ? MT2)

명령어 : AT$LGTDNRM=TI,TI,TI,TI,…option

option ? ON : 단문 수신 거부 설정

OFF : 단문 수신 거부 해제

TI ? Teleservice ID.

SMS를 이용한 부가서비스 제공시 부가서비스별 메시지 성격을

구별하기 위한 Code

설정을 원하는 TI 값은 ,(coma)로 구분하여 배열함으로 다수의 TI값을

동시에 설정할 수 있다.

‘*’인 경우 모든 단문 수신 거부/해제.

3.10 단문 수신 거부 설정 조회

수신 거부된 TI 값을 표시해 주는 명령어(TE2 ? MT2)

명령어 : AT$LGTDNRM?

응 답 : $LGTDNRM:TI,TI,TI,…

Page 18: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

18/18 무단 전재 및 복사 금지

Global CDMA Leader

3.11 수신 메세지 읽기

수신된 메세지를 읽는 명령어(TE2 ? MT2)

출력 방법은 Flag(New 우선)를 1순위로 최근 시간을 2순위로 sorting 한다.

명령어 : AT$LGTRDRM=index

응 답 : $LGTRDRM:index,sendNo,time,TI,flag,length,”msg”

index ? 단문 수신 버퍼에 저장된 순서를 표시한다.

Index 값의 범위는 단말기 버퍼 크기에 따르며, 단말기 버퍼 싸이즈는

최소 20개의 메시지를 저장할 수 있어야 하나 제조사에 따라서는 그 이

상도 가능하다.

개별 메시지 읽기 : index,index,index…

일부 메시지 읽기 : Index-index

전체 메시지 읽기 : *

‘*’인 경우 수신 버퍼에 저장된 모든 메시지는 확인 여부에 따라

최근 메시지 순으로 표시한다.

$LGTRDRM:index,sendNo,time,TI,flag,length,”msg”

$LGTRDRM:index,sendNo,time,TI,flag,length,”msg”

$LGTRDRM:index,sendNo,time,TI,flag,length,”msg”

$LGTRDRM:index,sendNo,time,TI,flag,length,”msg”

$LGTRDRM:index,sendNo,time,TI,flag,length,”msg”

sendNo ? 송신자 전화 번호

time ? 수신 시각(yyyymmddhhmmss)

msg ? 수신 메시지 내용

TI ? Teleservice ID

flg ? 수신 버퍼에 저장된 메시지에 확인 여부 표시

OLD : 읽은 메시지

NEW : 읽지 않은 메시지

length ? 메시지 길이

3.12 읽지 않은 수신 메시지만 읽기

수신된 메시지 중 읽지 않은 메시지만 읽는 명령어(TE2 ? MT2)

명령어 : AT$LGTRDNEW

응 답 : $LGTRDNEW:index,sendNo,time,TI,flag,length,”msg”

index ? 단문 수신 버퍼에 저장된 순서를 표시한다.

sendNo ? 송신자 전화 번호

time ? 수신 시각(yyyymmddhhmmss)

msg ? 수신 메시지 내용

Page 19: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

19/19 무단 전재 및 복사 금지

Global CDMA Leader

TI ? Teleservice ID

flg ? 수신 버퍼에 저장된 메시지에 확인 여부 표시

OLD : 읽은 메시지

NEW : 읽지 않은 메시지

length ? 메시지 길이

새로운 메시지가 여러 개인 아래와같이 표현한다.

$LGTRDNEW:index,sendNo,time,TI,flag,length,”msg”

$LGTRDNEW:index,sendNo,time,TI,flag,length,”msg”

$LGTRDNEW:index,sendNo,time,TI,flag,length,”msg”

$LGTRDNEW:index,sendNo,time,TI,flag,length,”msg”

$LGTRDNEW:index,sendNo,time,TI,flag,length,”msg”

3.13 수신 메세지 삭제

수신된 메세지 삭제 명령어(TE2 ? MT2)

명령어 : AT$LGTDELRM=index

index ? 단문 수신 버퍼에 저장된 순서를 표시한다.

개별 삭제인 경우 : index,index,index…

일부 메시지 삭제인 경우 : Index-index

전체 삭제인 경우 : ‘*’

*인 경우 수신 버퍼에 저장된 모든 메시지를 삭제한다.

3.14 읽은 메시지만 삭제

수신된 메시지 중 읽은 메시지만 삭제

명령어 : AT$LGTDELRO

3.15 수신 메세지 카운트

수신된 단문 개수 확인 명령어(TE2 ? MT2)

명령어 : AT$LGTCTRM?

응 답 : $LGTCTRM:total_space,total,unopended

total_space ? 저장 가능한 총 메시지 개수

total ? 총 수신 메시지 개수

unopended ? 읽혀지지 않은 수신 메시지 개수

Page 20: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

20/20 무단 전재 및 복사 금지

Global CDMA Leader

3.16 단문 수신 상태 통보

단말에서 단문 수신시 저장 공간(수신 Buffer) 상태 및 기 수신된 단문과의

중복 여부를 확인하여 단말에 통보하는 기능

명령어 : $LGTRMST:state

state ? MemoryFull

단말에서 단문 메시지를 수신할 경우 저장 가능한

메모리 공간이 없을 경우 메시지 저장은 거부되고, 메모리 부족

코드 CauseCode35를 시스템에 전달한다.

Duplicate

동일한 Callback number 및 동일 내용의 메시지가 수신시 CDMA 모

듈은 모든 메시지를 Terminal(DTE)로 보내고, CDMA 모듈 내부에는

기존 메시지에 최신 메시지를 Overwrite한다.

이때, 중복 메시지의 판단은 Terminal(DTE)에서 저장된 메시지에

서 중복 여부를 판단한다.

3.17 SMS 메신저용 명령어

기존 SMS 전송시 한 건의 메시지 전달을 위해 Traffic Channel을 open/close

하는 것을 Traffic Channel을 Open 한 상태에서 다량의 메시지를 전달함으로써

망 부하 및 단말 부하를 줄이고자 함.

3.17.1 Traffic channel Open 실행명령어

Traffic Channel 을 강제로 Open 한다.

명령어 : AT$LGTSTCOP

3.17.2 Traffic channel Open 응답명령어

Traffic Channel 이 Open되었음을 표시

응 답 :$LGTSTCOP

3.17.3 Traffic channel Close 실행명령어

Traffic Channel 을 강제로 Close 한다. 강제 종료시 응답 메시지 없음.

명령어 : AT$LGTSTCCL

3.17.4 Traffic channel Close 응답명령어

Traffic Channel이 Close 되었음을 표시, 모뎀에서 자동 종료시 응답

응 답 :$LGTSTCCL

Page 21: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

21/21 무단 전재 및 복사 금지

Global CDMA Leader

3.17.5 기타 부가사항

-. Traffic Channel Open 후 30초 까지 SMS 전송이 이루어지지 않으면 Traffic Ch

Close 한다.

-. 마지막 SMS 전송 이후 30초 까지 메시지 전송이 이루어 지지 않으며, 자동 종료

한다.

Page 22: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

22/22 무단 전재 및 복사 금지

Global CDMA Leader

3.17.6 적용 예

% 만약 T.C Close 를 하지 않으면 30초 후에 모뎀에서 자동으로 $LGTSTCCL 을

내려서 Traffic Ch을 Close 한다.

AT

OK

AT$LGTSTCOP

OK

$LGTSTCOP

AT$LGTSNDSM=receiveNo, sendNo,TI,”MSG”

$LGTSNDSM:MSGnum,TxTime,result

OK

AT$LGTSNDSM=receiveNo, sendNo,TI,”MSG”

$LGTSNDSM:MSGnum,TxTime,result

OK

AT$LGTSNDSM=receiveNo, sendNo,TI,”MSG”

$LGTSNDSM:MSGnum,TxTime,result

OK

AT$LGTSTCCL

OK

Page 23: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

23/23 무단 전재 및 복사 금지

Global CDMA Leader

3.17.7 Traffic Channel을 이용한 SMS 전송 도시화

4. 음성 통화 관련 커맨드

4.1 음성통화 걸기

음성호를 시도하는 명령어(TE2 ? MT2)

명령어 : AT$LGTDLVC=target

target ? 수신자 전화 번호

4.2 음성통화 끊기

음성호를 종료하는 명령어(TE2 ? MT2)

명령어 : AT$LGTREVC

4.3 음성통화 수신 알림

음성호 수신을 알리는 명령어(MT2 ? TE2)

3초 단위로 표시

응 답 : $LGTRING

… … … … … . . SMS SMS SMS SMS

T.C open

TC Open 이후 30초 동안 SMS

전송이 없으면 자동 종료

SMS 전송 후 다음 SMS 전송시

까지 30초 동안 전송이 없으면 종료

마지막 SMS 전송 후 30초 동안 전송이

없으면 종료

T.C Close

Page 24: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

24/24 무단 전재 및 복사 금지

Global CDMA Leader

4.4 음성통화 수신 응답

음성호 수신에 대한 응답 명령어(TE2 ? MT2)

명령어 : AT$LGTANVC

4.5 음성통화 수신 자동응답 설정 상태 조회

음성호 수신에 대한 자동 응답 기능을 조회하는 명령어(TE2 ? MT2)

명령어 : AT$LGTSTAA?

응 답 : $LGTSTAA:option

option ? ON : 자동 응답 설정

OFF : 자동 응답 설정 해제

4.6 음성통화 수신 자동응답 설정

음성호 수신에 대한 자동 응답 기능을 설정하는 명령어(TE2 ? MT2)

명령어 : AT$LGTSTAA=option

option ? ON : 자동 응답 설정

OFF : 자동 응답 설정 해제

4.7 DTMF 전송

음성통화 중 DTMF 전송을 위한 명령어(TE2 ? MT2)

명령어 : AT$LGTSDDT=value

value ? 원하는 DTMF code 값(0 ~ 9,#,*,A,B,C,D)을 입력

한번에 여러 개의 값을 입력시 연속해서 입력(ex:720828)

4.8 발신자 번호 Notification

발신자 번호 확인 서비스가 가입이 되어 있으면 음성 통화 수신시 발신측의 전화

번호를 표시한다.(MT2 ? TE2)

응 답 : $LGTCNI:xxxx

xxxx ? 발신자 전화 번호

Page 25: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

25/25 무단 전재 및 복사 금지

Global CDMA Leader

4.9 발신자 번호 확인 명령어

발신자 번호 확인 서비스가 가입이 되어 있으면 음성 통화 수신시 발신측의 전화

번호를 확인 할 수 있는 명령어.(MT2 ? TE2)

“PCS 단말기 CNAP 기술 요구서” 참조

명령어 : AT$LGSTTCNI?

응 답 : $LGTSTCNI:xxxx

xxxx ? 발신자 전화 번호

4.10 CNAP(Calling Name Presentation) 확인 명령어

기 등록된 발신자의 애칭을 모뎀에서 확인하는 명령어(TE2 ? MT2)

“PCS 단말기 CNAP 기술 요구서” 참조

명령어 : AT$LGSTTCNA?

응 답 : $LGTSTCNA:character

character ? 발신자 애칭

KSC-5601 한글 완성형 코드

최대20 Byte (한글 10자)

4.11 CNAP(Calling Name Presentation) Notification

기 등록된 발신자의 애칭을 표시하는 명령어(MT2 ? TE2)

“PCS 단말기 CNAP 기술 요구서” 참조

응 답 : $LGTSTCNA:character

character ? 발신자 애칭

KSC-5601 한글 완성형 코드

최대20 Byte (한글 10자)

Page 26: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

26/26 무단 전재 및 복사 금지

Global CDMA Leader

4.12 음성 통화 발신 Process

음성 통화 발신시 TE2 와 MT2 사이에 주고 받는 명령어 절

DTE 명령 방향 DCE 명령어/응답어 세부 설명

TE2 ? MT2 AT$LGTDLVC=수신자번호 발신 시도

TE2 ? MT2 Calling 망 접속 중

TE2 ? MT2 Connect(DCD Pin LOW) 통화 연결시

TE2 ? MT2 No Carrier(DCD Pin High) 통화 미연결시

모듈내에 DCD(Data Carrier Detect)신호를 이용하여 Connect와 No carrier 처리

4.13 음성 통화 수신 Process

음성 통화 수신시 TE2 와 MT2 사이에 주고 받는 명령어 절차

DTE 명령 방향 DCE 명령어/응답어 세부 설명

TE2 ? MT2 $LGTCNI:발신자 번호 발신자 표시 서비스

TE2 ? MT2 $LGTRING 착신호 알림

TE2 ? MT2 AT$LGTANVC 통화 수신 명령어

TE2 ? MT2 Connect(DCD Pin Low) 통화 연결시

TE2 ? MT2 No Carrier(DCD Pin High) 통화 미연결시

모듈내에 DCD(Data Carrier Detect)신호를 이용하여 Connect와 No carrier 처리

No Carrier No Carrier

Connect

DTE DCE

DCD Signal

No Carrier No Carrier

Connect

DCD Signal

DTE DCE

Page 27: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

27/27 무단 전재 및 복사 금지

Global CDMA Leader

4.14 통화음 크기 확인

음성 통화시 통화음을 확인하는 명령어

통화음은 4단계로 나누며, 단계의 증가/감소는 담당자와 협의 요청

명령어 : AT$LGTVOL?

응 답 : $LGTVOL:value

value ? 1 에서 4 까지의 값을 가짐

1 : 저음

2 : 중음

3 : 고음

4 : 최고음

4.15 통화음 크기 설정

음성 통화시 통화음을 설정하는 명령어

통화음은 4단계로 나누며, 단계의 증가/감소는 담당자와 협의 요청

명령어 : AT$LGTVOL=value

value ? 1 에서 4까지의 값을 가짐

1 : 저음

2 : 중음

3 : 고음

4 : 최고음

4.16 벨소리 조절 명령어

벨소리를 설정하는 명령어

벨소리는 5단계로 나누며, 단계의 증가/감소는 담당자와 협의

명령어 : AT$LGTBVOL=value

value ? 0 에서 4까지의 값을 가짐

0 : OFF

1 : LOW

2 : MID

3 : High

4 : MAX

4.17 Flash 명령어

Flash 기능으로 삼자 통화, 착신 전환, 회의통화시 필요

명령어 : AT$LGTFLASH

AT$LGTFLASH=target_num

target_num ? 발신 번호

Page 28: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

28/28 무단 전재 및 복사 금지

Global CDMA Leader

5. 위치 정보 관련 커맨드

“LGT 위치 정보 응용 단말 규격서”참조

5.1 최근 위치정보 조회

단말기의 위치 관련 네트워크 정보를 조회하는 명령어(TE2 ? MT2)

명령어 : AT$LGTLOC?

응 답 : $LGTLOC:ch,nid,base id,pilot pn

ch ? 사용 주파수

nid ? 교환기 식별자

base id ? 기지국 식별자

pilot pn ? PN offset 값

5.2 위치등록정보 확인

LGT의 한눈에 서비스 여부를 확인하는 명령어(TE2 ? MT2)

LGT 한눈에 서비스는 “LG텔레콤 위치 정보 응용 단말 규격(V1.8)”에 따른다.

명령어 : AT$LGTHAN?

응 답 : $LGTHAN:state,interval, van code, information

state ? 1(제공), 0(제공 안함)

interval ? 주기

van code ? VAN 사업자

information ? 업체 정보

6. TCP/IP 관련 커맨드

TCP/IP 를 사용하기 위해서는 반드시 CRM 이 AT+CRM=130(single socket)으로 설정 되어

야 한다.

6.1 IP 및 Port 확인

Destination IP 와 Port 를 확인하는 명령어

명령어 : AT$LGTADDR?

응 답 : $LGTADDR:ip_address,port_number

ip_address ? IP

port_number ? Port 번호

Page 29: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

29/29 무단 전재 및 복사 금지

Global CDMA Leader

6.2 TCP 소켓 Open 명령

TCP/IP 통신을 위한 Destination IP 및 PORT를 설정하는 명령어

명령어 : AT$LGTTCPOP=ip_address,port_number

ip_address ? IP

port_number ? Port

Port_number 미지정시 생략 가능

6.3 TCP 소켓 Close 명령

TCP 소켓 통신을 Close 명령어

명령어 : AT$LGTTCPCL

6.4 패킷호 종료 명령

패킷호 종료 명령어

명령어 : AT$LGTPREL

6.5 Command 모드 전환 명령

Data 모드에서 command 모드로 전환

명령어 : +++

6.6 Pre-Dial 설정

전화 접속시 접속 범위 설정 ( Value = 1 일때 Default)

명령어 : AT$LGTPDIAL=value

value ? O : PPP 에서 TCP 까지 일괄 처리

1 : PPP 까지만 접속

Page 30: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

30/30 무단 전재 및 복사 금지

Global CDMA Leader

6.7 패킷 호 처리 절차(single socket)

6.7.1 패킷 호 접속시

Case 1 : Pre_Dial 미설정시(Value=0)

DCE DTE

AT+CRM=130

OK

AT$LGTTCPOP=IP_ADDRESS,PORT_NUM

ATDTxxx

CONNECT

Data Stream

Step 1

Step 2

Step 3

Step 4

Rm 인터페이스값 설정

IP, PORT 설정

망 접속, TCP 접속

Data 전송 Step 5

AT$LGTPDIAL=0

OK

OK

PRE_DIAL 설정

Page 31: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

31/31 무단 전재 및 복사 금지

Global CDMA Leader

Case 2 : Pre_Dial 설정시(Value=1)

DCE DTE

AT+CRM=130

OK

ATDTxxxx

AT$LGTTCPOP=IP_ADDRESS,IP_NUM

OK

Data Stream

Step 1

Step 2

Step 3

Step 4

Rm 인터페이스값 설정

PPP 접속

TCP 접속

Data 전송

Step 5

AT$LGTPDIAL=1

OK

PPP open

PRE_DIAL 설정

CONNECT

Page 32: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

32/32 무단 전재 및 복사 금지

Global CDMA Leader

6.7.2 패킷 호 종료 및 TCP 재접속시

DTR signal이용시

DCE DTE

Data Stream

Step 2

Step 3

Step 4

Data 전송

변경 후 IP, PORT 설정

Data 전송

Step 5

TCP접속해제(Close)

AT-Command 모드

OK

DTR Signal deasserted(High)

AT$LGTTCPOP=IP_ADDRESS,PORT_NUM

CONNECT

Data Stream

DTR Signal deasserted(High)

DTR Signal deasserted(High)

OK

NO CARRIER

TCP접속해제(Close)

AT-Command 모드

PPP 해제

패킷 호 종료

Page 33: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

33/33 무단 전재 및 복사 금지

Global CDMA Leader

7. 부가 커맨드

7.1 채널 확인

Primary 및 secondary FA channel을 설정하는 명령어(TE2 ? MT2)

명령어 : AT$LGTSTFA?

응 답 : $LGTSTFA:primary,secondary

primary ? Primary FA channel

secondary ? Secondary FA channel

7.2 채널 설정

Primary 및 secondary FA channel을 설정하는 명령어(TE2 ? MT2)

SPC 코드 입력 후 가능

명령어 : AT$LGTSTFA=primary,secondary

primary ? Primary FA channel

secondary ? Secondary FA channel

7.3 Power Down Registration 명령어

MT2의 전원을 OFF 하기 이전에 System에 전원 종료 등록을 위한 명령어

OK 응답을 받은 후(Power Down Registration) MT2의 전원 OFF 해야함.

Terminal(DTE)가 정상적인 전원 종료시 반드시 구현

(TE2 ? MT2)

명령어 : AT$LGTPWDNR

응 답 : $LGTPWDNR:

7.4 A-Key 설정 명령어

인증키를 설정하기 위한 명령어.(TE2 ? MT2)

단말기에서 2539** 시 A-Key 설정 명령어 working

정상 입력 후에는 단말기 초기화 필수

비정상 입력 시 재입력 요청

“인증 단말기 기술 요구사항” 참고

명령어 : AT$LGTAKEY=Value

응 답 : $LGTAKEY:result

Page 34: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

34/34 무단 전재 및 복사 금지

Global CDMA Leader

value ? 14자리 숫자값(ex:44967056009790)

OK ? 정상 값을 입력시

Error ? 잘 못 된 값을 입력시

7.5 Vocoder 설정 명령어

Vocoder를 설정하기 위한 명령어.(TE2 ? MT2)

아래의 Vocoder값 이외의 값은 사전 협의 요망

명령어 : AT$LGTVOSEL=Value

value ? 0 : 8K EVRC

1 : 13K QCELP

7.6 Vocoder 확인 명령어

Vocoder를 확인하기 위한 명령어.(TE2 ? MT2)

아래의 Vocoder값 이외의 값은 사전 협의 요망

명령어 : AT$LGTVOSEL?

응 답 : $LGTVOSEL:status

status ? 0 : 8K EVRC

1 : 13K QCELP

7.7 업체별 코드 관리 명령어(Option)

모듈제조사에서 S/W Version 관리를 위해 업체별 코드를 부여 관리키 위함

하나의 모듈에 구현되는 S/W은 한 모델에 한 개의 S/W만 구현되어야 하며,만약

사용자의 요구에 의해 특수 목적의 S/W 구현시는 업체 코드값을 실해시 요구 기

능만 수행토록 해야 함.(TE2 ? MT2)

본 내용은 권고 사항임.

명령어 : AT$LGTBCODE=xx

xx ? 제조사에서 해당 App Device 업체 관리용 Number

Page 35: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

35/35 무단 전재 및 복사 금지

Global CDMA Leader

7.8 DCE(MT2) 전원 감지 기능

DCE의 DC 전원 Level 값을 읽어 DCE 동작 상태를 확인하는 기능

명령어 : AT$LGTBAT?

응 답 : $LGTBAT:status

status ? 0,1,2,3,4 값 중 하나 표시

Status DC Level Module 동작상태 DTE 판정 적용예(기본전원:3.8V)

4 기본전원+0.4 V 무선Service 불가 Spec over 4.21 V이상

3 기본전원+0.2 V 정상 정상 동작 3.90 ~ 4.20

2 기본전원+ 0 V 정상 정상 동작 3.70 ~ 3.89

1 기본전원-0.2 V 정상 정상 동작 3.40 ~ 3.69

0 기본전원-0.4 V 무선Service 불가 Spec out 3.39 V이하

참고 ) 기본전원은 Module이 구동 되기 위한 최적의 전원

7.9 SPC(Service Programming Code) 설정

일부 명령어에 대한 접근 제한을 두기 위한 명령어로, SPC 가 설정된 후에

그 다음 명령어를 수행토록 함.

명령어 : AT$LGTSPC=000000

적용대상 : MSIN, MDN, 채널 설정, Vocoder 설정

기타 상호 협의하에 필요가 요구되는 경우

7.10 망 접속 상태 표시 기능

데이터 통신 현재 접속하고 있는 망의 접속 상태를 표시한다.(MT2 ?TE2)

95A/95B/cdma1x 의 세가지 경우를 Terminal(DTE)에 표시가 가능토록 해야함.

하드웨어적으로 구현 요망

“LGT특수 부가 단말기 납품 검수서”참조

예시)

PORT

특정 Pin 1 특정 Pin 2 망 접속 상태

0 0 95A

1 0 95B

0 1 95C(1X)

1 1 Reserve

7.11 Packet Data Service Option 변경

Page 36: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

36/36 무단 전재 및 복사 금지

Global CDMA Leader

지정된 서비스 Option 값을 변경하기 위한 명령어

Default 값은 33(cdma1x Packet Data)

“LGT 서비스 파라미터 규격서”참고

명령어 : AT$LGTPDSO=value

응 답 : result

value : 33(0x21) : IS95C Packet Data

32871(0x8066) : IS95C 법인 전용 Packet Data

7.12 Rm interface 설정

DTE와 DCE 사이의 Rm interface protocol 대한 값을 설정한다.

신규 protocol에 대한 설정 값의 경우 LG텔레콤과 단말기 제조사의 협의하에

결정한다.

명령어 : AT+CRM=value

응 답 : result

value : 0 : Asynchronous Data or FAX

1 : Packet data service, Relay Layer Rm interface

127 : Mobile-to-Mobile data(S/0 7010 적용)

130 : Packet data service using built-in TCP/IP protocol stack

(TCP/IP Single socket application at one time)

7.13 Dormant 기능 설정/해제

단말기가 Dormant상태 설정 해제 하기 위한 명령어

Default 값은 Disable

명령어 : AT$LGTDORM=value

응 답 : result

value : 0 : Disable

1 : Enable

8. EI(Engineering Interface) 관련 command

LG텔레콤 단말 인증 시험을 위해 필요한 명령어

8.1 System status 확인/설정 명령어

8.1.1 Mobile station의 System status값 확인 명령어

명령어 : AT$LGTSYSST?

응 답 : $LGTSYSST:MCC,MNC,SID,SCI

Page 37: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

37/37 무단 전재 및 복사 금지

Global CDMA Leader

MCC : Mobile Country Code(국가 번호)

MNC : Mobile Network Code(망사업자 번호)

SID : System ID

SCI : Slot Cycle Index

8.1.2 MCC값 확인 명령어

명령어 : AT$LGTMCC?

응 답 : $LGTMCC:MCC

MCC ? Mobile Country Code(국가 번호)

8.1.3 MCC값 설정 명령어(SPC 코드 적용)

명령어 : AT$LGTMCC=MCC

MCC ? Mobile Country Code(국가 번호)

8.1.4 MNC값 확인 명령어

명령어 : AT$LGTMNC?

응 답 : $LGTMNC:MNC

MNC ? Mobile Network Code(망사업자 번호)

8.1.5 MNC값 설정 명령어(SPC 코드 적용)

명령어 : AT$LGTMNC=MNC

MNC ? Mobile Network Code(망사업자 번호)

8.1.6 SID값 확인 명령어

명령어 : AT$LGTSID?

응 답 : $LGTSID:SID

SID ? System ID(System번호)

8.1.7 SID값 설정 명령어(SPC 코드 적용)

명령어 : AT$LGTSID=SID

SID ? System ID

8.1.8 SCI값 확인 명령어

명령어 : AT$LGTSCI?

응 답 : $LGTSCI:SCI

SCI ? Slot Cycle Index

8.1.9 SCI값 설정 명령어(SPC 코드 적용)

명령어 : AT$LGTSCI=SCI

SCI ? Slot Cycle Index

Page 38: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

38/38 무단 전재 및 복사 금지

Global CDMA Leader

8.2 System Lost 관련 명령어

8.2.1 System lost monitor status값 확인 명령어

명령어 : AT$LGTSYSLC?

응 답 : $LGTSYSLC:total_lost,wake_up_lost,Idle_lost,init_lost

8.2.2 System lost monitor status값 초기화 명령어

Mobile Station의 system lost monitor관련 값들을 0으로 초기화

명령어 : AT$LGTSYSCL

응 답 : OK

8.3 Test Call 관련 명령어

8.3.1 Mobile Station 8k test call

명령어 : AT$LGT8KLB

응 답 : OK

8.3.2 Mobile Station 13k test call

명령어 : AT$LGT13KLB

응 답 : OK

8.3.3 Mobile Station 8k markov test call

명령어 : AT$LGT8KM

응 답 : OK

8.3.4 Mobile Station 13k markov test call

명령어 : AT$LGT13KM

응 답 : OK

8.4 SAR Test 관련 명령어(SPC 코드 값 적용)

8.4.1 Ch 수정 명령어

명령어 : AT$LGTRFCH=value

응 답 : OK

value ? 25 ? 1117사이의 채널코드값

8.4.2 Ch 확인 명령어

명령어 : AT$LGTRFCH?

응 답 : $LGTRFCH:value

value ? 25 ? 1117사이의 채널코드값

8.4.3 Tx파워 명령어

Page 39: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

39/39 무단 전재 및 복사 금지

Global CDMA Leader

명령어 : AT$LGTTXPW=value

응 답 : OK

value ? 0 ? 511 :PDN 값

8.4.4 Tx파워 확인 명령어

명령어 : AT$LGTTXPW?

응 답 : $LGTTXPW:value

value ? 0 ? 511 :PDN 값

Page 40: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

40/40 무단 전재 및 복사 금지

Global CDMA Leader

9. 부가 서비스 기능 커맨드

9.1 통화 중 대기(서비스 가입자 C가 Release할때)

A B C

Conversation

Origination

FLASH 입력AT$LGTFLASH

Conversation

Release

HoldingRelease Tone

CWT 청취

Holding Tone

A B C

Conversation

Origination

FLASH 입력AT$LGTFLASH

Conversation

Release

HoldingRelease Tone

CWT 청취

Holding Tone

?CWT : Call Waiting Tone

? 통화중 대기 서비스는 *40 코드로 Active, *400 코드로 Deactive 시킨다.

Page 41: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

41/41 무단 전재 및 복사 금지

Global CDMA Leader

9.2 통화 중 대기(서비스 가입자 B가 Release할때)

A B C

Conversation

Origination

FLASH 입력AT$LGTFLASH

Conversation

Release

Release

Holding Tone

CWT 청취

Release ToneRelease Tone

A B C

Conversation

Origination

FLASH 입력AT$LGTFLASH

Conversation

Release

Release

Holding Tone

CWT 청취

Release ToneRelease Tone

Page 42: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

42/42 무단 전재 및 복사 금지

Global CDMA Leader

9.3 통화 중 대기(서비스 가입자 A가 Release할때)

A B C

Conversation

Origination

FLASH 입력AT$LGTFLASH

Conversation

Release

Release

Conversation

Holding Tone

CWT 청취

Confirm Tone

A B C

Conversation

Origination

FLASH 입력AT$LGTFLASH

Conversation

Release

Release

Conversation

Holding Tone

CWT 청취

Confirm Tone

Page 43: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

43/43 무단 전재 및 복사 금지

Global CDMA Leader

9.4 통화 중 전환(전환을 시킬 때 I)

A B C

Conversation

Origination

AT$LGTSDDT=C가입자 번호

Conversation

Conversation

AT$LGTFLASH=C가입자 번호

Holding Tone

Release

Origination

A B C

Conversation

Origination

AT$LGTSDDT=C가입자 번호

Conversation

Conversation

AT$LGTFLASH=C가입자 번호

Holding Tone

Release

Origination

Page 44: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

44/44 무단 전재 및 복사 금지

Global CDMA Leader

9.5 통화 중 전환(전환을 시킬 때 II)

A B C

Conversation

Origination

AT$LGTSDDT=C가입자 번호

Conversation

Conversation

AT$LGTFLASH=C가입자 번호

Holding Tone

Release

Origination

FLASH 입력AT$LGTFLASH

A B C

Conversation

Origination

AT$LGTSDDT=C가입자 번호

Conversation

Conversation

AT$LGTFLASH=C가입자 번호

Holding Tone

Release

Origination

FLASH 입력AT$LGTFLASH

Page 45: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

45/45 무단 전재 및 복사 금지

Global CDMA Leader

9.6 통화 중 전환(원래 통화자로 복귀할 때)

A B C

Conversation

Origination

AT$LGTSDDT=C가입자 번호

Conversation

AT$LGTFLASH=C가입자 번호

FLASH 입력AT$LGTFLASH

Release

Conversation

Holding Tone

A B C

Conversation

Origination

AT$LGTSDDT=C가입자 번호

Conversation

AT$LGTFLASH=C가입자 번호

FLASH 입력AT$LGTFLASH

Release

Conversation

Holding Tone

Page 46: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

46/46 무단 전재 및 복사 금지

Global CDMA Leader

9.7 3자 통화

A B C

Conversation

AT$LGTSDDT=C가입자 번호

AT$LGTFLASH=C가입자 번호

FLASH 입력AT$LGTFLASH

Conversation

FLASH 입력AT$LGTFLASH

Conversation Conversation

Conversation

Holding Tone

A B C

Conversation

AT$LGTSDDT=C가입자 번호

AT$LGTFLASH=C가입자 번호

FLASH 입력AT$LGTFLASH

Conversation

FLASH 입력AT$LGTFLASH

Conversation Conversation

Conversation

Holding Tone

Page 47: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

47/47 무단 전재 및 복사 금지

Global CDMA Leader

9.8 회의 통화

A B C

Conversation

AT$LGTSDDT=*22

AT$LGTFLASH=C 가입자 번호

Conversation

FLASH 입력 AT$LGTFLASH

Conversation Conversation

Conversation

Holding Tone

A B C

Conversation

AT$LGTSDDT=*22가입자번호

AT$LGTFLASH=*22가입자번호

Conversation

FLASH 입력 AT$LGTFLASH

Conversation Conversation

Conversation

Holding Tone

Page 48: CDMA Wireless Modem LG텔레콤 AT Command 표준cfs3.tistory.com/upload_control/download.blog?fhandle... · 1.4 용어 정리 AT Command Any of the commands in the command set interface

48/48 무단 전재 및 복사 금지

Global CDMA Leader

참조) LG텔레콤에서 사용중인 Teleservice ID 리스트

Code TID 설명 적용 범위 비고

CPT 4097 Celluar Paging Teleservice MO Default

CMT 4098 Celluar Messaging Teleservice MO Default

VMN 4099 Voice Mail Notification MT Default

MELOD 32768 Melody Service MT -

CATLT 49152 Cell Broadcasting Service MT -

ISMS 49153 Interactive Service MO,MT -

CHS-1 49154 Character Service MT -

CARD 49155 Picture Service MT -

PICTNOTI 49156 Picture Service Notify MT -

MIMLDY 49160 Midi Melody MT -

HOMEZ 49161 사용하지 않음 - -

WPUSH 49168 Wap Push MT -

TPHONE 49171 Traffic Phone - -

MMS_C 49172 MMS noti 수신확인 Download MT -

MMS_NOC 49173 MMS noti 수신미확인 Download MT -

VOD_SMS 49174 MT -

VOD_CBS 49175 MT -

MIDI 49610 Midi Melody MT -

HMC 49620 현대 자동차 SMS HMC MO -

49296 멜로디 푸시 서비스 -

49297 서버 IP 변경 서비스 -