<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">To test an Arduino sending data to a web server, we need:</p>
<ul style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin: 0px 0px 23px 1.5em; outline: 0px; padding: 0px; vertical-align: baseline; list-style: square; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">
   <li style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;">An&nbsp;<a title="Arduino main page" href="http://arduino.cc/en/" target="_blank" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;">Arduino</a>. &nbsp;I used an Arduino Uno.</li>
   <li style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;">A&nbsp;<a title="breadboard" href="http://www.amazon.com/gp/product/B005GYAIES/ref=as_li_tf_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B005GYAIES&amp;linkCode=as2&amp;tag=bitknittingwo-20" target="_blank" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;">Solderless BreadBoard</a><img alt="" src="http://ir-na.amazon-adsystem.com/e/ir?t=bitknittingwo-20&amp;l=as2&amp;o=1&amp;a=B005GYAIES" width="1" border="0" style="background: 0px 0px; outline: 0px; padding: 3px; vertical-align: baseline; height: auto; left: -4px; max-width: 100%; position: relative; box-shadow: rgb(204, 204, 204) 4px 4px 12px; border: none !important; margin: 0px !important;" /></li>
   <li style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;"><a title="Copper Wires" href="http://www.amazon.com/gp/product/B0040DEI9M/ref=as_li_tf_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B0040DEI9M&amp;linkCode=as2&amp;tag=bitknittingwo-20" target="_blank" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;">Some copper wires</a><img alt="" src="http://ir-na.amazon-adsystem.com/e/ir?t=bitknittingwo-20&amp;l=as2&amp;o=1&amp;a=B0040DEI9M" width="1" border="0" style="background: 0px 0px; outline: 0px; padding: 3px; vertical-align: baseline; height: auto; left: -4px; max-width: 100%; position: relative; box-shadow: rgb(204, 204, 204) 4px 4px 12px; border: none !important; margin: 0px !important;" /></li>
   <li style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;">An 802.11 chip that can send and receive data from an Arduino. &nbsp;I purchased the&nbsp;<a title="Adafruit cc3000" href="https://www.adafruit.com/products/1469" target="_blank" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;">CC3000 from AdaFruit</a>. &nbsp;AdaFruit has started to provide TI’s CC3000 WiFi chip. &nbsp;They wrote a library to talk to the CC3000 from an Arduino Sketch. &nbsp;<a title="Adafruit's web site" href="http://www.adafruit.com/" target="_blank" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;">Adafruit</a>&nbsp;is an excellent company to buy prototype parts from. &nbsp;The forums are awesome. &nbsp;Their tutorials are extremely helpful. &nbsp;I’ve been very happy with the product, support, and learning offered from Adafruit.</li>
   <li style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;">A web server</li>
   <li style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;">An Arduino sketch that communicates with the Web Server.</li>
   </ul>
<h1 style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 0.9236em; margin: 0px; outline: 0px; padding: 10px 0px; vertical-align: baseline; line-height: 1em; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">The CC3000 is Connected…to the Arduino</h1>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">The first step is to get the CC3000 talking to the Arduino.</p>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">The CC3000 uses&nbsp;<a title="SPI explanation in SPI" href="http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus" target="_blank" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;">SPI</a>&nbsp;to talk to the Arduino. &nbsp;SPI supports multiple components talking to an Arduino. &nbsp;The Arduino acts as a master SPI device. &nbsp;The wiFi breakout acts as a slave. Different Arduinos use different pins to connect to SPI devices. &nbsp;The Arduino Uno uses pins:</p>
<ul style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin: 0px 0px 23px 1.5em; outline: 0px; padding: 0px; vertical-align: baseline; list-style: square; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">
   <li style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;">13 to connect to a slave’s SCLK</li>
   <li style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;">12 to connect to a slave’s MISO</li>
   <li style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;">11 to connect to a slave’s MOSI</li>
   <li style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px;">and usually a default of 10 to connect to a slave’s SS.</li>
   </ul>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;"><a href="https://bitknitting.files.wordpress.com/2013/09/wifitoarduino.jpeg" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;" target="_blank"><img alt="wifiToArduino" src="https://bitknitting.files.wordpress.com/2013/09/wifitoarduino.jpeg?w=529&amp;h=396" width="529" style="background: 0px 0px; border-width: 1px; border-style: solid; border-color: #dddddd rgb(204, 204, 204) rgb(204, 204, 204) rgb(221, 221, 221); border-image: initial; margin: 0.5em 0px 0px; outline: 0px; padding: 3px; vertical-align: baseline; height: auto; left: -4px; max-width: 100%; position: relative; box-shadow: rgb(204, 204, 204) 4px 4px 12px;" /></a></p>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">You may want to refer to the&nbsp;<a title="Wikipedia entry on SPI" href="http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus" target="_blank" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;">SPI entry in Wikipedia</a>&nbsp;if the acronyms and what they represent are unfamiliar to you.</p>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">Each slave device needs a different pin to talk to the slave’s SS device. &nbsp;This can be a challenge because it means the component and the library that speaks to the Arduino must support configuring a different pin to SS. &nbsp;Components/libraries should do this easily so that multiple components can use SPI. &nbsp;Luckily Adafruit’s breakout does do this easily. Yay!</p>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">There will also be another RF component to talk between Arduinos within the house. This component will also use SPI. &nbsp;How this is handled will be discussed in a later post.</p>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">Once you have the cc3000 wired up to the Arduino, grab&nbsp;<a title="Adafruit's library on GitHub for the cc3000" href="https://github.com/adafruit/Adafruit_CC3000_Library" target="_blank" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;">AdaFruit’s cc3000 library on GitHub</a>&nbsp;library and run the buildtest sketch. &nbsp;Don’t forget to set the WiFi’s SSID and password to the values used on the WiFi you wish to connect to!</p>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">I got the following results when a ran the buildtest Example sketch that comes with Adafruit’s library:</p>
<pre style="background: rgb(238, 238, 238); border: 0px; margin-top: 0px; margin-bottom: 20px; outline: 0px; padding: 20px 20.0938px; vertical-align: baseline; line-height: 15px; overflow: auto; font-family: Monaco, &quot;Courier New&quot;, Courier, monospace; color: #333333;"><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Hello, CC3000!
</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">RX Buffer : 131 bytes</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">TX Buffer : 131 bytes</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Free RAM: 1236</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Initialising the CC3000 ...</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Firmware V. : 1.19</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">MAC Address : 0x08 0x00 0x28 0x57 0x35 0x8E</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Started AP/SSID scan</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Networks found: 3</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">================================================</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">SSID Name : NETGEAR-lp</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">RSSI : 54</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Security Mode: 3</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">SSID Name : henry2</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">RSSI : 78</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Security Mode: 3</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">SSID Name : henry1</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">RSSI : 54</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Security Mode: 3</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">================================================</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Deleting old connection profiles</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Attempting to connect to henry2</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Started AP/SSID scan</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Connecting to henry2...Waiting to connect...Connected!</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Request DHCP</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">IP Addr: 192.168.1.218</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Netmask: 255.255.255.0</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Gateway: 192.168.1.1</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">DHCPsrv: 192.168.1.1</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">DNSserv: 192.168.1.5</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">www.adafruit.com -&gt; 0.0.0.0</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;"> Pinging 0.0.0.0...Pinging 0.0.0.0 5 times</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Req report</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Reports: 1</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Sent: 0</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Recv: 0</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">MinT: 0</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">MaxT: 0</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">AvgT: 0</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">0 replies</span><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #888888;">Closing the connection
</span></pre>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">Yippee! The CC3000 connected to the wireless network. &nbsp;BUT bummer…name resolution of&nbsp;<a href="http://www.adafruit.com/" rel="nofollow" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;" target="_blank">http://www.adafruit.com</a>&nbsp;did not return its address and pinging&nbsp;<a href="http://www.adafruit.com/" rel="nofollow" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;" target="_blank">http://www.adafruit.com</a>&nbsp;didn’t work. &nbsp;Typical isn’t it? &nbsp;There is excitement on what works “easily” in our prototypes and confusion (leading to frustration) on a few things that&nbsp;<em style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">should</em>&nbsp;work.</p>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">After several runs, the call to&nbsp;cc3000.getHostByName(WEBSITE, &amp;ip) resolved. &nbsp;This is certainly not robust. &nbsp;I assume I’ll run into this “bug” in the near future and thus will wait to debug further.</p>
<pre style="background: rgb(238, 238, 238); border: 0px; margin-top: 0px; margin-bottom: 20px; outline: 0px; padding: 20px 20.0938px; vertical-align: baseline; line-height: 15px; overflow: auto; font-family: Monaco, &quot;Courier New&quot;, Courier, monospace; color: #333333;">www.adafruit.com -&gt; 207.58.139.247
 Pinging 207.58.139.247...Pinging 207.58.139.247 5 times
Req report
Reports: 2
Sent: 0
Recv: 0
MinT: 0
MaxT: 0
AvgT: 0
0 replies</pre>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">However, pinging still doesn’t work. &nbsp;I can’t figure out why so I am asking about it within Adafruit’s forum.</p>
<h1 style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 0.9236em; margin: 0px; outline: 0px; padding: 10px 0px; vertical-align: baseline; line-height: 1em; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">Conversing with AdaFruit’s Web Server</h1>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">The Adafruit library includes another example sketch – WebClient.ino – that connects to&nbsp;<a href="http://www.adafruit.com/" rel="nofollow" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;" target="_blank">http://www.adafruit.com</a>&nbsp;and then sends an HTTP GET command:</p>
<pre style="background: rgb(238, 238, 238); border: 0px; margin-top: 0px; margin-bottom: 20px; outline: 0px; padding: 20px 20.0938px; vertical-align: baseline; line-height: 15px; overflow: auto; font-family: Monaco, &quot;Courier New&quot;, Courier, monospace; color: #333333;">GET&nbsp;/testwifi/index.html HTTP/1.0
Host: www.adafruit.com
Connection:close</pre>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;"><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; font-style: inherit; line-height: 1.625;">And Yippee! The cc3000 connected with&nbsp;<a href="http://www.adafruit.com/" rel="nofollow" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;" target="_blank">http://www.adafruit.com</a>&nbsp;and then returned the contents of&nbsp;<a href="http://www.adafruit.com/testwifi/index.html" rel="nofollow" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;" target="_blank">http://www.adafruit.com/testwifi/index.html</a>.</span></p>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;"><span style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; font-style: inherit; line-height: 1.625;">The sketch returned:</span></p>
<pre style="background: rgb(238, 238, 238); border: 0px; margin-top: 0px; margin-bottom: 20px; outline: 0px; padding: 20px 20.0938px; vertical-align: baseline; line-height: 15px; overflow: auto; font-family: Monaco, &quot;Courier New&quot;, Courier, monospace; color: #333333;">Hello, CC3000!
Free RAM: 1125 bytes
Initializing...
Started AP/SSID scan
Connecting to henry2...Waiting to connect...Connected!
Request DHCP
IP Addr: 192.168.1.218
Netmask: 255.255.255.0
Gateway: 192.168.1.1
DHCPsrv: 192.168.1.1
DNSserv: 192.168.1.5
www.adafruit.com -&gt; 207.58.139.247Adafruit_CC3000_Client::Creating socket ... 
Adafruit_CC3000_Client::Created socket:0)
Adafruit_CC3000_Client::Connect to 207.58.139.247:80
Adafruit_CC3000_Client::Connecting socket ... 
Adafruit_CC3000_Client::DONE
-------------------------------------
HTTP/1.1 200 OK
Date: Mon, 16 Sep 2013 15:45:22 GMT
Server: Apache
Access-Control-Allow-Origin: http://learn.adafruit.com
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Accept-Encoding, Authorization, Referer, User-Agent
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Credentials: true
Access-Control-Max-Age: 1728000
Last-Modified: Thu, 27 Jun 2013 14:13:27 GMT
Accept-Ranges: bytes
Content-Length: 74
Connection: close
Content-Type: text/html
This is a test of the CC3000 module!
If you can read this, its working :)
Adafruit_CC3000_Client::No more data, and closed!
-------------------------------------</pre>
<p style="background: 0px 0px rgb(255, 255, 255); border: 0px; font-size: 13px; margin-bottom: 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.4px; color: #333333; font-family: Verdana, Arial, Helvetica, sans-serif;">On to&nbsp;<a href="https://bitknitting.wordpress.com/2013/09/16/test-send-data-from-arduino-to-a-web-server/index.php?p=162" style="background: 0px 0px; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: #990000;" target="_blank">sending data from the cc3000 to a web server running on the same intranet</a>.</p>