Skip to content

Instantly share code, notes, and snippets.

@rizafr
Forked from tomysmile/gammu-install-osx.md
Created May 17, 2017 13:56
Show Gist options
  • Save rizafr/839a151b738f32cc705217d6f927cd0f to your computer and use it in GitHub Desktop.
Save rizafr/839a151b738f32cc705217d6f927cd0f to your computer and use it in GitHub Desktop.

Revisions

  1. @tomysmile tomysmile revised this gist Nov 18, 2015. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gammu-install-osx.md
    Original file line number Diff line number Diff line change
    @@ -48,6 +48,8 @@ InboxPath = /var/spool/sms/inbox/
    OutboxPath = /var/spool/sms/outbox/
    ```

    ## Sending SMS

    - Confirm your configuration by typing:
    ```
    $ gammu --identify
  2. @tomysmile tomysmile revised this gist Nov 18, 2015. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions gammu-install-osx.md
    Original file line number Diff line number Diff line change
    @@ -53,5 +53,7 @@ OutboxPath = /var/spool/sms/outbox/
    $ gammu --identify
    ```

    SentSMSPath = /var/spool/sms/sent/
    ErrorSMSPath = /var/spool/sms/error/
    - Finally, try to send SMS:
    ```
    $ gammu sendsms TEXT [telephone-number] -text "[message]"
    ```
  3. @tomysmile tomysmile revised this gist Nov 18, 2015. 1 changed file with 31 additions and 1 deletion.
    32 changes: 31 additions & 1 deletion gammu-install-osx.md
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,8 @@
    - Download and Install Driver USB Prolific for [PL2303 Mac OS X](http://www.prolific.com.tw/UserFiles/files/PL2303_MacOSX_1_6_0_20151022.zip)
    - Reboot Mac
    - Install [Homebrew](http://brew.sh/)

    ## Step by step:
    - Type below command :
    ```
    $ brew update
    @@ -23,5 +25,33 @@ $ ls -la /dev | grep tty.usb
    crw-rw-rw- 1 root wheel 36, 6 Nov 18 19:51 tty.usbserial
    ```

    - Modem TTY is tty.usbserial
    - The Modem TTY is tty.usbserial
    you will need this, so remember or copy it on text editor for next step

    - Copy sample configuration:
    ```
    $ cp /usr/local/share/doc/gammu/examples/config/gammurc ~/.gammurc
    ```

    - Modify the configuration, check mine:
    ```
    # ~/.gammurc
    [gammu]
    device = /dev/tty.usbserial
    connection = at115200
    [smsd]
    Service = files
    LogFile = syslog
    InboxPath = /var/spool/sms/inbox/
    OutboxPath = /var/spool/sms/outbox/
    ```

    - Confirm your configuration by typing:
    ```
    $ gammu --identify
    ```

    SentSMSPath = /var/spool/sms/sent/
    ErrorSMSPath = /var/spool/sms/error/
  4. @tomysmile tomysmile revised this gist Nov 18, 2015. 1 changed file with 15 additions and 1 deletion.
    16 changes: 15 additions & 1 deletion gammu-install-osx.md
    Original file line number Diff line number Diff line change
    @@ -10,4 +10,18 @@
    $ brew update
    $ brew install cmake
    $ brew install gammu
    ```
    ```
    after success and no error happen, connect your modem now, and type this command:

    ```
    $ ls -la /dev
    ```

    - find Modem TTY for your modem, or like mine with this command
    ```
    $ ls -la /dev | grep tty.usb
    crw-rw-rw- 1 root wheel 36, 6 Nov 18 19:51 tty.usbserial
    ```

    - Modem TTY is tty.usbserial
    you will need this, so remember or copy it on text editor for next step
  5. @tomysmile tomysmile revised this gist Nov 18, 2015. 1 changed file with 10 additions and 1 deletion.
    11 changes: 10 additions & 1 deletion gammu-install-osx.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,13 @@
    # Configuring Gammu for Mac OSX 10.11

    ## Requirements
    - Install [Homebrew](http://brew.sh/)
    - Disconnect modem first
    - Download and Install Driver USB Prolific for [PL2303 Mac OS X](http://www.prolific.com.tw/UserFiles/files/PL2303_MacOSX_1_6_0_20151022.zip)
    - Reboot Mac
    - Install [Homebrew](http://brew.sh/)
    - Type below command :
    ```
    $ brew update
    $ brew install cmake
    $ brew install gammu
    ```
  6. @tomysmile tomysmile revised this gist Nov 18, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gammu-install-osx.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Configuring Gammu for Mac OSX 10.11

    ## Requirements
    - Install Homebrew [http://brew.sh/]
    - Install [Homebrew](http://brew.sh/)
  7. @tomysmile tomysmile revised this gist Nov 18, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gammu-install-osx.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Configuring Gammu for Mac OSX 10.11

    ## Requirements
    - Install Homebrew
    - Install Homebrew [http://brew.sh/]
  8. @tomysmile tomysmile revised this gist Nov 18, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gammu-install-osx.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Configuring Gammu for Mac OSX 10.11

    ## Requirements
    -Install Homebrew
    - Install Homebrew
  9. @tomysmile tomysmile created this gist Nov 18, 2015.
    4 changes: 4 additions & 0 deletions gammu-install-osx.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    # Configuring Gammu for Mac OSX 10.11

    ## Requirements
    -Install Homebrew