ACKme / WiConnect

Dependents:   wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more

Revision:
16:7f1d6d359787
Parent:
14:85a2ed029f37
Child:
17:7268f365676b
--- a/doc/html/join_2example_8cpp-example.html	Wed Aug 13 03:15:49 2014 -0700
+++ b/doc/html/join_2example_8cpp-example.html	Wed Aug 13 04:41:04 2014 -0700
@@ -118,11 +118,11 @@
 <div class="line"><span class="comment">// Look for this name in your WiFi settings</span></div>
 <div class="line"><span class="comment">// (e.g. your phone&#39;s list of WiFi networks in the WiFi settings menu)</span></div>
 <div class="line"><span class="comment">// tip: add double-quotes around SSID to add spaces to name</span></div>
-<div class="line"><span class="preprocessor">#define NETWORK_SSID &quot;ASUS&quot;</span></div>
+<div class="line"><span class="preprocessor">#define NETWORK_SSID &quot;\&quot;&lt;YOUR NETWORK NAME HERE&gt;\&quot;&quot;</span></div>
 <div class="line"></div>
 <div class="line"><span class="comment">// This is the password of your WiFi network</span></div>
 <div class="line"><span class="comment">// Leave as empty string (e.g &quot;&quot;) to connect to OPEN network</span></div>
-<div class="line"><span class="preprocessor">#define NETWORK_PASSWORD &quot;Y@nkee123&quot;</span></div>
+<div class="line"><span class="preprocessor">#define NETWORK_PASSWORD &quot;\&quot;&lt;YOUR NETWORK PASSWORD HERE&gt;\&quot;&quot;</span></div>
 <div class="line"></div>
 <div class="line"></div>
 <div class="line"></div>
@@ -169,12 +169,12 @@
 <div class="line">    <span class="comment">// Setup  wiconnect serial interface configuration</span></div>
 <div class="line">    <span class="comment">// Here we only specify the rx buffer size and not rx buffer pointer, this means</span></div>
 <div class="line">    <span class="comment">// The serial RX buffer will be dynamically allocated</span></div>
-<div class="line">    SerialConfig serialConfig(WICONNECT_RX_PIN, WICONNECT_TX_PIN, WICONNECT_SERIAL_RX_BUFFER_SIZE, NULL);</div>
+<div class="line">    SerialConfig serialConfig(WICONNECT_RX_PIN, WICONNECT_TX_PIN, 256, NULL);</div>
 <div class="line"></div>
 <div class="line">    <span class="comment">// Instantiate the Wiconnect library</span></div>
 <div class="line">    <span class="comment">// Here we only specify the buffer size and not buffer pointer, this means</span></div>
 <div class="line">    <span class="comment">// The internal buffer will be dynamically allocated</span></div>
-<div class="line">    Wiconnect wiconnect(serialConfig, WICONNECT_INTERNAL_BUFFER_SIZE, NULL, WICONNECT_RESET_PIN);</div>
+<div class="line">    Wiconnect wiconnect(serialConfig, 256, NULL, WICONNECT_RESET_PIN);</div>
 <div class="line"></div>
 <div class="line"></div>
 <div class="line">    <span class="comment">//-------------------------------------------------------------------------</span></div>