README.md in wifly-0.0.5 vs README.md in wifly-1.0.0
- old
+ new
@@ -1,10 +1,8 @@
# Wifly
-This Ruby gem can be used to talk to a [WiFly RN-XV](http://www.rovingnetworks.com/products/RN171XV) device at a specified address. The gem has no dependencies other than the socket libraries that ship with any Ruby installation. The gem takes advantage of the predictable size of the response strings from the WiFly by using blocking IO operations. Using blocking operations significantly reduces the complexity of the code. There are a couple of caveats with using blocking reads, though:
-* Unexpected output from the WiFly could cause the client to deadlock on a socket read, or could cause corrupt data in subsequent reads. I've tried to find the variants of output that I'm concerned with in my project; however, you might find some edge cases I haven't covered. In that case, pull requests are welcome.
-* The version of the firmware must be passed into the client so that the size of the response strings can be predicted.
+This Ruby gem can be used to talk to a [WiFly RN-XV](http://www.rovingnetworks.com/products/RN171XV) device at a specified address. The gem has no dependencies other than the socket libraries that ship with any Ruby installation.
## Installation
Add this line to your application's Gemfile:
@@ -17,12 +15,12 @@
Or install it yourself as:
$ gem install wifly
## Usage
-Create a client by passing in the host, port, and firmware version:
+Create a client by passing in the host and port
- control = Wifly::Control.new('192.168.1.45', 2000, '2.38.3')
+ control = Wifly::Control.new('192.168.1.45', 2000)
Read the high pins:
control.high_pins # [3,7,9,15]