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..each do |sms|
puts sms
end
@modem.close
TODO
- Write missing test for modem module.
- Write a documentation.
- Test with different kinds of modem and OS.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request