Doxie Scanner

Gem Version Build Status

A scanner to find your WiFi enabled Doxie scanner. It returns a list of IP addressess for all Doxie scanners discovered on your network.

This Gem is especially useful in combination with the Doxie client library.

Installation

Either install directly or via bundler.

gem 'doxie-scanner'

Usage

The scanner uses UPnP and SSDP to search for your Doxie scanner.

require 'doxie/scanner'
Doxie::Scanner.ips
=> [
    [0] "192.168.1.2"
]

For usage with the Doxie client library you can use the .devices method to automatically detect the model number and IP.

require 'doxie'
require 'doxie/scanner'

client = Doxie::Client.new(Doxie::Scanner.devices.first)

Contributing

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

Development

  • bundle install to get dependencies
  • rake to run all tests
  • rake console to run a local console with the library loaded

License

This library is released under the MIT License.