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.
Either install directly or via bundler.
gem 'doxie-scanner'
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)
- 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
bundle install
to get dependenciesrake
to run all testsrake console
to run a local console with the library loaded
This library is released under the MIT License.