RSS Feed for This PostCurrent Article

Open Source SMS Library for Ruby

RubyGSM is a Ruby library which uses ruby-serialport to provide a nifty interface to send and receive SMS messages via a GSM modem.

Sample usage:

   1: class ReverseApp

   2:      def initialize(gsm)

   3:          gsm.receive(method(:incoming))

   4:          @gsm = gsm

   5:      end


   7:      def incoming(from, datetime, message)

   8:          @gsm.send(from, message.reverse)

   9:      end

  10:  end


  12:  gsm =


Trackback URL

Sorry, comments for this entry are closed at this time.