Doxie Scanner
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
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- 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.