- Disconnect modem first
- Download and Install Driver USB Prolific for PL2303 Mac OS X
- Reboot Mac
- Install Homebrew
- Type below command :
$ 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
-
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
- Finally, try to send SMS:
$ gammu sendsms TEXT [telephone-number] -text "[message]"