Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more
Diff: doc/html/join_2example_8cpp-example.html
- 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'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 "ASUS"</span></div> +<div class="line"><span class="preprocessor">#define NETWORK_SSID "\"<YOUR NETWORK NAME HERE>\""</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 "") to connect to OPEN network</span></div> -<div class="line"><span class="preprocessor">#define NETWORK_PASSWORD "Y@nkee123"</span></div> +<div class="line"><span class="preprocessor">#define NETWORK_PASSWORD "\"<YOUR NETWORK PASSWORD HERE>\""</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>