Hi all,
It looks like I finally have to create a topic (last time when I finished accurately describing my setup and my question - I had a sudden insight and did’t post). My setup consists of two RN-XV modules. One is plugged to a PC via the XBee Explorer Dongle, and the second one is connected to the Arduino Uno ver3 through the DFRobot Xbee Shield.
-
I can communicate with both RN-XV modules through the serial ports using TerTerm or Arduino’s Comm Monitor and other software.
-
I went through the manuals and “first google page search results” including this forum and those popular manuals:
http://www.tinkerfailure.com/2012/02/se … fly-rn-xv/
http://niltoid.com/blog/rn-xv-wifly/
http://www.mohammadissa.com/2013/04/18/ … d-arduino/
http://www.mgisolutions.info/2012/05/ar … orial.html and so on.
And thus after a week I found that the modules don’t work with EAP networks, which was: “Great, so what now, the whole university is running it and it is essential for the project to be able to connect to this particular network”.
- I’m not a programmer, I’m doing physics, engineering physics, and though I’m doing lots of experimental work and hardware integration, building setups, SolidWorks models and stuff - I don’t know python or any other language (my typical approach is to strip down the code to basic commands and use LabVIEW) so please don’t send me to the Github to read some classes description in some libraries, thank you. Neither am I an expert with networks, as you probably understood, I’ve checked the “WPA2-Enterprise” keywords, but that you have some EAPs…oh…
Anyway, back to the actual questions:
First, I’m able to create and ad hoc network with one module and connect to it with another. The module says HELLO to me, the LEDs go green and etc, when I connect through the RN-XV in PC to the RN-XV at Arduino:
<2.38.3> open 192.168.1.1 2000
Connect to 192.168.1.1:2000
<2.38.3> *OPEN**HELLO*CMD
get mac
Mac Addr=00:06:66:50:70:80
So, how do I send/read command to that module? As you see I tried asking for a MAC of the Arduino’s RN-VX, but it returns me the MAC of the PC’s RN-VX.
Second, I wanted at least to repeat other peoples example or to connect via telnet using my laptop’s WiFi (not the RN-VX). So I put everything back:
<2.38.3> set wlan chan 1
AOK
<2.38.3> set ip dhcp 0
AOK
<2.38.3> set wlan ssid adhoc
AOK
<2.38.3> set ip address 169.254.1.1
AOK
<2.38.3> set ip netmask 255.255.255.0
AOK
<2.38.3> save
Storing in config
<2.38.3> reboot
Now with my laptop I see the WiFi and connect to it, it assigns me an IP (as seen in ipconfig) - 169.254.44.136. Windows says “no internet access”, I see bytes transferred in the Status menu. However I’m not able to actually connect to the 169.254.1.1 2000 via telnet. Any ideas what I’m doing wrong?
Thanks in advance