Forum >RN-XV WiFly Module
General

RN-XV WiFly Module

userHead pandora 2013-10-06 21:32:30 11778 Views14 Replies
Hello All,

I've bought RN-XV WiFly Module, when I first tried connect with flyduino and UartSBee V4 (set 3,3v), RN-XV WiFly Module look at wireless network connection in my computer and android phone, when I tried again RN-XV WiFly Module not show in wireless network connection in my computer and android phone. RN-XV WiFly Module led red blink and led green blink. Can you help me?
2025-02-27 14:19:13

Hi, pandora
I have modified the wiki code. The old version has something wrong.
https://www.dfrobot.com/wiki/index.php/W ... ample_Code
 

userHeadPic Grey.CC
2013-10-23 08:46:00 Hi, grey
Now, my wifly setting are correctly.

This is what I did before :
change wifly setting
set wlan ssid ...
set wlan phrase ...
set ip address ...
set ip dhcp 0
set ip gateway ...
set ip remote ...
set wlan auth 4
set ip proto 18
set comm remote ...
set q sensor 0xff
set option format 7
set sys autoconn 250
save
that's what I remember, and I get html page look like attach 01.jpg

change wifly setting again
set wlan join 7
set wlan channel 1
set wlan ssid ...
set wlan phrase ...
set ip dhcp 4
set ip address ...
set ip net ...
set ip gateway ...
set comm remote 0
save
Html page look normal again like attach 02.jpg


What I mean when 'GET /' change ?
I change source code like this:

      inputString.trim();
      if(inputString.indexOf("HTTP") >0)
      {
        //putHTML("test");  // your custom HTML tag
        putHTML(inputString);
      }

when we access ip:port in url browser, screenshoot of the html page look like attach 03.jpg ( show inputString = *OPEN*GET / HTTP/1.1 )
when we access ip:port/test in url browser, screenshoot of the html page look like attach 04.jpg ( show inputString = *OPEN*GET /test HTTP/1.1 )

so, how to use if else when type 'ip:port' in url browser show html page A, or when type 'ip:port/test' in url browser show html page B ?
userHeadPic pandora
2013-10-23 08:46:00 Hi, grey
Now, my wifly setting are correctly.

This is what I did before :
change wifly setting
set wlan ssid ...
set wlan phrase ...
set ip address ...
set ip dhcp 0
set ip gateway ...
set ip remote ...
set wlan auth 4
set ip proto 18
set comm remote ...
set q sensor 0xff
set option format 7
set sys autoconn 250
save
that's what I remember, and I get html page look like attach 01.jpg

change wifly setting again
set wlan join 7
set wlan channel 1
set wlan ssid ...
set wlan phrase ...
set ip dhcp 4
set ip address ...
set ip net ...
set ip gateway ...
set comm remote 0
save
Html page look normal again like attach 02.jpg


What I mean when 'GET /' change ?
I change source code like this:

      inputString.trim();
      if(inputString.indexOf("HTTP") >0)
      {
        //putHTML("test");  // your custom HTML tag
        putHTML(inputString);
      }

when we access ip:port in url browser, screenshoot of the html page look like attach 03.jpg ( show inputString = *OPEN*GET / HTTP/1.1 )
when we access ip:port/test in url browser, screenshoot of the html page look like attach 04.jpg ( show inputString = *OPEN*GET /test HTTP/1.1 )

so, how to use if else when type 'ip:port' in url browser show html page A, or when type 'ip:port/test' in url browser show html page B ?
userHeadPic pandora
2013-10-22 21:48:11 Hi, pandora
I think it is a good idea to attach a screenshot of the html page.
Actually ,I want to know what did you change with your wifly setting.
And if the wifi bee has connected to the router.
In the serial port, it will display the IP address just like the wiki "192.168.x.xx"

What is your mean of the "when 'GET /' change?"
userHeadPic Grey.CC
2013-10-22 21:48:11 Hi, pandora
I think it is a good idea to attach a screenshot of the html page.
Actually ,I want to know what did you change with your wifly setting.
And if the wifi bee has connected to the router.
In the serial port, it will display the IP address just like the wiki "192.168.x.xx"

What is your mean of the "when 'GET /' change?"
userHeadPic Grey.CC
2013-10-22 06:27:57 something wrong in this section, *HELLO*HTTP/1.1 200 OK
there should be no word *HELLO* before HTTP/1.1 200 OK
when i read the document again, see set comm remote <string>, type set comm remote 0, and the browser display a normal html page. ( I might change the set comm remote )

more question grey
how to use if else when 'GET /' change ? I've tried it, but it always stuck.
and how do we know the wifi is connected or disconnected with other device ?
userHeadPic pandora
2013-10-22 06:27:57 something wrong in this section, *HELLO*HTTP/1.1 200 OK
there should be no word *HELLO* before HTTP/1.1 200 OK
when i read the document again, see set comm remote <string>, type set comm remote 0, and the browser display a normal html page. ( I might change the set comm remote )

more question grey
how to use if else when 'GET /' change ? I've tried it, but it always stuck.
and how do we know the wifi is connected or disconnected with other device ?
userHeadPic pandora
2013-10-08 19:36:02 Hi,pandora
It is no necessary for the module to use the library.
With the AT command ,you can connect your wireless easily.
check this wiki: https://www.dfrobot.com/wiki/index.php/W ... U:TEL0067)
it is also the wifi module.

Best,
Grey
userHeadPic Grey.CC
2013-10-08 19:36:02 Hi,pandora
It is no necessary for the module to use the library.
With the AT command ,you can connect your wireless easily.
check this wiki: https://www.dfrobot.com/wiki/index.php/W ... U:TEL0067)
it is also the wifi module.

Best,
Grey
userHeadPic Grey.CC
2013-10-07 16:59:22 is there a proper library for this module?.
I've tried several libraries, but there are errors
( WiFly.h , WiFlySerial.h , WiFlyHQ.h , WiFlyInterface.h )
userHeadPic pandora
2013-10-07 16:59:22 is there a proper library for this module?.
I've tried several libraries, but there are errors
( WiFly.h , WiFlySerial.h , WiFlyHQ.h , WiFlyInterface.h )
userHeadPic pandora
2013-10-07 06:04:09 Update :
my bad, did not read document carefully. enable adhoc mode set high pin 8 (PIO9) connect 3.3v.
userHeadPic pandora
2013-10-07 06:04:09 Update :
my bad, did not read document carefully. enable adhoc mode set high pin 8 (PIO9) connect 3.3v.
userHeadPic pandora
2013-10-06 21:32:30 Hello All,

I've bought RN-XV WiFly Module, when I first tried connect with flyduino and UartSBee V4 (set 3,3v), RN-XV WiFly Module look at wireless network connection in my computer and android phone, when I tried again RN-XV WiFly Module not show in wireless network connection in my computer and android phone. RN-XV WiFly Module led red blink and led green blink. Can you help me?
userHeadPic pandora