2016년 1월 13일 수요일

[1]Send an SMS from your PC

Send an SMS from your PC

THIS POST WAS WRITTEN BY JEROEN ON JANUARY 7, 2009
POSTED UNDER: SMS
PC에서 GSM 폰으로 SMS를 보내는 것은 여러 방법이 있다.
Sending an SMS from a PC to a GSM phone can be done in many ways.
첫 방법은 당신의 PC에 GSM 폰을 연결해야 한다.
The first method I discuss requires a GSM phone attached to your PC.
GSM 폰(또는 GMS card)는 PC에 다른 방식으로 연결할 수 있다; BlueTooth, infrared(IrDA) 또는 씨리얼 케이블. 폰이 연결되는 방식은 무관하며 중요한 것은 GSM이 modem으로 사용가능하다는 것이다. 윈도우 PC에서 이는 TAPI 모뎀으로 사용가능하다는 것을 의미한다.
The GSM phone (or GMS card) can be connected to your PC in different ways; using BlueTooth, infrared (IrDA) or a serial cable. The way the phone is connected is irrelevant, what counts is that the GSM is available as a modem. On windows PCs this means that it will be available as a TAPI modem.
프로그램은 AT 커맨드 라고 불리는 것을 전송함으로써 모뎀이 무언가를 하도록 만든다.
Programs make modems do things by sending them so called AT commands. E.g.
ATD5551234 는 modem이 5551234 번호로 커넥션을 연결하도록 만든다.
ATD5551234 makes the modem dial a connection to the number 5551234.
ATA 는 incomming call에 modem이 응답을 하도록 한다. 모든 모뎀의 특성들은 이와 같은 명령을 사용함으로써 가능하다.
ATA makes the modem answer an incoming call. All your modem’s features are available using commands like these.
short message(SMS)를 다루는 특별한 AT 커맨드 셋이 있다. 이들 AT 커맨드들은 3GPP 에 의해 Technical Specification TS 27.005로 발표되었다. 이들 AT 커맨드들은 오직 short messages를 보낼 수 있는 (GSM) 장치에 의해서만 이해된다.
There is a special set of these AT commands to manipulate short messages (SMS). These AT commands are published by the 3GPP as Technical Specification TS 27.005. These AT commands are only understood by (GSM) devices that can send short messages.
  1. 당신이 PC와 연결할 수 있는 GSM(BluTooth, Infrared 또는 data(serial)cable을 사용해서)
    A GSM that you can connect to a PC (using BlueTooth, Infrared or a data (serial) cable.
  2. GSM은 모뎀처럼 동작한다. 어떤 폰들은 당신이 ring tone을 설정하고 address book을 다룰 수 있도록 하는 케이블과 소프트웨어와 함께 온다. 이것들은 당신의 폰이 모뎀처럼 동작하는데 필요한 것이 아니다. 모뎀처럼 동작할 수 있는 폰들은 종종 당신이 PC와 연결할 수 있도록 하는 연결타입을 선택하도록 한다.
    The GSM can act as a modem. Some phones come with a cable and software that allows you to configure ring tones and manipulate the address book, this does not require your phone to act as a modem. Phones that can act as a modem often let you pick the type of connection a PC can make.
  3. GSM은 short message를 전송하는데 사용될 수 있다 (Mobile Originated short messages). 만약 당신이 손에 있는 폰으로 SMS를 보낼 수 없다면 당신의 컴퓨터를 통해서도 수행될 수 없는 것이다.
    The GSM can be used to send short messages (Mobile Originated short messages). If you can’t send an SMS using the phone by hand, it is unlikely that it can be done via your computer.
당신의 폰이 3 필요조건을 충족한다면, 당신은 그것을 PC로부터 SMS를 보내는데 사용할 수 있다. 진보한 스마트 폰의 경우(Eriksson P800 같은)은 SMS 메시지를 보내는데 필요한 modem 커맨드를 지원하지 않는다. 나는 '장치 자체가 스마트해서 당신이 SMS 메시지를 보내는데 PC를 필요로 하지 않는다'는 철학이라고 추측한다. 불행히도, 장치 자체가 지원할 수 없는 많은 형태의 (binary)SMS 메시지가 있다. 그러나 만약 장치만 특정 모뎀 셋을 지원한다면 전송될 수 있다.
If your phone fulfills all 3 requirements, then it is likely that you can use it to send SMS messages from your PC. But this is not true for every phone. Even some advanced smart phones (like the Eriksson P800) don’t support the modem command set required to send SMS messages. I guess the philosophy is that ‘the device itself is so smart, you don’t need a PC to send SMS messages’. Unfortunately, there are many types of (binary) SMS messages that the device itself can’t support, but could be sent if only it supported the specific modem set.
SMS 메시지를 전송하기 위해 2 모드가 있다. 장치는 하나 혹은 둘다 지원할 수 있다:
There are 2 ‘modes’ defined for sending SMS messages this way. A device and support either or both:
  1. Text mode. 텍스트 모드에서는 text SMS message를 보내는 것이 간단하다. AT 커맨드는 하이퍼 터미널과 같은 프로그램을 사용하여 손으로 타이핑될 수 있다. 그러나 텍스트 모드에서는 text 메시지만 전송될 수 있다. 그러나 거기에는 더 많은 재밌는 전송될 메시지들이 있다.
    In text mode it is very simple to send an text SMS message. The AT command could be typed in manually using a program like hyper-terminal. In text mode, however only text messages can be sent. But there many more fun messages to be sent.
  2. PDU mode. PDU 모드에서는 어떤 SMS message든지 전송될 수 있다. PC는 PDU(protocol data unit)를 GSM 장치에 제출하고 GSM 장치는 단지 이를 GSM 네트웍으로 전달한다(실제로 SMSC로). PDU를 전송하는 커맨드는 간단하다, 그러나 PDU의 포맷팅은 간단하지 않고 프로그램 없이 수행될 수 업다. 흥미로운 점은 GSM 장치 자체는 전송되는 PDU를 이해할 필요가 없다는 것이다. 그래서 당신은 EMS message나 WAP push message를 지원하지 않는 폰을 사용해서 보낼 수 있을 것이다.
    In PDU mode any type of SMS message can be sent. The PC submits a PDU (protocol data unit) to the GSM device, and the GSM device just passes this on to the GSM network (actually to the SMSC). The command to send a PDU is still simple, but the formatting of a PDU is not and cannot be done without a program. An interesting fact is that the GSM device itself does not need to understand the PDU it is sending, so you could send an EMS message or a WAP push message using a phone that doesn’t support either.
나는 아직 오직 텍스트 모드만을 지원하는 단말은 보지 못했다. 그러나 PDU 모드만을 지원하는 많은 장치들을 보았다. 그래서 당신이 SMS message를 전송하는 범용 프로그램을 작성하고자 한다면 PDU 모드를 사용해서 작성하는 것이 좋을 것이다.
I have not yet encountered a phone that only supports text mode, but I have encountered many devices that support only PDU mode. So if you want to write a generic program to send SMS messages you’re better off if you do it using PDU mode.
다행히도 또한 PDU 모드는 다양한 애플리케이션 셋을 제공한다. 우리가 EMS, WAP push, bookmakrs, configuration 그리고 다른 화려한 SMS message들을 보낼 수 있는게 PDU 모드에서 이지만 말이다.
Fortunately PDU mode also offers us the richest set of applications, only though PDU mode we can send EMS, WAP push, bookmarks, configuration and other fancy SMS messages.
다음 몇몇 포스트에서 어떻게 text모드에서 SMS를 보내고 PDU 모드에서 SMS를 보내는지 자세한 사항을 다룰 것이다.
In the next few posts I’ll dive a little more into the details of how to send an SMS in text mode and how to send an SMS in PDU mode.

댓글 없음: