ABOUT ========= SMS interface for GSM modems (cell-phones plugged into your computer) that uses the Win32 API for serial communications on windows so that it does not need to be compiled and does not rely on additional gems. On Linux and BSD it relies on the serialport gem. sudo gem install toholio-serialport -s http://gems.github.com SAMPLE ====== Here are the basics. Note, when you call process it will call fetch_and_delete_stored_messages which will fetch all of the messages off of your main mailbox and delete them. Permanently. require 'sms' # On Windows send "COM1", on OSX send something like "/dev/tty.usbmodem1a21" modem = Sms.new("COM5") modem.sms "+19519020972", "Hi Jeff, I am testing your gem" messages = modem.process COPYRIGHT ========= Copyright (c) 2009 Jeff Rafter. See LICENSE for details. Based heavily on Adam McKaig's RubyGSM and the Gnokii AT interface
Project
jeffrafter-sms
Simple interface for SMS sending and receiving via AT commands using a connected GSM modem or phone
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
Development
Dependencies
Project Readme