ACKme Networks AMW004-E02 Marlin Скачать руководство пользователя страница 16

AMW004 Evaluation 

 
Using WiConnect, Section 3 

 

ARG-MW004E-105R 

 AMW004 Evaluation Guide 

Page | 13 

Page | 13 

©2014 ACKme Networks. http://ack.me 

February 27, 2015

 

February 27, 2015

 

Success 
> reboot 
[Disassociated] 
Rebooting 
wiconnect-1.1.0.5, Built:2014-05-07 00:07:31 for AMW004.3, Board:AMW004-E03.1 
[Ready] 
> get wlan.ssid 
ssid_WILL_be_saved 

Note!

  WiConnect  configures  some  services  (such  as  GPIO  initialization)  only  after  reboot.  It  may  be 

necessary to save and reboot the module before the new value of some variables takes effect. 

 

3.11

 

Command vs. Stream Mode 

The WiConnect serial interface may be used in either Command Mode or Stream Mode. A brief description of each of 
these  modes  is  provided  in  the  following  text.  For  detailed  information,  please  refer  to  the 

WiConnect  Reference 

Guide

 

 Command Mode 

Command mode provides an asynchronous command interface that a host may use to send and receive control and 
data information. Command mode is typically used by a host to configure WiConnect, however it may also be used 
by simple hosts that need ultimate master/slave control over information sent to, and received from, the module. All 
preceding examples demonstrate usage of WiConnect in command mode. 

There  are two ways  to  interact  with WiConnect  in  Command mode.  When operating  in  human  friendly command 
mode, WiConnect provides verbose asynchronous responses that are easy for humans to read. In machine friendly 
command  mode,  verbose  prints  and  the  command  prompt  are  disabled  and  a  well-defined  response  header  is 
returned after each command. 

Configuring Command Mode 

Command mode can be configured using the convenience variable 

system.cmd.mode

 

Command 

Description 

set system.cmd.mode human

 

Enable human friendly command mode

 

set system.cmd.mode machine

 

Enable machine friendly command mode

 

Setting 

system.cmd.mode

  executes  a  macro  that  sets  the  value  of  the  four  variables  used  to  switch  between 

human and command mode. These variables, together with the human and machine mode setting, are listed in the 
following table. 

Command 

Human  /  Machine  Description 

set system.print_level

 

all 

Set debug & informational print level

 

set system.cmd.header_enabled

 

Disable/enable a response header

 

set system.cmd.prompt_enabled

 

Turn on/off the user prompt

 

set system.cmd.echo

 

on 

off 

Turn on/off character echo. In human 
mode, lets you see what you're typing

 

Содержание AMW004-E02 Marlin

Страница 1: ...AMW004 Evaluation ARG MW004E 105R AMW004 Evaluation Guide February 27 2015 2014 ACKme Networks http ack me AMW004 Evaluation Guide AMW004 E02 Marlin AMW004 E03 Mackerel ...

Страница 2: ...hic or otherwise or used as the basis for manufacture or sale of any items without the prior written consent of ACKme Networks Trademarks ACKme Networks and the ACKme Networks logo are trademarks of ACKme Networks WICED is a trademark of Broadcom Corporation Inc Other trademarks in this document belong to their respective owners Copyright 2014 ACKme Networks Inc All rights reserved Document Number...

Страница 3: ...i Networks 6 3 4 Joining a Wi Fi Network 6 Web Setup 6 Script Setup 7 Manual Setup 8 Wireless Protected Setup WPS 9 3 5 Filesystem 9 3 6 UDP TCP TLS Clients 10 3 7 HTTP HTTPS Clients 11 3 8 Using GPIOs 11 3 9 Factory Reset 12 3 10 Save Reboot 12 3 11 Command vs Stream Mode 13 Command Mode 13 Stream Mode 14 3 12 Want more 14 4 Ordering Information 15 5 Revision History Glossary 16 5 1 Revision Hist...

Страница 4: ...ation board The evaluation boards are shown in Figure 1 and a feature comparison of the boards is provided in Table 1 Figure 1 AMW004 Evaluation Boards Table 1 AMW004 Evaluation Board Feature Comparison Feature AMW004 E02 Marlin AMW004 E03 Mackerel Product Number AMW004 E02 AAE001 AMW004 A01 AMW004 E03 Module style Pluggable module adapter Surface mount Serial Interface USB UART USB UART Power sup...

Страница 5: ...1_RX 3 18 GPIO_171 GPIO_143 SPI_SCK GPIO_191 GPIO_3 GPIO_3 4 17 GPIO_201 GPIO_13 SPI_CS RESET_N RESET_N RESET_N 5 16 GPIO_15 USART1_RTS USART1_RTS GPIO_26 GPIO_4 BUTTON_2 6 15 GPIO_12 BUTTON_2 LED_1 GPIO_25 GPIO_5 LED_2 7 14 2 GPIO_22 BUTTON_13 GPIO_6 8 13 GPIO_0 GPIO_10 BUTTON_1 GPIO_21 GPIO_7 THERM 9 12 GPIO_16 USART1_CTS USART1_CTS GND GND GND 10 11 GPIO_181 GPIO_8 SPI_MOSI Notes 1 Connection t...

Страница 6: ...W004 Hornet VDD_3V3 VDD_3V3 1 20 GPIO_28 I2C0_SDA GPIO_14 USART1_TX 2 19 GPIO_27 I2C0_SCL GPIO_13 USART1_RX 3 18 GPIO_171 SPI_SCK GPIO_191 SPI_MISO 4 17 GPIO_201 SPI_CS RESET_N RESET_N 5 16 GPIO_15 USART_RTS GPIO_26 WAKE 6 15 GPIO_12 GPIO_12 GPIO_25 GPIO_25 7 14 GPIO_22 GPIO_22 8 13 GPIO_0 GPIO_0 GPIO_21 GPIO_21 9 12 GPIO_16 USART1_CTS GND GND 10 11 GPIO_181 SPI_MOSI Notes 1 Connection to AMW004 i...

Страница 7: ...3 GPIO_23 7 8 GPIO_24 GPIO_6 9 10 GPIO_5 GPIO_21 9 10 GPIO_22 GPIO_8 11 12 GPIO_7 GPIO_19 11 12 GPIO_20 GPIO_10 13 14 GPIO_9 GPIO_17 13 14 GPIO_18 GPIO_12 15 16 GPIO_11 USART1_CTS 15 16 USART1_RTS RESET_N 17 18 USART1_TX 17 18 USART1_RX GND 19 20 VDD_3V3 GND 19 20 VDD_3V3 Note The H2 pin numbering shown here is for all versions after AMW004 E03 1 In AMW004 E03 1 H2 pins were numbered in a differen...

Страница 8: ...n board 3 1 Getting Help WiConnect provides extensive help for each command and variable To obtain a list of help options type the help command help The following help options are available help all Print a list of all Commands and Variables help commands Print a list of Commands help variables Print a list of Variables help command Print help for a specific Command help variable Print help for a ...

Страница 9: ...lows Fast blink 4Hz Medium blink 1Hz Slow blink 0 5 Hz 3 3 Scanning for Wi Fi Networks To scan for Wi Fi networks in range use the wlan_scan command Each AP in range is listed on a separate line wlan_scan v 3 found Ch RSSI BSSID Rate Security Mode Len SSID 00 06 27 84 1B 5E 29 9D F7 450 0 WPA2 Mixed Inf 17 YOUR_NETWORK_NAME 01 11 73 2C B0 5D 31 6F 6A 300 0 WPA2 AES Inf 6 button 02 11 73 EC 1A 59 3...

Страница 10: ...o join enter the network password then select Save Exit and follow the prompts Once the settings are successfully saved WiConnect prints Web Setup Mode exited to the terminal Check that the settings were successfully saved using get wlan ssid and get wlan passkey Web Setup Mode exited get wlan ssid YOUR_NETWORK_NAME get wlan passkey YOUR_NETWORK_PASSWORD Figure 4 Web setup using a network client S...

Страница 11: ...orks 3 networks found Ch RSSI MAC BSSID Network SSID 0 6 27 84 1B 5E 29 9D F7 Take the blue pill 1 11 68 EC 1A 59 36 5B 6C button_xt 2 11 70 2C B0 5D 31 6F 6A button Type the number that matches your Network 0 Type the password for your Network welcome to kansas Associating to Take the blue pill In progress Associated This procedure automatically sets the wlan ssid and wlan passkey values Save aft...

Страница 12: ...he potential for equipment incompatibility and added user confusion mean it is unwise to rely on WPS as the primary method of Wi Fi provisioning in the real world Incompatibility and confusion aside WiConnect provides full support for WPS1 0 WPS2 0 and the underlying WPS engine has passed Wi Fi certification To use WPS in push button mode simply enter the wps command into WiConnect then press the ...

Страница 13: ...ificate may be provided as an option to the tls_client command if required udp_client test ack me 50019 Opening test ack me 50019 Resolving host test ack me Connecting 107 170 222 80 50019 2014 05 19 11 12 22 Opened 0 0 tcp_client test ack me 50019 Resolving host test ack me 2014 05 19 11 12 38 Opening test ack me 50019 Connecting TCP 107 170 222 80 50019 2014 05 19 11 12 39 Opened 1 1 tls_client ...

Страница 14: ...ttp schema org WebPage lang en AU head meta content images google_favicon_128 png itemprop image title Google title script function window google kEI mOd5U4eZAYTVkAXF2oDwBA getEI function a for var b a a getAttribute b a getAt stream_close 0 2014 05 19 11 14 47 Closed 0 Success 3 8 Using GPIOs In WiConnect a GPIO may have two functions a standard IO function or an alternate function such as a syst...

Страница 15: ...lts and the module reboots To avoid accidental factory reset the Wi Fi MAC address must be provided when calling the factory_reset command get wlan mac 4C 55 DC 15 02 5D factory_reset 4C 55 DC 15 02 5D Reverting to factory default settings Setting boot app to wiconnect exe 0 wiconnect 1 1 0 5 Built 2014 05 07 00 07 31 for AMW004 3 Board AMW004 E03 1 Ready 3 10 Save Reboot When the value of a WiCon...

Страница 16: ... to and received from the module All preceding examples demonstrate usage of WiConnect in command mode There are two ways to interact with WiConnect in Command mode When operating in human friendly command mode WiConnect provides verbose asynchronous responses that are easy for humans to read In machine friendly command mode verbose prints and the command prompt are disabled and a well defined res...

Страница 17: ...are transparently pushed by WiConnect to a network stream via a wireless interface Conversely bytes or characters received by a network stream from a remote server via a wireless interface are transparently pushed by WiConnect to a serial interface connected to the host A wireless serial port is a typical application that uses stream mode 3 12 Want more The WiConnect Reference Guide available onli...

Страница 18: ...Bare bones evaluation board that takes an AMW004 A01 Hornet module adapter Does NOT include a AMW004 A01 Hornet module adapter AMW004 E02 Marlin WiConnect development and evaluation platform for the AMW004 A01 Hornet through hole pluggable module adapter This part number includes both the AAE001 evaluation board and the AMW004 A01 module AMW004 E03 Mackerel WiConnect development and evaluation pla...

Страница 19: ...r verification ARG MW004E 102R August 2014 Added AMW004 A01 Hornet mechanical dimensions Updates for WiConnect 1 2 release ARG MW004E 103R October 22 2014 Correct Mackerel H2 pin numbering error update manual setup update Configuring a Terminal with Windows driver procedure ARG MW004 104R November 21 2014 Add System Indicator LEDs section 5 2 Glossary In most cases acronyms and abbreviations are d...

Страница 20: ...Panel e g press the Windows key Pause key In the left hand column near the top of the panel click Device Manager In the Device Manager dialog expand the Ports COM and LPT branch FTDI drivers appear under the USB Serial Port items If no items of this kind appear the drivers may not be installed Note The driver entry may not appear if the ACKme device is not connected to the USB port and powered on ...

Страница 21: ...dropdown appears providing options to configure Tera Term as shown in the screen capture on the right Select Terminal 2 Terminal Setup In the New line section of the Setup Terminal dialog box see the screen capture below ensure that Receive is set to CR Transmit is set to CR LF Close the Terminal Setup dialog box by selecting OK 3 Serial Port Setup Select the Setup tab again from the main window t...

Страница 22: ...k the Serial radio button then click the Port dropdown menu and select the COM port that matches your evaluation board The COM port description for the evaluation board includes the text COMxx USB Serial Port COMxx Once the correct COM port has been selected close the New connection dialog box by selecting OK 5 Testing the connection If Tera Term was able to connect successfully the text in the ap...

Страница 23: ...bes how to establish a UART serial interface between CoolTerm and the evaluation board 1 Start the CoolTerm application and click the Options menu icon The CoolTerm Configuration window opens Set the Serial Port configuration options as follows Port usbserial XXXXXXXX Baudrate 115200 Data bits 8 Parity none Stop bits 1 Flow control Deselect all options 2 Click OK 3 Click the Connect menu icon The ...

Страница 24: ...Appendix B Evaluation Board Schematics Mechanical Dimensions ARG MW004E 105R AMW004 Evaluation Guide Page 21 2014 ACKme Networks http ack me February 27 2015 ...

Страница 25: ...Appendix B Evaluation Board Schematics Mechanical Dimensions ARG MW004E 105R AMW004 Evaluation Guide Page 22 2014 ACKme Networks http ack me February 27 2015 ...

Страница 26: ...Appendix B Evaluation Board Schematics Mechanical Dimensions ARG MW004E 105R AMW004 Evaluation Guide Page 23 2014 ACKme Networks http ack me February 27 2015 ...

Страница 27: ...Appendix B Evaluation Board Schematics Mechanical Dimensions ARG MW004E 105R AMW004 Evaluation Guide 2014 ACKme Networks http ack me Mechanical Dimensions for AMW004 A01 Hornet ...

Страница 28: ...ny liability arising out of the application or use of this information nor the application or use of any product described herein neither does it convey any license under its patent rights nor the rights of others ACKme Networks US Headquarters 2 North Santa Cruz Ave Suite 207 Los Gatos CA 95030 2014 ACKme Networks Inc All rights reserved ARG MW004E 105R AMW004 Evaluation Guide February 27 2015 Co...

Отзывы: