Home > Forum > Interface converters > Serial Wi-Fi converter connection to access point
- This topic has 2 replies, 2 participants and was last updated 11 years, 9 months ago da Sergio Bertana.
-
AuthorPost
-
November 22, 2010 at 3: 11 pm #34924AuthorlessIdle
Should I connect an ATC-2000WF serial Wi-Fi converter to an enterprise access point, could you give me some simple information about the steps to be done to connect?
November 22, 2010 at 3: 12 pm #36585Sergio BertanaAdministrator ForumUsing a terminal emulation program set to 9600, n, 8, send the characters $ $ $ to force command mode on the module, the module responds with DCM.
With the command wlan set ssid, define SSID of the wireless network.
With the command set wlan phrase, define the passphrase for WPA and / or WPA2 security.Note: if the SSID or passphrase contains spaces, replace them with $, for example the “yellow brick road” becomes ”yellow $ brick $ road”.
With the command set wlan join 1, you join with the network defined in SSID. Leave channel set to 0 to allow the module to scan all channels.
The command save, saves the configuration in the default file.
When powered on, the module on the serial port will send a report of operations such as:
WiFly Ver 2.18, 02-02-2010
MAC Addr=00:06:66:00:39:94
Auto-Assoc Elsist WiFi chan = 1 mode = OPEN SCAN OK
Joining Elsist WiFi now ..
Associated!
DHCP: Start
DHCP in 16ms, lease = 691200s
IF = UP
DHCP = ON
IP = 192.168.0.37: 2000
NM = 255.255.255.0
GW = 192.168.0.1
Listen on 2000This indicates that it has connected to the access point, the DHCP has assigned the address 192.168.0.37, and the serial port of the module will be connected to port 2000.
August 2, 2012 at 6: 29 am #37356Sergio BertanaAdministrator ForumI add a note to indicate how you can test the operation of the module, I recommend installing our terminal emulation program Toolly. The serial port of the module is connected to a serial port of the PC, the Toolly Terminal utility is connected to the serial port (9600, n, 8).
As seen from this screenshot, when the module is switched on it connects to the WiFi network (See previous message), in the Terminal window connected to the serial port I will see the connection information. In the example, the module has been associated with the DHCP address 192.168.0.78, and the module communicates with port 2000.
Now from another Terminal window (Configured as TCP / IP client) it is possible to open the connection to the module. As you can see when the connection is opened the module sends from the serial * OPEN *. By sending a message to the module, the message is shown on the serial output and vice versa.
Closing the connection from the TCP client on the serial port will send the message * * CLOS and the module is ready to accept a new connection.
-
AuthorPost
- You must be logged in to reply to this topic.