HTTP Commands for the Configuration Access Point (A0)

Similar documents
es-wifi Module Application Note AN20052 Soft Access Point Functionality

Inventek Systems. es-wifi ISM4319-M3-EVB. Quick Start Guide

ISMART Inventek Systems Module Arduino Test. Product Brief

NCR. Wi-Fi Setup Assistant. User guide

RAD XD and RAD XD-WM a/b/g Transceiver with Serial Link Quick Start Guide

Wireless Security Guide (for Windows XP, Windows Vista, Windows 7, Mac OSx)

Billion BiPAC 7700NR2. Setup Guide

WizFi250 Quick Start Guide

Wireless Setup Guide (for Windows XP, Windows Vista, Windows 7 and Mac OSx)

Quick Start Guide NetShair Nano Ultra Portable Wi-Fi Router/Access Point

Contents. 1. Downloading the ios Mobile App Configuration Additional Information... 9 LED indications... 9 Operating the Device...

Part I: External Installation Direction

Wi-Fi Setup Guide TM. Model 7320 Universal Programmable Smart Wi-Fi Thermostat. Leave this Setup Guide with thermostat.

Wi-Fi Settings Guide. Infrastructure Mode

Software Manual Net Configuration Tool Rev. 4.05

The SSID to use and the credentials required to be used are listed below for each type of account: SSID TO CREDENTIALS TO BE USED:

Written By: ONKÖL Documentation Team

ICP DAS IOP760AM FAQ. FAQ Version ICP DAS Co., Ltd

Premiertek AP Mbps Wireless-N Broadband Router Quick Installation Guide

Learn How to Configure EnGenius Wi-Fi Products for Popular Applications

WIFI MEDIA PLAYER QUICK SETUP GUIDE

WF-2402 Quick Installation Guide

OTC Student Wireless Network

Lesson 10. Circuit Boards and Devices Ethernet and Wi-Wi Connectivity with the Internet

The SC receives a public IP address from the DHCP client of the ISP. All traffic is automatically sent out through the WAN interface.

Setup Guide Multi-Link

WLAN Connection Manual SPP-R410. Mobile Printer Rev

C-Assist Set up Guide

Quick Start Guide. Wireless IP Camera. Technical Support QG4_A

54Mbps Pocket Wireless Access Point (WL-330g)

PV-RC300W. WI-FI 1.3M pix Cam Matchbox DVR Quick Guide

The list of Events gives the detail of each modification of a sensor (date and time of the modification, person, setting modified)

How to connect your device using eduroam

11N Wireless USB Adapter User Guide

Connect to eduroam WiFi

Wireless Security Setup Guide

Software Manual Net Configuration Tool Rev. 4.03

PePWave Mesh Connector User Manual

AT Command Version 2.1 Application Note. This document provides information for controlling Ameba through external UART.

HSPA+ WiFi Router with Voice

Wireless Printing Updated 10/30/2008 POLICY. The use of Wireless Networking is not permitted at any site for full client/server networking of Taxwise.

Network Name displays the name of the wireless network your machine is connected to (this says network name when not connected to a network).

The Launch GDS can be updated via a wireless internet connection as well as by USB or cat5 cable.

ICP DAS WF-2571 FAQ. FAQ Version 1.1. ICP DAS Co., Ltd

Click on Close button to close Network Connection Details. You are back to the Local Area Connection Status window.

Application Example (Standalone EAP)

Wi-Fi 16 Relay Module User Manual 21 Aug Wi-Fi 16 Relay Module

Stylitis-10+ WiFi Setup

WiFi 16 Relay Board TCP ModBus Controlled - User Manual 21 Aug WiFi 16 Relay Board TCP ModBus Controlled

User Manual. 300Mbps Long Range Wireless N Ceiling Mount AP

If you ve ordered a (OFFICE SOLUTION) product, you MUST. obtain local connectivity between your devices.

Wireless Setup Guide (for Windows XP, Windows Vista, Windows 7 and Mac OSx) (3GM2Wn)

Wireless Security Setup Guide

Fix Home Network. Thousands of satisfied users! Easy steps to setup Wireless router with Cable or DSL internet service provider.

WIFI DEVICE. User Manual. Shanghai Shuncom Electronic Technology Co., Ltd. Shanghai Shuncom Electronic Technology Co.,Ltd.

Wireless LAN Connection Guide

User Guide of AU-4612

Connecting Your Device to a Wireless Network

Quick Start Guide HGWIP-818

Wireless Troubleshooting Guide

Quick Start Guide HGWIP-811

Basic Wireless Settings on the CVR100W VPN Router

Auburn Montgomery AUM Wi-Fi. Windows 7. User s Guide & System Documentation

Web UI Guide. Overview 5-2 Activating Web UI 5-2 Status Screen 5-3 Main Menu 5-3

11N Wireless PCI Adapter User Guide

How to Configure Your Radio 2011 FRC LogoMotion

Wireless Presentation Adaptor User s Manual

2. If you cannot download Smart Life app, please search Smart Life on Google Play (for Android phone) or Apple Store (for ios phone) to download.

Content. Chapter 1 Product Introduction Package Contents Product Features Product Usage... 2

WRE2206. User s Guide. Quick Start Guide. Wireless N300 Range Extender. Default Details. Version 1.00 Edition 1, 01/2015

Quick Installation Guide

Wireless Setup Instructions for Windows

CaneNet_Wireless Documentation

Billion BiPAC 7800VDOX. Setup Guide

Wireless Setup Guide (for Windows XP, Windows Vista, Windows 7, Windows 8 and Mac OSx)

WAP9112/9114 Quick Start Guide

Quick Setup Guide. for Standalone Omada Access Points. EAP110 / EAP115 / EAP225 / EAP245 / EAP320 / EAP330 / EAP115-Wall

User Manual DIR-850L. Wireless AC1200 Dual Band Gigabit Router.

9485 PRINTER TABLET SETUP GUIDE

Wi-Fi Direct Guide. Easy Setup Using Wi-Fi Direct. Troubleshooting. Appendix

Xirrus WDS Configuration Guide

TiWi-SL Simple Web Server Demo Quickstart Guide

Yealink T48S Wireless Settings

iconnect625w Copyright Disclaimer Enabling Basic Wireless Security

IpAlarm Module Set Up

The FSC receives a public IP address from the DHCP client of the ISP. All traffic is automatically sent out through the WAN interface.

GET STARTED. E300 Mini WiFi Range Extender / AP / Router

WiPG Presentation Gateway

Index. Dumisani Herman Nhlapo

Quick Installation Guide

GreenEye Monitor. WiFi/Ethernet Setup

Quick Start. AC1600 WiFi VDSL/ADSL Modem Router Model D6400. Package Contents. NETGEAR, Inc. 350 East Plumeria Drive San Jose, CA USA

IT Department. Basic WIFI Troubleshooting on ACC SSID. October 2017

TELST R A E LITE GAT E WAY QUICK START GUIDE

Quick Installation Guide

Yealink T46S Wireless Settings

Yealink T41S Wireless Settings

NetComm Smart Hub 4G Quick Start Guide

Thank you for purchasing the Mobile WiFi. This Mobile WiFi brings you a high speed wireless network connection.

Wireless Setup Guide (for Windows XP, Windows Vista, Windows 7 and Mac OSx)

Transcription:

IWIN SP1701 APPLICATION NOTE Inventek Systems 2 Republic Road Billerica MA 01862 +1 978-667-1962 www.inventeksys.com INTRODUCTION HTTP Commands for the Configuration Access Point (A0) This application note provides instructions for configuring the es-wifi module for WiFi Network Access Point Association via HTTP Commands. The HTTP Commands allow for scanning of Access Points and Associating to an Access Point. These instructions can also be used in a Smartphone, mobile, and embedded Applications. Once the desired Access Point has been found, the module can be set use that Access Point on a future start up by saving the Access Point configuration information to the es-wifi Module User FLASH Memory space. REQUIREMENTS For testing purposes, a simple plug-in called HTTP Requester can be used with Firefox to POST and GET HTTP formatted messages to and from the es-wifi Module. The instruction in the application note can be applied to Inventek System s ISM43362, and ISM43340 es-wifi modules. The es-wifi configuration webserver must be set up and started before using the HTTP Commands to configure the es-wifi module for Access Point Association. To start the es-wifi configuration webserver, use the A0 IWIN-AT Command on the es-wifi Module. es-wifi CONIFIGURATION WEBSERVER SETUP The es-wifi Modules Configuration Soft Access Point can be set up with a unique Name, Password, and MAC Address Name Prefix. Once set up, the Soft Access Point configuration data can be saved the es- WiFi Module s User Configuration FLASH Storage Area. After executing the steps below, the es-wifi Module Soft Access Point will start up, and wait for Access Point Configuration request. es-wifi Soft Access Point Set Up Example Start Soft Access Point Using Default Soft Access Point Name, es-wifi_ap_<mac_address, and Open Security A0\r The es-wifi Soft Access Point steps below are optional, and can be used to create a secure es-wifi Soft Access Point. 2017 Inventek Systems, Inc. All rights reserved. IWIN-SP1701 3/17 Rev 1.0 Page 1 of 5

Set Soft Access Point Security Mode to WPA2-MIXED A1=4\r Set Soft Access Point Password A2=TheSunIsRising\r Set Soft Access Point Name to <Access Point Name_<eS-WiFi MAC Address A2=1,Sunshine\r Start Soft Access Point A0\r //The A0 command is blocking until a network has been joined, it can be exited by sending a Ctrl-Q (0x11) character. Save Soft Access Point Configuration to es-wifi User Configuration FLASH Storage Area Z1\r EXAMPLE HTTP POST and GET MODULE CONFIGURATION MESSAGES HTTP GET The first step in configuring the es-wifi module for Access Point Association via HTTP Commands is to submit a HTTP GET message requesting the es-wifi module to scan for available Access Points. Make sure the es-wifi Soft Access Point has been started before executing any HTTP Configuration Commands. GET Command: GET HTTP://192.168.10.1/ws?SCAN. Where 192.168.10.1 is the es-wifi Access Point server IP Address, and ws?scan is the scan request. Description: This command asks the es-wifi Module to perform a Wi-Fi Access Point Scan and return the scan response in a XML formatted message. Response: <ws_scan <rec=xxx <ssid</ssid <bssid</bssid <rssi</rssi <rate</rate <type</type <sec</sec <band</band <chnl</chnl </rec </ws_scan XXX = Record number HTTP Requester Example: Open Fire Fox and start HttpRequester to send GET HTTP://192.168.10.1/ws?SCAN to the es-wifi module, which will send a HTTP request to the es-wifi Soft Access Point running on the es-wifi module. After executing this command, a response containing a XML formatted es-wifi Access Point Scan results will be return to HttpRequester. Below in figure 1 is an example output from HttpRequester. IWIN-SP1701 3/17 Rev 1.0 Page 2 of 5

HTTP POST Figure 1, Example HttpRequest GET Response. After selecting an Access Point from parsing the es-wifi Module s Soft Access Point Scan XML response from the HTTP GET Command, a HTTP POST command can be used to configure the es-wifi to associate to the selected Access Point. Information needed to complete the POST Command can be filled in with data returned from the HTTP GET Access Point Scan Command. POST Command: POST HTTP://192.168.10.1/connect? ssid=ism_demo&sec=4194310&chan=2&bssid=20aa4b93848b& pwd=ism1234. Where 192.168.10.1 is the es-wifi Access Point Server IP Address, ssid is the name of the Access Point to associate with, sec is the security mode, chan is the Access Point channel number, bssid is the Access Point MAC Address, and pwd is the Access Point Password. Description: This HTTP Command asks the es-wifi Module to set the Logon parameters for the selected Access Point. Security Modes: The follow security modes, table 1, are used to associate the es-wifi Module with an Access Point using a HTTP POST message. IWIN-SP1701 3/17 Rev 1.0 Page 3 of 5

Mode Value Hex Reference Open 0 0x00 WEP 1 0x01 WEP_TKIP_PSK 2097154 0x200002 WPA_AES_PSK 2097156 0x200004 WPA2_TKIP_PSK 4194306 0x400002 WPA2_AES_PSK 4194308 0x400004 WPA2_MIXED_PSK 4194310 9x400006 Table 1, Access Point Security Modes HTTP Requester Example: Open Fire Fox and start HttpRequester to send HTTP://192.168.10.1/connect? ssid=ism_demo&sec=4194310&chan=2&bssid=20aa4b93848b&pwd=ism12345, which will send a HTTP POST command to es-wifi Module Soft Access Point to set the es-wifi Module to Associate to the selected Access Point. In the example above, the Access Point is ism_demo. Below in figure 2 is an example of HttpRequester for the HTTP POST Command. Figure 2, Example HttpRequest POST. IWIN-SP1701 3/17 Rev 1.0 Page 4 of 5

After the above POST Command, has execute to configure the es-wifi module to associate to the selected Access Point, the es-wifi Module s Soft Access Point Web Server will shut down. The es-wifi Module will then connect to the selected Access Point (AP). During this process, messages similar to what is below will be written to the host from the es-wifi Module. A0 [AP ] SSID: es-wifi_ap_020af7d3c49e,6,192.168.10.1 [WEB SVR] Server started [AP DHCP] Assigned AC:FD:CE:90:C6:49 has 192.168.10.100 [JOIN ] ism_demo,10.109.70.1070,0 OK STORING ACCESS POINT CONFIGURATION SETTINGS After the es-wifi module has been configured to Associate to an Access Point, the configuration settings for the Access Point can be save to the es-wifi module s User Configuration FLASH Storage. During the next startup of the es-wifi module, it will reference the User Configuration FLASH Storage area for Access Point Configuration Setting, and use the Access Point Configuration Settings to Associate to the Access Point. USER CONFIGURATION FLASH STORAGE SAVE METHOD Issue a 'Z1' IWIN-AT Command to save the Access Point Network Configuration to FLASH. IWIN-SP1701 3/17 Rev 1.0 Page 5 of 5