An easiest way to mount a GSM modem to send and to receive sms message (forked from https://github.com/rodrigopinto/biju )
Go to file
Tomtom e3fc62c7dd receive command select all message (sim+mem) 2012-06-21 23:03:22 +02:00
lib receive command select all message (sim+mem) 2012-06-21 23:03:22 +02:00
spec Add class Modem. [meaculpa] it is missing test for a while, fix it soon 2012-05-18 14:19:28 -03:00
.gitignore Initial commit. 2012-05-16 18:33:34 -03:00
Gemfile Initial commit. 2012-05-16 18:33:34 -03:00
LICENSE Initial commit. 2012-05-16 18:33:34 -03:00
README.md Fix usage help 2012-05-18 14:44:58 -03:00
Rakefile Add rake task to run specs from minitest 2012-05-17 21:36:23 -03:00
biju.gemspec Initial commit. 2012-05-16 18:33:34 -03:00

README.md

Biju

[WIP] Biju is an easy way to mount a GSM modem to send, to receive and to delete messages through a ruby interface. This is project is based on this code snippet.

Installation

Add this line to your application's Gemfile:

gem 'biju'

And then execute:

$ bundle

Or install it yourself as:

$ gem install biju

Usage

@modem = Biju::Modem.new(:port => "/dev/tty.HUAWEIMobile-Modem")

# method to list all messages
@modem.messages.each do |sms|
  puts sms
end

@modem.close

TODO

  1. Write missing test for modem module.
  2. Write a documentation.
  3. Test with different kinds of modem and OS.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request