Home
SNIC Interface Specification
Contents
1. Murata SyChip Page 23 of 42 ip SN82xx SW Design a subsidiary of SNE Demo Mozilla Firefox Boe File Edit View History Bookmarks Tools Help E sns2xx Demo ae D sn8200 com c 3J p P ft WiFi STA status WiFi scan and join STAIP Config GPIO demo UART demo 12C demo Versions Support info WiFi STA Status Status mac address ssiD In network o0086C00000E HK Leave TXJK Get RSSI RSSI 43 dBm 1 i gt Click on STA IP Configuration tab and then click on Configure IP with DHCP checked This is served by the file Webroot ip_config html Murata SyChip Page 24 of 42 even ip a subsidiary of EZ SNB2b0c Demo i e sn8200 com WiFi STA status WiFi scan and join STA IP Config GPIO demo UART demo 9 DHCP Static IP Hostname no change erase El Append last 3 bytes of MAC to hostname Configure IP l Get IP info SN82xx SW Design Cc cs Google P RO 12C demo Versions Support info m The hostname field is used to specify a hostname to be embedded into DHCP request When Append last 3 bytes of MAC to hostname is checked the last 3 bytes of MAC address will be appended to the hostname Enter so that it would not be embedded into DHCP request if hostname does not need to be changed Empty the field if hostname is to be erased Click on Get IP Info button to s
2. End of read pattern upto 8 bytes eor asci O Hexdecimal Read from UART Read after write Result length complete Read length 15 data ascii jsdfgsdfgsdffff 5 1 1 3 4 Read UART after write Click on Read after write button That causes the SN82xx to write data to UART then read from UART and send the data back to the web browser Check Hyper terminal to see the output write data and press any printable keys on the hyper terminal the web page should show the keys when one of the three ending condition is triggered If a break signal needs to be sent before the write it can be done similar to Section 5 1 1 3 2 5 1 1 4 I2C demo The I2C demo tab is served by i2c html There is a temperature humidity sensor on the SN82xx EVK connected to the SN82xx module via I2C interface When the tab loads it initializes resets the I2C interface and shows the clock rate Murata SyChip Page 32 of 42 ip SN82xx SW Design a subsidiary of TE SN82xx Demo Mozilla Firefox I si HE File Edit View History Bookmarks Tools Help EE sna2xx Demo 5n8200 com e 3 WiFi STA status WiFi scan and join STA IP Config GPIO demo UART demo 12C demo Versions Suppor info There is a temperature humidity sensor on the SN8200 EVK connected to the SN8200 module via 12C interface This page demonstrates the SWS ability to configure read and write 12C interface on the SN8200 Read temperature sensor Read
3. 6 000BEC416C00 46 MY AF seiD E 0018E7FE5C13 200 Con Murata WS 416F82 Ja 000B6C416F82 61 Linky 7 68EFBD2E29B0 68 wps i 1C7EE52F2DEA 48 Con k m lo Manual configuration with Scan and join panel Select SSID enter password and click on Join When the join is successful the channel of the soft AP will change to the channel of the selected AP Wait for about 10 seconds for the new status The delay is due to the channel change of the soft AP which causes the Laptop to reconnect to the soft AP in the new channel The result page is served by wifi_sta_status html but two more buttons are added for options to leave the network or get the signal strength of the current connected AP WPS setup panel For WPS the SN82xx supports Push Button and Pin mode o When using Push Button mode press the WPS button on the AP then click on WPS Connect button on sn8200 com page with Push Button mode selected o When selecting Pin mode a message box on Pin length will appear as shown in the above screen capture Use a PC tablet smart phone and connect to the AP web page for WPS control Enter valid pin into the AP web page and the sn8200 com page press the WPS button on the AP s web page and then click on WPS Connect button on sn8200 com page with Pin mode selected It may take up to 2 minutes for WPS connection to complete User needs to click the WiFi STA Status tab to check the connection status
4. Input Pull Down Input Pull Up output Open Drain output Push Pull Configure GPIO Result ok Murata SyChip Page 28 of 42 a subsidiary of 5 1 1 3 UART demo UART demo tab is served by the file Webroofuart html Select baud data bits parity stop bits and flow control then click UART config SN82xx SW Design SN82xx Demo Mozilla Firefox Woes File Edit View History Bookmarks Tools Help F SN82xx Demo sn8200 com WiFi STA status WiFi scan and join STA IP Config GPIO demo UART demo 12C demo This page demonstrates the ability to configure read and write to UART interface on the SN8200 UART1 x Baud 921600 x Databits 8 x No parity sv Stopbits 1 Is No flow control UART Config Write to UART data Murata SN8200 ascii Hexdecimal C Bulk write 950 bytes Write to UART Send break then write to UART Read Length decimal 15 Timeout decimal in seconds 20 End of read pattern upto 8 bytes eor ascii O Hexdecimal Read from UART Read after write Result al Versions Plt A Support info A Any of the three operations UART Config the Read from UART or Read after write will disable the SNIC serial interface protocol and the state is saved in flash So the SNICMonitor will not be able to communicate with SN82xx via serial port after that even after a reset Click the Disconnect icon
5. 3 UART Ge i0 O i EA EE EE OE OER OER EE EE DOG 5 1 1 3 1 Send data to UART from web browser ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee Ge ee 30 5 1 1 3 2 Send break signal before sending UART data sesse ee ee ee ee be ee ee ee ee ee 31 5 1 1 3 3 Read data from UART to Web browsert eie ese ese ee ee Re ee Re Re Re ee ee ee Re Re ee Re ee ee ee 31 5 1 1 3 4 Read UART after write ees ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee Ge ee 32 5 1 1 4 TE den EE mee EN EE ER EE EER EG OE N OG CEA 32 5 1 1 5 Miscellaneous tabs c cccccccccccccsesssssccscccsessssssscececssessssscecesessssssssccceseessssseseseessssssececesessnssssccesesssesesess 34 5 12 STA WED IE EE EO OE EE EE EE 35 5 2 DESIGN NOTE Accs Ee ee oe secu cai ec ee GE DE ee ee De Tan ae So enn a ee ge aces ns 38 5 3 WEB CONTENT UPGRADES EE GEE Ge Re ee RE ee acne ER Ee Re ee GE Ee ee GE Ee ee ee Ee ee GE 38 5 3 1 Creating web Uma AE ces Goss iis EE ee eS ok SE OE ER EE 39 5 3 2 Updating web image EG AS Re OE aes a nek siete one eh nthe Gee ee 39 6 THIRD PARTY LICENSING INFORMATION ccccssssscscssssccsssssccssssccssssccsessseccscsssecsssssseessses 41 Murata SyChip Page 3 of 42 evcnip SN82xx SW Design a subsidiary of Murata SyChip Page 4 of 42 evcnip SN82xx SW Design a subsidiary of nu Rata TABLE OF FIGURES Figure 1 Example EZ Web Wizzard usage scenario iese sees se esse ee ee se ee Re ee RA Rd Gee ee
6. Evcnip SN82xx SW Design a subsidiary of FA SN82xx SNIC EZ Web Wizzard Development Platform User Manual Version 1 5 September 6 2013 SyChip LLC reserves the right to make changes in specifications at anytime and without notice The information furnished in this document is believed to be accurate and reliable However no responsibility is assumed by SyChip for its use nor any infringements of patents or other rights of third parties resulting from its use No license is generated under any rights of SyChip or its supporters unless specifically agreed Murata SyChip Page 1 of 42 Evcnip SN82xx SW Design a subsidiary of Release Record Version Number Release Date Comments Version 1 0 12 14 12 e Initial release Version 1 1 01 09 13 e Added HTTP port and retry in FW config Version 1 2 05 10 13 e Added WPA AES security support Version 1 3 06 10 13 e Added WPS support Version 1 4 08 30 13 e Added UART break Version 1 5 09 06 13 e Added web upgrade Murata SyChip Page 2 of 42 evcnip SN82xx SW Design a subsidiary of THE TABLE OF CONTENTS 1 INTRODUCTION SE EE EE NE EE EE N EE EE EE EE N 6 1 1 TERMS ese ee Ee Gie ee Vee Ee gee Ge ee Ee Gee Gee SeSe Ge EEE ee DER Ge Ge De DER Dee Ee Ee Ee EE Ge 6 1 2 dogs dee SEE EE EE OE N EE ER EE Ee 6 2 EZ WEB WIZZARD DEVELOPMENT PLATFORM eee esse esse see es es se sees se se ee ss se ee ees se ee ee se se ee ee see 7 2 1 DEVELOPING APPLICATION
7. Fill with default all fields will be populated with default values Murata SyChip Page 13 of 42 jSvChip a subsidiary of PIZA WPS Config Device Name Manufacturer Model Name Model Number Serial Number Device Category Sub Category Default Pin Config Methods Fill with default SN82xx SW Design SN82xx Murata SNB2xx 1 0 123456 7 76543210 Label Push button Display pin Keep data o Modify the parameters as needed The Default Pin is used when Label or Display pin is selected If pin length is 7 digits the 8 checksum digit will be calculated and shown after Keep data button is clicked o Click on Keep data button Data will be saved in SNICMonitor s memory and window will be dismissed Click on WPS button again if needed to see what is saved in memory The Save Firmware button in the Firmware Config window needs to be clicked to actually save the data to firmware file If Keep data button is not clicked WPS parameters will not be saved to memory or the firmware 3 3 Importing web contents to EZ Web Wizzard framework SNIC monitor enables application developers to easily import into EZ Web Wizzard framework application specific web pages It supports the use of web content configuration file ending conf to do the following e Specify HTTP headers to be included in response for a specified URI e Specify the Content Type of the specified
8. be ee ee ee ee ee ee 7 Figure 2 EZ Web Wizzard development platform esse esse ee ee ee Se AR ee ee RA Rd Gee ee be ee ee ee ee ee ee 8 Figure 3 EZ Web Wizzard embedded framework for simple web services SWS esse esse esse ese ee ee see ee 8 Figure 4 Customize firmware parameter esse sees see se ee ee ee ee SR Re GR Re RA Re Gee Gee Ge ee ee ee ee Se Re ee ee 12 Ti dio Import Web Giles AR EE EE ER OE N N OE ON OE 20 Figure 6 Download firmware to SN82XxX ees see see see se ee ee AA AR Re AR Re RA Re Gee Gee ee ee ee ee ee Se Re ee ee 21 Fig te 7 Download Compl te messies OE EE OE N N EE 21 Murata SyChip Page 5 of 42 Evcnip SN82xx SW Design a subsidiary of 1 Introduction SN82xx is a complete embedded wireless solution to address the connectivity demand for deeply embedded systems It integrates an ARM Cortex M3 micro controller Wi Fi BB MAC RF IC RF front end flash memory fast clocks and on board antenna into a small form factor module The EZ Web Wizzard architecture supports easy web based control without the need for any additional host controller It contains a firmware running onboard SN82xx to support wireless network configuration JSON parser HTTP server TCP IP network stack WiFi driver and I O peripherals driver EZ Web Wizzard supports dual APSTA mode that simplifies WLAN connection setup using an embedded web server The web server provides simple web services SWS through an Ajax interface that supports
9. enabled it will serve pages for the AP interface e Country code default is US e Security open WPA TKIP PSK WPA AES PSK WPA2 AES PSK or WPA2 MIXED PSK e Pass phrase 64 characters or less Murata SyChip Page 12 of 42 evcnip SN82xx SW Design a subsidiary of 3 2 2 Channel WiFi channel for soft AP SSID Prefix this is the broadcasted SSID prefix for the soft AP Append MAC to SSID if checked the soft AP s SSID will be the prefix plus the last 3 bytes of the MAC address otherwise the SSID prefix will be used as the SSID Domain name default is sn8200 com can be modified to any name The edit box next to the Domain name is the HTTP port default is 80 IP default is 172 31 0 1 can be customized to be any valid IP Subnet mask default is 255 255 0 0 Gateway should be same as IP STA mode parameters The STA Config block specifies the startup parameters for STA interface SSID to connect enter SSID to connect when the module boots up or after a reset Security the target AP s security mode which can be open WEP WPA TKIP PSK WPA AES PSK WPA2 AES PSK or WPA MIXED PSK Pass phrase the target AP s pass phrase Retry itv T1 if the SSID specified is not on or with wrong security settings at the time the SN82xx boots up the auto joining will fail This parameter specifies the initial retry interval If STA fails to connect for the first time STA waits for T T1 Once T expires STA retrie
10. humidity sensor 12C clock 100kHz Click on Read temperature sensor or Read humidity sensor the I2C interface is written and read The page shows the current sensor reading Note temperature reading is higher than room temperature because the board temperature is higher SN82xx Demo Mozilla Firefox JaEg File Edit View History Bookmarks Tools Help EE sna2xx Demo e EP sn8200 com e 3 WiFi STA status WiFi scan and join STA IP Config GPIO demo UART demo 12C demo Versions Suppor info There is a temperature humidity sensor on the SN8200 EVK connected to the SN8200 module via 12C interface This page demonstrates the SWS ability to configure read and write 2C interface on the SN8200 Read temperature sensor Read humidity sensor Temperature 31 70 C Humidity 16 49 Note the webroot version of the web page has a different look and feel as shown below The Lamp On off buttons are to set GPIO pin 7 to 1 and 0 respectively Murata SyChip Page 33 of 42 Ip SN82xx SW Design a subsidiary of CG 5 sn8200 com i2c htm HOME SENSOR AREA LivingRoom mr 88 97 C mer 23 62 5 1 1 5 Miscellaneous tabs Click on Versions tab served by the file Webroot wifi_version html This shows the software versions in the release as well as a button to reset SN82xx to default state same as firmware download and reset File Edit Vi
11. r Page v Safetyv Toos WiFi STA status WiFi scan GPIO demo SoftAP Versions Support info ABC Company 12345 Alpha Road San Jose CA 95101 www abccompany com Internet f Q Murata SyChip Page 37 of 42 evcnip SN82xx SW Design a subsidiary of 5 2 Design note For HTTP request with POST method the web service in the firmware requires the POSTed JSON object be URL encoded and there should be no unnecessary spaces between any components in the JSON object To accomplish this all the sample web files use a function JSON stringify params The JSON stringify function is defined in javascripAjson2 min js Following is an example The space in the params is stripped off by the stringify function automatically params if sta ajax type POST url sws ip get data Params JSON stringify params success function disp dataType jsonp DE For HTTP request with GET method the web server gets the JSON callback number from the URL The sample web files use the following method to append the generated callback number to the URL ajax type GET url sws gen ver data lang en us amp format json amp jsoncallback success function feed h dataType jsonp DE The response JSON object from the web server is not URL encoded 5 3 Web content upgrade http lt Domain gt webupg is a special URI that can be used to upgrade the w
12. values for the selected pins to 1 and click on Write GPIO Murata SyChip Page 26 of 42 ip SN82xx SW Design a subsidiary of Demo A a efo File Edit View History Bookmarks Tools Help EE sna2xx Demo sn8200 com Mg WiFi STA status WiFi scan and join STA IP Config GPIO demo UART demo 12C demo Versions Support info This page demonstrates the SWS ability to configure read and write GPIO pins on the SN8200 Select GPIO pins O Pins Orin M ring M pinto O Pint O Pin12 O FPinaz O Pin 46 0 o 0 p o Je m Configure GPIO Select mode for the pins O Input Floating input Pull Down O input Pull Up output Open Drain output Push Pull Configure GPIO Write GPIO Read GPIO Result ok Select more pins and click on Read GPIO Green background means value 1 yellow means 0 and white means not selected Murata SyChip Page 27 of 42 SN82xx SW Design a subsidiary of File Edit View History Bookmarks Tools Help E sna2xx Demo e sn8200 com ce WiFi STA status WiFi scan and join STA IP Configuration GPIO management UART management Versions Support info Select GPIO pins O pins O Pin7 M Pin 10 M Pin 11 O Pin 42 PP RE ET Pp m Configure GPIO Select mode for the pins O Input Floating
13. webroot screen can be found in Section 5 1 1 4 The contents are listed below CASNICISNIC EWWIWebroot Folder LO javascript i et Sliquery 1 3 2 min js jquery 1 3 2 min js conf Blison2 min js H main js gt x murata ap E index html 2 index html conf E support html E ap_ctrl html j index html E support html 7 wifi_sta_scan html i iE contentType conf 3 FlFavicon ico j zj EE gpio html Eie html ip config html i main css E uart html i wifi_scan html F t wifi_sta_status html ME wifi version html For applications using the UART serial interface protocol 5 the web content files are located in lt Jnstall folder gt SNIC_UARTWwebroot The firmware file SN amp 2xx SNIC EWW xx _xxxxx bin under lt Install folder gt SNIC_EWWBinary already contains all sample web files under lt Jnstall folder gt SNIC_EWW Webroot The firmware file SN82xx SNIC EWW xx xxxxx_webroot bin contains all sample web files under lt nstall folder gt SNIC_EWW Webrootl 4 1 Web files Web files include all html xml css javascript icon and picture files etc File types acceptable are listed in the file contentT ype conf see 4 2 If for any reason a web file needs special treatment a conf file should be created for that web file see 4 3 Murata SyChip Page 16 of 42 evcnip SN82xx SW Design a subsidiary of If a web file is ASCII it will be in ASCII format within
14. 123496 89ABCDEF 9123496 G9ABCDEF 9123496 B9ABCDEF 9123496 89ABCL FO123496 89ABCDEF 9123496 789ABCDEF Connected 0 01 58 Auto detect 19200 8 N 1 5 1 1 3 2 Send break signal before sending UART data Click on Send break then write to UART button The SN82xx will send a break signal first then send the data to UART The baud and length of the break signal can be specified which can be different than the actual UART data transfer parameters 5 1 1 3 3 Read data from UART to web browser Click on Read from UART button That causes the SN82xx to read the UART port and send the data back to the web browser Press any printable keys on the Hyper terminal the web page should show the keys when one of the three ending condition is triggered Murata SyChip Page 31 of 42 ip SN82xx SW Design a subsidiary of File Edit View History Bookmarks Tools Help F SN82xx Demo e p sn8200 com g ogl P 4 Pe A WiFi STA status WiFi scan and join STA IP Config GPIO demo UART demo 12C demo Versions Support info This page demonstrates the ability to configure read and write to UART interface on the SN8200 UART1 x Baud 921600 M Databits 8 No parity v Stopbits 1 m No flow control UART Config Write to UART data Murata SN8200 ascii O Hexdecimal C Bulk write 950 bytes Write to UART Send break then write to UART Read Length decimal 15 Timeout decimal in seconds 20
15. Append MAC to SSID Domain name sn8200 com 80 jip 172 31 0 1 Subnet mask 255 255 0 0 Gateway 172 31 0 1 STA Config SSID to connect DHCP clier Hostname Security Open IP C Append MAC to hostname ay Pass phrase Gateway Internal web server Port 80 Retry itvl sec Max itvl Netmask Roaming Trigger Select source Firmware file Browse CASNICISNIC_UART Binary SN8200 SNIC UART 03 35101 bin Firmware file may be under lt Install folder gt Binary lt Install folder gt 5NIC_UART Binary or lt Install Folder gt SNIC_EW W Binary Select target firmware file Mouse over here to see tips Save Firmware Connected Figure 4 Customize firmware parameters e Modify any parameters for the following o AP mode parameters 3 2 1 o STA mode parameters 3 2 2 e Select or type in the name of the target firmware file name e Click on Save Firmware button A message should pop up to indicate success or failure e Continue to the Section 3 3 to import web contents into the newly generated Firmware 3 2 1 AP mode parameters The Soft AP Config block specifies the startup parameters for the soft AP interface e Soft AP on Soft AP will be on or off at startup e DNS server if enabled it will return IP address for the value specified in the Domain name field default is sn8200 com e DHCP server if enabled it will assign IP addresses to devices associated with the soft AP e Web server if
16. FOR EZ WEB WIZZARD eise ese sees ese ese ee ee se ee ee ee ee ee ee ee ee ee de ee ee ee ee ee ee ee ee ee ee ee ee ee ee 7 22 EMBEDDED EZ WEB WIZZARD FRAMEWORK ese sesse ee ee ee se ee ee ee se ee ee ee ee ee ee ee ee ee ee ee ee ee de ee de ee ee ee ee ee ee ee ee ee ee ee ee 8 2 2 1 Co fig ration ad Ole ei AE EE E 9 222 SOAP mode ee ee EE De Ee oe AE Pe 9 2 2 2 1 Simple DHCP SErver OE N ER ME OR OE EEU 9 222 2 Simple DNS Server RE RE EE RE EE ER AE RE KO Ee 9 2 2 3 STA MOUS oe senses Ee Hcl aceasta a hc ces Se cee hc cee 9 2 2 4 Embedded web server iis see ees Ee ees se ge Ee GE SEEK Rene Se ee eke ee se ee ke ke EE ke Re Een EN 9 2 2 4 1 Embedded HTTP Server ccccccssssssssscssssssccssccsssssccessecssssscsscccssecsscsssessssscsssescessescssnsesesssssssssenseonss 10 2 2 4 2 JSON Parset AE EE EE EE TE REENEN EDERE NIRE NSE 10 2 2 5 Web eontents ee GE canes Ee EDE Dee e ee Ee Ge ee ee EE Gee De Ee 10 3 SNIC MONITOR SE EE OE EE N EE EE ER 11 3 1 SETTING UP THE SN82XX EV K FOR WINDOWS ees ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 11 3 2 SPECIFY PRODUCT SPECIFIC CONFIGURATIONS ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee err r rtr rtr ee ee ee ee ee ee ee ee ee 11 3 2 1 AP ie ee AS OE EE N EE ER N S 12 322 STA mode IE AR AO AE N EE sues 13 33 IMPORTING WEB CONTENTS TO EZ WEB WIZZARD FRAMEWORK iese sesse ese ee ee ee ee ee ee ee ee ee ee ee ee ee
17. Hotmail Get more Add ons EE sne2xx Demo my Pager Safety v Toos WiFi STA status WiFi scan GPIO demo Soft AP Versions Support info WiFi STA Status Status MAC address SSID in network D00BECO0000E TXIK Leave DUK J Get RSS 2 Internet far 100 Murata SyChip Page 35 of 42 svcnip SN82xx SW Design a subsidiary of The page is different than the one from soft AP because the index html in the x murata sta folder is different than the one in x murata ap Click on the WiFi scan tab The page only shows the AP list without Join functionality This is served by the file Webroot x murata sta wifi_sta_scan html SN82xx Demo Windows Internet Explorer Go za 10 1 2 77 x Bea x File Edit View Favorites Tools Help x Convert P select vy Favorites 5 g Suggested Sites Free Hotmail Get more Add ons FE sns2xx Demo RE den Pager Safety Toos WiFi STA status WiFi scan GPIO demo Soft AP Versions Support info Available WiFi networks SSID Channel BSSID Signal dBm TIK 001D7EEA164C Murata WS 00000F 000B6C00000F RFM80211B 00904B36B4C2 RFM_GUEST_EXT OOSEF252E 488 vwlan2007 O000D0B3DAB46 Murata WS F4109F OOOBSCF4109F RFM80211b 001CDF102B2B MY_AP_SSID 001839710EBB WSN Default CO3FOE9202B8 Internet The Soft AP tab allows user to tum soft AP on and off If the soft AP is turned off then the only way to access the SN82x
18. SN82xx firmware Open the SNIC monitor and click on the W button Select the web root folder and the firmware file to be imported Click on Import web files to firmware button If the popup window shows Firmware file updated then the import is successful If the firmware file size after the import exceeds the flash size an error message will popup Murata SyChip Page 19 of 42 WSvChip SN82xx SW Design a subsidiary of FETA mn SyChip SN8200 SNIC Monitor File Edit View Tools Window Help NCF ge ii Web configuration Select web root folder CASNICISNIC EWWIWebroot Select firmware File to update CASNICISNIC EWWIBinaryl5N8200 SNIC EWWIO1 31311 bin Firmware file may be under lt Install folder gt Binary lt Install folder gt SNIC_UART Binary or lt Install Folder SNIC EWWIBinary tag to web_import log Import web Files to Firmware Disconnected Figure 5 Import web files To see import activity log or check for error check the Log to web_import log checkbox before the actual import A file web_import log should be created under the Webroot folder after the import For example following is the log entry for x murata ap index html Web file C SNIC SNIC_EWW Webroot x murata ap index html Meta file C SNIC SNIC_EWWWebroot x murata ap index html conf URL index html Content Type text html charset ISO 8859 4 Extra header Date Tue 15 August 2012 08 12 31 GMT Content Langua
19. URIs e Bind a specified URI to AP or STA interface only so that HTTP request for that URI is only permitted for that interface SNIC monitor enables the developer to use the same URI to retrieve interface specific contents e g index html may refer to different resources depending on whether the HTTP request is received from the AP or STA interface This process is detailed in Section 4 Murata SyChip Page 14 of 42 Evcnip SN82xx SW Design a subsidiary of 3 4 Downloading the firmware After the firmware is imported with web files and configured with the product specific configurations click the F button on the SNIC monitor to download the image to the SN82xx EVB See Section 4 8 for a detailed example Murata SyChip Page 15 of 42 evcnip SN82xx SW Design a subsidiary of 4 Sample application and web page customization The sample web page contents for the default firmware image are provided in the release package The jQuery library is used for dynamic web page control The web content files are located in lt Jnstall Folder gt SNIC_EWW webroot or lt IJnstall Folder gt SNIC_EWWwebroot1 folder The lt Jnstall Folder gt is the folder the package is extracted to e g C SNIC Webroot is another version of the sample web content that shows a totally different look and feel Following screen shots are mainly for webroot which covers all EWW APIs Webroot demonstrates a subset of the APIs One example of
20. Z Web Wizzard development platform configuration is as shown in Figure 2 Murata SyChip Page 7 of 42 Evcnip SN82xx SW Design a subsidiary of FETA Host Development Kit SN8200 EVB for SNIC Monitor Embedded web server Figure 2 EZ Web Wizzard development platform 2 2 Embedded EZ Web Wizzard framework The EZ Web Wizzard framework supports simple web services SWS which provide the means by which web based applications can be executed onboard SN82xx to control the module and any associated sensors and peripherals An embedded web server retrieves the resources specified by incoming HTTP requests including processing of SWS specific Request URIs to perform the following e ExecuteWiFi specific actions such as scanning for available APs e Perform IP network configuration and management e Configure and control peripherals connect to SN82xx through GPIOs I2C UART etc SN82xx can function as both AP and STA at the same time HTTP clients can communicate with the embedded web server through either the AP or STA interface of the SN82xx The EZ Web Wizzard platform permits the application developer to limit access to a specific web page to any of those two interfaces The block diagram for the embedded framework is shown below SN8200 Figure 3 EZ Web Wizzard embedded framework for simple web services SWS Murata SyChip Page 8 of 42 Evcnip SN82xx SW Design a subsidiary of 2 2 1 Configuration function EZ Web Wizza
21. application specific web based control enabling the creation of wireless IP capable nodes in a simple and straight forward manner This document describes the EZ Web Wizzard specification for developing SN82xx applications with the SN82xx EVK using HTTP HTML CSS javascript and JSON 1 1 Terms The term APSTA mode refers to the capability to simultaneously support both WiFi AP and STA modes of operation The term IP address in this document refers to IPv4 IP address 1 2 References 1 Fielding R et al Hypertext Transfer Protocol HTTP 1 1 RFC 2616 June 1999 2 Crockford D The application json Media Type for JavaScript Object Notation JSON RFC 4627 July 2006 SyChip SN82xx SNIC EVK User Guide SyChip SN82xx EZ Web Wizzard Simple Web Services URIs SyChip SN82xx SNIC UART Serial Interface User Manual SyChip SN82xx SNIC SPI Serial Interface User Manual Murata SyChip Page 6 of 42 evcnip SN82xx SW Design a subsidiary of FETA 2 EZ Web Wizzard Development Platform The EZ Web Wizzard development platform consists of two major components the SNIC monitor and the embedded web server The SNIC monitor runs on a Windows PC and provides the mechanism to perform the following e Generate customized firmware image for SN82xx based on application specific configurations and custom web pages e Download that firmware image to the SN82xx WiFi network controller mod
22. ating web image Make sure the HW devices connected to SN820x are all in idle state when doing a web upgrade Then issue the http lt Domain gt webupg URI to access the upgrade web page User will be prompted in the web browser to enter a web image file which will be sent to the SN8xxx over the air and update the web content inside the SN82xx The upgrade operation will erase any existing web page However the http lt Domain gt webupg URI should always work If for some reason the update fails ensure that the web browser is connected to web server in SN820x and try the command again Web update should take effect immediately no reset required Type in http lt Domain gt e g http sn8200 com in the web browser the updated page should appear Murata SyChip Page 39 of 42 svcnp a subsidiary of File Edit View History Bookmarks Tools Help Web content upgrade SN82xx SW Design 4 ct sn820D com wEbuNg as B htaccess example P Web content upgrade ES God NEE Murata SyChip Page 40 of 42 Evcnip SN82xx SW Design a subsidiary of 6 Third party licensing information The demo application uses the following open source and vendor specific libraries e FTDI libftdi libusb open source driver e FreeRTOS open source RTOS e LwIP open source network stack e ARM GNU open source gcc toolchain e STM32F 1x library e Cortex M3 CMSIS e Broadcom WICED SDK e jQue
23. button on SNICMonitor if it is connected or close the program to free the serial port Note to re enable the SNIC serial protocol one needs to do a Reset to factory default under the Versions tab on the web page Open a hyper terminal or other serial console program Choose the same serial parameters as in the web page and connect to the serial port Murata SyChip Page 29 of 42 Meer SN82xx SW Design a subsidiary of FETA COM20 Properties Port Settings Bits per second EAEN i Data bits Parity Stop bits Flow control 5 1 1 3 1 Send data to UART from web browser On the Laptop PC that runs the web browser click Write to UART button Default data should appear on HyperTerminal The data is sent from the web browser to the SN82xx which then output them to the UART interface 20 HyperTerminal File Edit Yiew Call Transfer Help DE gs DA Murata SN8200 Connected 0 00 26 Auto detect 19200 8 N 1 Check the Bulk write 950 bytes and click Write to UART This is max number of bytes that can be written in one write operation If more than 950 bytes of data needs to be written to UART the web application should fragment the data The embedded webserver currently does not support chunk encoded incoming message Murata SyChip Page 30 of 42 ip SN82xx SW Design a subsidiary of 20 HyperTerminal File Edit View Call Transfer Help DE 53 OAR FO
24. eb content only lt Domain gt can be sn8200 com or user configured AP domain name if using the soft AP interface or the STA s IP address if using the STA interface The following steps must be followed 1 Use the SNICMonitor to create the web image 2 Access URI http lt Domain gt webupg with browser enter and upload the new web image Murata SyChip Page 38 of 42 WSvChip SN82xx SW Design a subsidiary of anu Rata As an example use case after a product has been deployed to end customer the web pages for the soft AP s web server or the STA s internal web server need to be updated This does not upgrade the firmware but only the web content 5 3 1 Creating web image The web image file can be generated using the SNICMonitor s Web configuration window Select the webroot folder in the first edit box and then enter a web image file name in the second edit box The web image file can be non existing or existing Click Make web image button to create update the web image file as specified A SyChip SNIC Monitor File Edit View Tools Window Help ds mm C F SN8200 Osnez05 SNIC root directory Browse C SNIC rie Web configuration Firmware File Select web root Folder cvs SN8200 main WwICED 9 C SNIC SNIC_EWW Webroot1 Select firmware or web image to update J web1 img C Log to web_import log Import web files to Firmware M ke web image Disconnected 5 3 2 Upd
25. ee ee ee ee ee 14 3 4 DOWNLOADING THE FIRMWARE ees ese se se sesse se se ee ee se se ee se se ee ee ee ke ke ke ee ke Re Eeee EEEE Re Re EEEE EEEE EEEE EEEE ee ee ee ee ee ee ee ee ee ee 15 4 SAMPLE APPLICATION AND WEB PAGE CUSTOMIZATION sees sesse sees sesse sees se ee ee es se ee ee es 16 4 1 WEBEIEES DE cr ED Ee EE A EE GE ie ED A E De eee 16 4 2 CONTENT VPE CONE EED ee sec cau coe nea Ge T Ed sau abs ene E ue fu GE EE ee ee A 17 4 3 SCONDB FILE e E E SNE E E A OR EE OR RE OE RO EE 18 4 4 FOLDER X MURATA AP AND X MURATA STA eise esse see see ee ee ee ee ee ee se ee ee ee ee ee Re ee ee ee ee ee Re Re ee ee ee ee Re ee ee ee ee ee ee ee 18 4 5 FORDER JAVASCRIPT EE EE Ge ED ee ee ee Dee RO EE Ge ee GE E ee ee OE eek ee ee 18 4 6 COMPRESSING WEB FILES Ete ee ee el eed ED EG ee Gees ee ee Re GE gee deadavaradesuca ee OG ee SE Ee ees 19 4 7 IMPORTING WEB FILES INTO FIRMWARE 0 ccccssssssscsescscsssesseeseseseseseeeeesesesesuseseaeaueususeauauauauauaeauenenees 19 4 8 DOWNLOADING THE FIRMWARE ee esse esse see ee se ee ee ee ee ee ee ee ee ee ee ee de ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 20 5 RUNNING THE SAMPLE WEB APPLICATION eee sesse ee sesse ee esse se ee es se ee ee es se see se ge ees se ee ee se ee ee 22 5 1 1 Soft AP ER EE EE EE RE EE EEE EE E EE E EE 5 1 1 1 Wifi and network management 5 1 1 2 GPIO dem is sc lt deccascssezessscisecasecseconsecicaciaacaaconsess wre 5 1 1
26. ew History Bookmarks Tools Help 7 SN82xx Demo www sn8200 com wvye Google WiFi STA status WiFi scan and join STA IP Config GPIO demo UART demo 12C demo Versions Suppor info Versions Firmware RTOS Network stack 02 31091 FreeRTOSv7 1 0 LWIPv1 4 0 rc1 Resetto factory default Murata SyChip Page 34 of 42 Ip SN82xx SW Design a subsidiary of Click on Support info tab served by the file Webroot x murata ap support html This is an example of showing static content SN82xx Demo Mozilla Firefox Wow File Edit View History Bookmarks Tools Help E SNa2xx Demo sn8200 com G 3 Google Pl A 7 in WiFi STA status WiFiscanandjoin STAIP Config GPIO demo UART demo 12C demo Versions Support info Murata Dallas Module Group 4441 Sigma Road Dallas TX 75244 Phone 972 233 2903 www murata ws com Iv e 5 1 2 STA web pages If the STA has been connected to an external AP and a valid IP address has been obtained then devices from the same network can access the web server from the STA interface For example on a web browser typing in the STA s IP address would get the following web page served by x murata staNindex html SNB2xx Demo Windows Internet Explorer G J gt B 10 1 2 77 kee saod ef File Edit View Favorites Tools Help X Convert X P Select gly Favorites g5 H Suggested Sites Free
27. firmware file for SN82xx This file will be the input to generate a new binary firmware file to include any customized parameters Execute the following steps to generate a new firmware suited for the customer platform Open SNIC monitor and click on the green C configuration button on the tool bar Click the Browse button to select source firmware file and click on Load button This will populate the above fields according to the file After loading the Save Firmware button should be enabled The upper left area is interface configuration If UART is to be used in the customer web application modify the parameters for UART to the same as the device that connects to UART Otherwise leave it as is If the UART is used by the web based EZ Web Wizzard application ensure that it is not also used by the serial interface protocol over UART Do not click on SPI tab for EWW application because it is for a host application that communicates with SN82xx via SPI interface 6 Murata SyChip Page 11 of 42 svcnip SN82xx SW Design a subsidiary of if SyChip SNB200 SNIC Monitor File Edit View Tools Window Help NC FMS wT ET 5 Ol pa ms Firmware Config UART Config SPI Config Soft AP Config Baud 621600 v Parity None Soft AP on DNS server DHCP server V Web server r f P Databits 8 V stop bits 1 Country code US Security Open l EE Flow control None Channel 3 Pass phrase SSID Prefix Murata W5
28. ge mi en 4 8 Downloading the firmware After the firmware is imported with web files click the F button on the SNIC monitor Figure 6 and perform the following 1 Select the correct SN82XX module e g SN8200 or SN8205 2 Specify the SNIC root folder which is the lt nstall Folder gt and the firmware file to download 3 Click Download button 4 A command window should popup as shown in Figure 7 Wait about 12 seconds until the window shows Press any key to continue If the firmware file size is bigger than the SN82xx s flash size an error message is displayed 5 Press the white Reset button on the EVB to run the new firmware Murata SyChip Page 20 of 42 ie ye hip SN82xx SW Design a subsidiary of i SyChip SN8200 SNIC Monitor File Edit View Tools Window Help aN eE if Firmware Download svecon O SN8205 SNIC root directory CASNIC Firmware File Browse C SNIC SNIC_UART Binary 5N8200 SMIC UIART 03 35101 bin Firmware file may be under lt tastallfolder gt Binary lt Install folder gt SNIC_UART Binary or lt Install Folder gt SNIC_EWW Binary QETE Disonnected Figure 6 Download firmware to SN82xx ex C WINDOWS system32 cmd exe Open On Chip Debugger 6 6 6 dev snapshot 2611 12 05 16 13 gt Licensed under GNU GPL v2 For bug reports read http openocd sourceforge net doc doxygen bugs html Press any key to continue m Fig
29. how the IP address information of the STA interface That IP address may then be used to access the web server through the STA interface E SN82xx Demo e sn8200 com WiFi STA status WiFi scan and join STA IP Config GPIO demo UART demo DHCP gt Static IP Hostname no change erase E Append last 3 bytes of MAC to hostname Configure IP Get IP info Result ok IP 192 168 10 100 Gateway 192 168 10 10 Subnet Mask 255 255 255 0 Hostname 5 1 1 2 GPIO demo Murata SyChip Page 25 of 42 C 4 Google 12C demo Versions Support info ip a subsidiary of SN82xx SW Design GPIO demo tab is served by the file Webroot gpio html Check on some pins and configure them to be output by clicking on Configure GPIO SN82xx Demo Mozilla Firefox Woe File Edit View History Bookmarks Tools Help EE sna2xx Demo e sn8200 com C s3 oogle WiFi STA status WiFi scan and join STA IP Config GPIO demo UART demo 12C demo Versions Support info This page demonstrates the SWS ability to configure read and write GPIO pins on the SN8200 Select GPIO pins O pins O Pin7 M Pinto O Pin 11 fo o 0 Configure GPIO Select mode for the pins O Input Floating Input Pull Down Input Pull Up Output Open Drain O Output Push Pull Configure GPIO Write GPIO Read GPIO Result ok Change the
30. image bmp b gif image gif b jpg image jpeg b jpeg image jpeg b png image png b ico image x icon b mp3 audio mpeg b mpeg video mpeg b mpg video mpeg b avi video x msvideo b wm video x ms wm b Murata SyChip Page 17 of 42 evcnip SN82xx SW Design a subsidiary of 4 3 conf file The file with conf as extension is to specify special treatment for a particular web file e g abc html conf would be applied to the file abc html Special treatment mainly includes Specify a different URL than the default URL aliasing Specify a different Content Type than that specified in ContentType conf Add other HTTP header including way to compress web file The way to specify a different URL is to specify X MURATA URL in the conf file For example if the follow entry is in the oldName html conf a request for newName html will get a response with the content of oldName html X MURATA URL newName html If a web file needs a different Content Type than the default Content Type defined in ContentType conf or a web file needs any extra HTTP headers just add the Content Type line and list the extra headers in the conf file For example the index html conf under Webroot x murata ap has the following content Content Type text html charset ISO 8859 4 Date Tue 15 August 2012 08 12 31 GMT Content Language mi en This cause the change of the Content Type to include an extra charset ISO 8859 4 and two extra headers Da
31. ip Page 18 of 42 evcnip SN82xx SW Design a subsidiary of 4 6 Compressing web files The gzip utility can be downloaded by a web search on gzip download The command to compress a file is gzip lt filename gt The original file will be removed after the command and a new lt filename gt gz will be created If for any reason the file needs to be recovered use the command gzip d lt filename gt gz The version of gzip in this sample development is gzip 1 2 4 Win32 02 Dec 97 which is the output of gzip help Rename the lt filename gt gz back to lt filename gt Since the file type is changed from ASCII to binary an extra step is needed to override the default setting defined in ContentType conf Create a file named lt filename gt conf that contains at least the following header Content Encoding gzip Other headers can also be added in this conf file if needed See 4 3 For example the javascript query 1 3 2 min js is actually a binary file It is produced by running the gzip utility Due to the fact that the jquery 1 3 2 min js is a not an ASCII file the jquery 1 3 2 min js conf is needed to tell the system to include the extra Content Encoding header in HTTP response so that the web browser can decompress it properly 4 7 Importing web files into firmware Once all the web files and config files are in place the SNIC monitor tool can be used to import all the files under Webroot into the
32. mple DNS server for the AP interface to permit an HTTP client to connect to the EZ Web Wizzard without needing the actual IP address of that interface Typical usage scenario is as follows 1 2 User associates the control device to the SN82xx soft AP and obtain IP address to that interface User uses a web browser in the control device to connect to EZ Web Wizzard using the domain configured for the module e g sn8200 com 3 User configures the WLAN parameters or control SN82xx through the web contents supported by the AP interface 4 User access the STA interface after successfully joining that WLAN 2 2 3 STA mode SN82xx can function as a STA and join another WLAN and access to that network EZ Web Wizzard provides a DHCP client for the module to obtain the IP address for the STA 2 2 4 Embedded web server The EZ Web Wizzard embedded web server runs onboard the SN82xx and supports the following Murata SyChip Page 9 of 42 evcnip SN82xx SW Design a subsidiary of e Embedded HTTP server and JSON parser to process HTTP requests e SN82xx specific SWS URIs to control IOs and peripherals connected to the SN82xx module 2 2 4 1 Embedded HTTP Server The embedded HTTP server runs onboard SN82xx It can process the HTTP requests received from the AP and STA interfaces of the SN82xx subject to the following constraints e Persistent connections are not supported e Contents for SWS specific URIs must be transported usi
33. ng JSON as specified in 4 e Absolute path URIs must be used 2 2 4 2 JSON Parser The JSON parser runs onboard SN82xx to process contents for the SWS specific Request URIs The JSON object transferred by the POST operation must be URL encoded and there cannot be any unnecessary spaces between any components of the JSON object 2 2 5 Web contents EZ Web Wizzard enables the application specific contents to be stored onboard SN82xx The application developer creates the necessary HTML CSS and javascript files and converts them to the EZ Web Wizzard framework using SNIC monitor 3 3 Murata SyChip Page 10 of 42 Evcnip SN82xx SW Design a subsidiary of 3 SNIC monitor The SNIC monitor runs on a Windows XP Service Pack 3 or Windows 7 enabled computer It provides the following capabilities Setup product and deployment specific configurations such as network and WLAN access parameters Import into EZ Web Wizzard framework web based contents described by HTML CSS javascript and JSON Download firmware to SN82xx module 3 1 Setting up the SN82xx EVK for Windows SNIC monitor must be installed along with the drivers for the SN82xx EVK The procedures for those operations are detailed in SN82xx SNIC EVK User Guide 3 3 2 Specify product specific configurations Application developers can modify the firmware startup parameters to suit their needs The default software package released by Murata has a prebuilt binary
34. rd provides an API to setup various product specific configurations The following parameters may be specified e Soft AP parameters o WLAN parameters such as SSID and WLAN security type and key o DHCP server parameters such as subnet mask IP address for the AP etc o DNS domain string e STA parameters o WLAN parameters such as SSID and WLAN security type and key o IP networking parameters such as address configuration by static IP or DHCP o Hostname string advertised to the DHCP server if any All of those parameters can be configured by SNIC monitor and stored in the SN82xx NVM See 3 2 for details 2 2 2 Soft AP mode SN82xx can function as a soft AP which is typically used to specify the WiFi parameters for connecting to a specific WLAN It may also serve as another interface for administering and controlling a Wireless Sensor Network WSN EZ Web Wizzard provides the following AP specific functions e Simple DNS server to connect to the web server through the AP interface e Simple DHCP server to assign IP addresses for the WLAN controlled by the soft AP 2 2 2 1 Simple DHCP server EZ Web Wizzard provides a simple DHCP interface to assign IP addresses for devices associated with the soft AP The simple DNS server does not store the MAC address and IP addresses association so a different IP address will be assigned to the same STA if it sends multiple DHCP requests 2 2 2 2 Simple DNS server EZ Web Wizzard provides a si
35. ry The means for obtaining the licenses and sources for those components is located in lt Jnstall Folder gt License amp Open Source Related Murata SyChip Page 41 of 42 Evcnip SN82xx SW Design a subsidiary of END Murata SyChip Page 42 of 42
36. s connection Failed attempt will result in next attempt at T min 2 T Tmax The unit of timeout is second s and the range is from 0x0000 OxFFFF The value of 0 has a special meaning for T1 which indicates no retry Note this is only supported in SN82xx EVK and not SN82xx EVK Max itv Tmax maximum retry interval SN82xx waits to retry joining If T1 10 and Tmax 1000 the following intervals seconds will be set for retries 10 20 40 80 160 320 640 1000 1000 1000 Either a Join request or a Leave request from other interface e g web will stop the retry process Note this is only supported in SN82xx EVK and not SN82xx EVK Internal web server if enabled it will serve pages for the STA interface Default is enabled Port HTTP internal web server port default is 80 DHCP client if checked the module will send DHCP request out to obtain IP after connecting to AP IP Gateway and Netmask if DHCP client is not checked specify the static IP info here Hostname prefix this is the prefix of the hostname that will be advertised through the DHCP host name option 12 Default value is NUL string which means no hostname is used Append MAC to hostname if checked the hostname will be the hostname prefix plus the last 3 bytes of the MAC address otherwise the hostname prefix will be used as the hostname WPS configuration click on WPS button a window will pop up for user to enter WPS parameters o Click
37. te and Content Language are added to the HTTP response 4 4 Folder x murata ap and x murata sta Folder x murata ap contains web files and conf files that are accessible only from the soft AP interface and fold x murata sta contains web files and conf files that are accessible only from the STA interface This allows the same URL be used by different WiFi interfaces These are reserved folders used by the EZ Web Wizzard framework to control access to the web files stored under these folders These folders are logical entities and are not treated as part of the URL i e the URL for files under these two folders does not contain the prefix x murata ap or x murata sta For example URL for x murata ap support html is support html If a web file name for one interface must be the same as the web file name for the other interface put those two files with the same name into the two separate folders For example there is a distinct index html in each of the two folders so that the home page for STA and soft AP can be different Same is true for support html and gpio html 4 5 Folder javascript This folder contains all javascript source code It is not a reserved folder and it is part of the URL User can change the folder name or move the script files under it to other folders For bigger sized script files it is recommended that the files be compressed before being imported into the firmware See the next section for details Murata SyCh
38. the SN82xx firmware which occupies flash space So if an ASCII web file is big in size it is recommended to be compressed before being imported into the SN82xx firmware See 4 6 Files directly under the Webroot folder are accessible from both soft AP and STA interface For example wifi_sta_status html is directly under Webroot so it can serve requests coming from both interfaces If a web file is designed to be accessible from just one interface it should be put into the special folder of X murata ap or x murata sta See 4 4 The default URL for a web file is the folder plus the web file name For example the main js is under javascript folder so the default URL is javascript main js 4 2 ContentType conf This reserved file lists all acceptable files in the EZ Web Wizzard development environment It must be located directly under the Webroot folder User can add any new file types in this file The first column is the file extension name The second column is the default content type that is going to be assigned to Content Type in the HTTP header The third column is the type of the web file a stands for ASCII b stands for binary html text html a htm text html a Js application javascript a json application json a java text x java source a jar application java archive b class application java vm b CSS text css a txt text plain a xml application xml a dtd application xml dtd a zip application zip b bmp
39. ule The embedded web server runs onboard the SN82xx and supports the following e Embedded HTTP server and JSON parser to process HTTP requests e SN82xx specific URIs to control IOs and peripherals connected to the SN82xx module SN8200 WiFi STA web server TCP IP WiFi KEEP contfol I F _ WiFi I F AP Peripherals E 5 WiFi or P WiFi soft AP an Ethernet I F web server TCP IP WiFi HTTP client2 HTTP client1 J NIFiIF to 7 soft AP Network client2 for peripheral control Network client1 for configuration and peripheral control Figure 1 Example EZ Web Wizzard usage scenario 2 1 Developing application for EZ Web Wizzard EZ Web Wizzard enables web based applications to directly control the SN82xx module and any peripheral or sensor connected to the module The typical application development process is as follows e Develop application specific web enabled applications using HTML CSS javascript and JSON That process is similar to that of designing web pages using web design tools and javascript libraries such as jQuery e Generate the custom firmware using the SNIC monitor to incorporate the web contents and specify any platform specific settings such as I O configurations WLAN parameters etc e Download the firmware to SN82xx using the SNIC monitor A web browser or other HTTP client application may then be used to connect to the embedded web server in SN82xx and control that device The E
40. ure 7 Download complete Murata SyChip Page 21 of 42 tt ye hip SN82xx SW Design a subsidiary of 5 Running the sample web application Connect power to the EVB either through the mini USB connector or through external 5V power supply The SN82xx will startup the soft AP On a Laptop PC or any web capable device turn on WiFi and scan for the soft AP s SSID Murata WS XXXXXx the xxxxxx is the last 3 octets of the EVB s MAC address The SSID and other parameter of the soft AP can be configured using the SNIC monitor s Firmware config window See for details After joining the soft AP the laptop should get IP address assignment by the soft AP which is 172 31 0 xx by default unless it is modified by the Firmware config Open a web browser such as Firefox and enter sn8200 com The following sections illustrate the functionalities of the sample web files which are imported into the SN82xx firmware By modifying the web files and running through Section 4 7 4 8 and this section developer can exercise the design changes instantly Note to test the GPIO or the UART functions it does not require the STA to connect to any AP 5 1 1 Soft AP web pages 5 1 1 1 Wifi and network management Initial main page is served by x murata ap index html which invokes wifi_sta_status html showing STA is not connected to any network SN82xx Demo Mozilla Firefox BAX File Edit Vie
41. w History Bookmarks Tools Help Elskeao Demo e sn8200 com Cc re h F A WiFi STA status WiFi scan and join STA IP Config GPIO demo UART demo 12C demo Versions Suppor info WiFi STA Status Status MAC address SSID Not in network OOOBECOOOOOE Click on WiFi scan and join tab which is served by the file Webroowifi scan html The user can join the WiFi network using one of the following methods o WiFi protected setup WPS using either the PIN or virtual Push Button method o Manual configuration by selecting the AP and entering security information Murata SyChip Page 22 of 42 SvChip SN82xx SW Design a subsidiary of TE SN82xx Demo Mozilla Firefox BAXI File Edit View History Bookmarks Tools Help E snezxx Demo amp sn8200 com C B cooge PT A Al WiFi STA status WiFi scan and join STA IP Config GPIO demo UART demo 12C demo Versions Support info WPS Push Button Pin WPS Connect Pin can be 0 4 7 or 8 digits If 0 digit empty pin firmware will use WPS default pin configured in NVM If 7 digits firmware will calculate the checl digit If 8 digits make sure the 8th digit is the correct checksum Scan and join Available WiFi networks F Please enter password and join a network Password SSID Channel BSSID Signal dBm UK s 001D7EEA164C 5 Con Murata WS F41137 3 000B6CF41137 50 E Pegsun wee Murata ws 416C00
42. x is via the STA web server The AP on with params button is to change the soft AP s parameters at run time The soft AP will be reset with the new parameters The parameters will be saved in NVM if Persist is checked which will override the soft AP parameters shown in Firmware Config window of the SNICMonitor Murata SyChip Page 36 of 42 Ip SN82xx SW Design a subsidiary of 5 SN82xx Demo Windows Internet Explorer go E htio 10 1 2 77 vlie x File Edit View Favorites Tools Help ww E sne Demo a r dh E page G Toos WiFi STA status WiFi scan GPIO demo Soft AP Versions Support info AP On O AP Of AP On with params Soft AP parameters SSID softap Channel 1 Security Open Phassphrase Persist Not persist Set State On MAC 000B6C417454 SSID Murata WS 417454 Tm R 100 The GPIO management tab and the Versions tab are identical to the soft AP s because the gpio html and wifi_version html are under the common Webroot folder They are shared by both WiFi interfaces Click on Support info it shows a different contact info than the Soft AP s SN82xx Demo Windows Internet Explorer DAR Go EBD hetp y 10 1 2 77 alle SB coole File Edit View Favorites Tools Help ese convert X P Select se Favorites S g Suggested Sites Free Hotmail Get more Add ons Esnez Demo fey B amp
Download Pdf Manuals
Related Search
Related Contents
digital gauge mode Radio Shack 43-1088A Cordless Telephone User Manual Productos de programación en lenguaje C relacionados con - Stumpfix® MODEL # BL-6440 10-338型 取扱説明書 保証書付 ガステーブルコンロ EUROCEL EURO PVC 330 Intel® Chipset Software Installation Utility User`s Manual Einführung in Origin Holmes HM1850 User's Manual Copyright © All rights reserved.
Failed to retrieve file