{"id":819,"date":"2020-03-06T11:08:12","date_gmt":"2020-03-06T11:08:12","guid":{"rendered":"https:\/\/mobiletidings.com\/?p=819"},"modified":"2020-03-06T11:08:12","modified_gmt":"2020-03-06T11:08:12","slug":"sending-out-an-sms","status":"publish","type":"post","link":"https:\/\/techsofar.com\/sending-out-an-sms\/","title":{"rendered":"How to Send An SMS From Your PC"},"content":{"rendered":"

Sending an SMS from a PC to a GSM phone can be done in many ways.<\/em><\/p>\n

The first method I discuss requires a GSM phone attached to your PC.<\/em><\/p>\n

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.<\/p>\n

Programs make modems do things by sending them so called AT commands. E.g.<\/p>\n

ATD5551234<\/em>\u00a0makes the modem dial a connection to the number 5551234.<\/p>\n

ATA<\/em>\u00a0makes the modem answer an incoming call. All your modem\u2019s features are available using commands like these.<\/p>\n

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.<\/p>\n

    \n
  1. A GSM that you can connect to a PC<\/strong>\u00a0(using BlueTooth, Infrared or a data (serial) cable.<\/li>\n
  2. The GSM can act as a modem<\/strong>. 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.<\/li>\n
  3. The GSM can be used to send short messages<\/strong>\u00a0(Mobile Originated short messages). If you can\u2019t send an SMS using the phone by hand, it is unlikely that it can be done via your computer.<\/li>\n<\/ol>\n

    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 smartphones (like the Eriksson P800) don\u2019t support the modem command set required to send SMS messages.<\/p>\n

    I guess the philosophy is that \u2018the device itself is so smart, you don\u2019t need a PC to send SMS messages\u2019. Unfortunately, there are many types of (binary) SMS messages that the device itself can\u2019t support, but could be sent if only it supported the specific modem set.<\/p>\n

    There are 2 \u2018modes\u2019 defined for sending SMS messages this way. A device and support either or both:<\/p>\n

      \n
    1. Text mode<\/strong>. In text mode, it is very simple to send a 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.<\/li>\n
    2. PDU mode<\/strong>. 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\u2019t support either.<\/li>\n<\/ol>\n

      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\u2019re better off if you do it using PDU mode.<\/p>\n

      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.<\/p>\n

      In the next few posts, I\u2019ll dive a little more into the details of how to send an SMS in text mode<\/a>\u00a0and\u00a0how to send an SMS in PDU mode<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"Sending an SMS from a PC to a GSM phone can be done in many ways. The first…\n","protected":false},"author":2,"featured_media":820,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/techsofar.com\/wp-content\/uploads\/2020\/03\/using-pc-to-send-sms.jpg","_links":{"self":[{"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/posts\/819"}],"collection":[{"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/comments?post=819"}],"version-history":[{"count":0,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/posts\/819\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/media\/820"}],"wp:attachment":[{"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/media?parent=819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/categories?post=819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techsofar.com\/wp-json\/wp\/v2\/tags?post=819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}