Can't connect to ap from devices

traderlopez
Posts: 20
Joined: Thu Sep 22, 2016 12:55 pm

Can't connect to ap from devices

Postby traderlopez » Thu Sep 29, 2016 12:55 pm

Yesterday my WAN router died.

I then set up a Raspberry PI as router. I tested it connecting to internet from my laptop through it, and also my mobile gets wifi through it, and everything seems right there.

Then I changed user_config to reflect the change on the mesh devices, and they don't connect.

They don't even try to connect to it, as I can see the connection tries live on the screen attached to the PI and it doesn't show anything when I switch on the mesh devices.

This is the serial log of a device. It always ends up in a "enable mesh fail, re-enable" and goes on scanning (on channel 0?). I don't know, but I think it should scan all channels.

;lESP-TOUCH FLOW INIT...
ESP-TOUCH SET STATION MODE ...
SC version: V2.5.4
flush ssid: pwd:@úÿ?@úÿ?
mesh version: v1.3.2
mode : sta(5c:cf:7f:c1:07:d5)
add if0
scandone
err,scan status 1
scandone
err,scan status 4
ESP-TOUCH TIMEOUT
mode : sta(5c:cf:7f:c1:07:d5) + softAP(5e:cf:7f:c1:07:d5)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone



This is another device that has the PI router in range:

;lESP-TOUCH FLOW INIT...
ESP-TOUCH SET STATION MODE ...
SC version: V2.5.4
flush ssid: pwd:@úÿ?@úÿ?
mesh version: v1.3.2
mode : sta(5c:cf:7f:c1:07:d5)
add if0
scandone
err,scan status 1
scandone
err,scan status 4
ESP-TOUCH TIMEOUT
mode : sta(5c:cf:7f:c1:07:d5) + softAP(5e:cf:7f:c1:07:d5)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone



This is user_config.h. I changed the server_ip, the MESH_ROUTER_BSSID, ROUTER_SSID and ROUTER_PASS. Also there is no server at this time at that address, but the devices don't get a wifi connection, I don't think they will ask for the server yet.


static const uint16_t server_port = 7000; /*PORT USED BY USER IOT SERVER FOR MESH SERVICE*/
static const uint8_t server_ip[4] = {192, 168, 10, 1}; /*USER IOT SERVER IP ADDRESS*/
static const uint32_t UART_BAUT_RATIO = 115200; /*UART BAUT RATIO*/
static const uint8_t MESH_GROUP_ID[6] = {0x18,0xfe,0x34,0x00,0x00,0x50}; /*MESH_GROUP_ID & MESH_SSID_PREFIX REPRESENTS ONE MESH NETWORK*/

//static const uint8_t MESH_ROUTER_BSSID[6] = {0x00, 0x80, 0x5A, 0x5B, 0x1B, 0xAD};
/*MAC OF ROUTER*/
static const uint8_t MESH_ROUTER_BSSID[6] = {0x00, 0x0B, 0x81, 0x88, 0x63, 0x83};

/*
* please change MESH_ROUTER_SSID and MESH_ROUTER_PASSWD according to your router
*/
#define MESH_ROUTER_SSID "PitAP" /*THE ROUTER SSID*/
#define MESH_ROUTER_PASSWD "*8*8*8*8*8*8*8*" /*THE ROUTER PASSWORD*/
#define MESH_SSID_PREFIX "MEMO" /*SET THE DEFAULT MESH SSID PREFIX;THE FINAL SSID OF SOFTAP WOULD BE "MESH_SSID_PREFIX_X_YYYYYY"*/
#define MESH_AUTH AUTH_WPA2_PSK /*AUTH_MODE OF SOFTAP FOR EACH MESH NODE*/
#define MESH_PASSWD "3HappyLions" /*SET PASSWORD OF SOFTAP FOR EACH MESH NODE*/
#define MESH_MAX_HOP (4) /*MAX_HOPS OF MESH NETWORK*/

ESP_Alen

Re: Can't connect to ap from devices

Postby ESP_Alen » Thu Sep 29, 2016 1:02 pm

traderlopez wrote:Yesterday my WAN router died.

I then set up a Raspberry PI as router. I tested it connecting to internet from my laptop through it, and also my mobile gets wifi through it, and everything seems right there.

Then I changed user_config to reflect the change on the mesh devices, and they don't connect.

They don't even try to connect to it, as I can see the connection tries live on the screen attached to the PI and it doesn't show anything when I switch on the mesh devices.

This is the serial log of a device. It always ends up in a "enable mesh fail, re-enable" and goes on scanning (on channel 0?). I don't know, but I think it should scan all channels.

;lESP-TOUCH FLOW INIT...
ESP-TOUCH SET STATION MODE ...
SC version: V2.5.4
flush ssid: pwd:@úÿ?@úÿ?
mesh version: v1.3.2
mode : sta(5c:cf:7f:c1:07:d5)
add if0
scandone
err,scan status 1
scandone
err,scan status 4
ESP-TOUCH TIMEOUT
mode : sta(5c:cf:7f:c1:07:d5) + softAP(5e:cf:7f:c1:07:d5)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone



This is another device that has the PI router in range:

;lESP-TOUCH FLOW INIT...
ESP-TOUCH SET STATION MODE ...
SC version: V2.5.4
flush ssid: pwd:@úÿ?@úÿ?
mesh version: v1.3.2
mode : sta(5c:cf:7f:c1:07:d5)
add if0
scandone
err,scan status 1
scandone
err,scan status 4
ESP-TOUCH TIMEOUT
mode : sta(5c:cf:7f:c1:07:d5) + softAP(5e:cf:7f:c1:07:d5)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone



This is user_config.h. I changed the server_ip, the MESH_ROUTER_BSSID, ROUTER_SSID and ROUTER_PASS. Also there is no server at this time at that address, but the devices don't get a wifi connection, I don't think they will ask for the server yet.


static const uint16_t server_port = 7000; /*PORT USED BY USER IOT SERVER FOR MESH SERVICE*/
static const uint8_t server_ip[4] = {192, 168, 10, 1}; /*USER IOT SERVER IP ADDRESS*/
static const uint32_t UART_BAUT_RATIO = 115200; /*UART BAUT RATIO*/
static const uint8_t MESH_GROUP_ID[6] = {0x18,0xfe,0x34,0x00,0x00,0x50}; /*MESH_GROUP_ID & MESH_SSID_PREFIX REPRESENTS ONE MESH NETWORK*/

//static const uint8_t MESH_ROUTER_BSSID[6] = {0x00, 0x80, 0x5A, 0x5B, 0x1B, 0xAD};
/*MAC OF ROUTER*/
static const uint8_t MESH_ROUTER_BSSID[6] = {0x00, 0x0B, 0x81, 0x88, 0x63, 0x83};

/*
* please change MESH_ROUTER_SSID and MESH_ROUTER_PASSWD according to your router
*/
#define MESH_ROUTER_SSID "PitAP" /*THE ROUTER SSID*/
#define MESH_ROUTER_PASSWD "*8*8*8*8*8*8*8*" /*THE ROUTER PASSWORD*/
#define MESH_SSID_PREFIX "MEMO" /*SET THE DEFAULT MESH SSID PREFIX;THE FINAL SSID OF SOFTAP WOULD BE "MESH_SSID_PREFIX_X_YYYYYY"*/
#define MESH_AUTH AUTH_WPA2_PSK /*AUTH_MODE OF SOFTAP FOR EACH MESH NODE*/
#define MESH_PASSWD "3HappyLions" /*SET PASSWORD OF SOFTAP FOR EACH MESH NODE*/
#define MESH_MAX_HOP (4) /*MAX_HOPS OF MESH NETWORK*/


The router ssid is different from "PitAP", please pay attention to statement with red color.
Please use scenario of mesh_performance, and modify user_config.h in mesh_performance/include

traderlopez
Posts: 20
Joined: Thu Sep 22, 2016 12:55 pm

Re: Can't connect to ap from devices

Postby traderlopez » Thu Sep 29, 2016 2:47 pm

I can't find out how to switch scenarios.

I run gen_misc.sh from the mesh_demo folder. I check the timestamp of the output files being saved in the flash and the update file has the correct updated date. I don't understand how the performance scenario folder user_config.h can have some influence on the demo files I changed in the demo folder.

If it is possible, please explain me as shortly as you wish how to switch scenarios between demo and performance.

Thanks very much.

traderlopez
Posts: 20
Joined: Thu Sep 22, 2016 12:55 pm

Re: Can't connect to ap from devices

Postby traderlopez » Thu Sep 29, 2016 3:17 pm

It seems that the problem is related to ESP-TOUCH, which I don't use

;lESP-TOUCH FLOW INIT...
ESP-TOUCH SET STATION MODE ...
SC version: V2.5.4
flush ssid: pwd:@úÿ?@úÿ?
mesh version: v1.3.2
mode : sta(5c:cf:7f:c1:07:d5)
add if0
scandone
err,scan status 1
scandone
err,scan status 4
ESP-TOUCH TIMEOUT

Those ssid and pwd can't be known as there is no ESP-TOUCH enabled mobile phones in range.

Can I get rid of ESP-TOUCH in the Mesh?

trojek
Posts: 15
Joined: Mon Sep 26, 2016 4:18 am

Re: Can't connect to ap from devices

Postby trojek » Thu Sep 29, 2016 3:46 pm

I'm absolutely beginner at esp8266 but I think that your problems is here:
flush ssid: pwd:@úÿ?@úÿ?
. In my case it looks: flush ssid:SSID_NAME pwd:PASSWORD. In you case it looks like you don't have any ssid and your password is "strange". I have password in plain text.

traderlopez
Posts: 20
Joined: Thu Sep 22, 2016 12:55 pm

Re: Can't connect to ap from devices

Postby traderlopez » Thu Sep 29, 2016 4:47 pm

Hi trojek,

If you've set a mobile device for ESP-TOUCH, you forgot to change SSID and PASSWORD to useful values, in the code, so you are seeing the default values.

The values I am being informed are not real, they are rubbish from memory, as they haven't been initialized before they appear logged in the serial port

Thanks very much.

traderlopez
Posts: 20
Joined: Thu Sep 22, 2016 12:55 pm

Re: Can't connect to ap from devices

Postby traderlopez » Thu Sep 29, 2016 5:17 pm

Finally I got the router up again and running.

I tried to connect the mesh devices and it happens the same.

It wasn't the raspberry pi routing thing, it has something else.

The server is connected, although I think this doesn't make any difference.


This time the user_config.h is:

static const uint16_t server_port = 7000; /*PORT USED BY USER IOT SERVER FOR MESH SERVICE*/
static const uint8_t server_ip[4] = {192, 168, 0, 100}; /*USER IOT SERVER IP ADDRESS*/
static const uint32_t UART_BAUT_RATIO = 115200; /*UART BAUT RATIO*/
static const uint8_t MESH_GROUP_ID[6] = {0x18,0xfe,0x34,0x00,0x00,0x50}; /*MESH_GROUP_ID & MESH_SSID_PREFIX REPRESENTS ONE MESH NETWORK*/

static const uint8_t MESH_ROUTER_BSSID[6] = {0x00, 0x80, 0x5A, 0x5B, 0x1B, 0xAD};
/*MAC OF ROUTER*/
//static const uint8_t MESH_ROUTER_BSSID[6] = {0x00, 0x0B, 0x81, 0x88, 0x63, 0x83}; PI - no va

/*
* please change MESH_ROUTER_SSID and MESH_ROUTER_PASSWD according to your router
*/
#define MESH_ROUTER_SSID "NETDEA" /*THE ROUTER SSID*/
#define MESH_ROUTER_PASSWD "rinocero" /*THE ROUTER PASSWORD*/
#define MESH_SSID_PREFIX "DEMOMESA" /*SET THE DEFAULT MESH SSID PREFIX;THE FINAL SSID OF SOFTAP WOULD BE "MESH_SSID_PREFIX_X_YYYYYY"*/
#define MESH_AUTH AUTH_WPA2_PSK /*AUTH_MODE OF SOFTAP FOR EACH MESH NODE*/
#define MESH_PASSWD "amiantos" /*SET PASSWORD OF SOFTAP FOR EACH MESH NODE*/
#define MESH_MAX_HOP (4) /*MAX_HOPS OF MESH NETWORK*/



And a random device log:

{lESP-TOUCH FLOW INIT...
ESP-TOUCH SET STATION MODE ...
SC version: V2.5.4
flush ssid: pwd:@úÿ?@úÿ?
mesh version: v1.3.2
mode : sta(5c:cf:7f:c1:0b:64)
add if0
scandone
err,scan status 1
scandone
err,scan status 4
ESP-TOUCH TIMEOUT
mode : sta(5c:cf:7f:c1:0b:64) + softAP(5e:cf:7f:c1:0b:64)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone

ESP_Alen

Re: Can't connect to ap from devices

Postby ESP_Alen » Thu Sep 29, 2016 5:37 pm

traderlopez wrote:It seems that the problem is related to ESP-TOUCH, which I don't use

;lESP-TOUCH FLOW INIT...
ESP-TOUCH SET STATION MODE ...
SC version: V2.5.4
flush ssid: pwd:@úÿ?@úÿ?
mesh version: v1.3.2
mode : sta(5c:cf:7f:c1:07:d5)
add if0
scandone
err,scan status 1
scandone
err,scan status 4
ESP-TOUCH TIMEOUT

Those ssid and pwd can't be known as there is no ESP-TOUCH enabled mobile phones in range.

Can I get rid of ESP-TOUCH in the Mesh?


Yes, if you don't need eep-touch, please disable esp-touch.

ESP_Alen

Re: Can't connect to ap from devices

Postby ESP_Alen » Thu Sep 29, 2016 5:48 pm

traderlopez wrote:Finally I got the router up again and running.

I tried to connect the mesh devices and it happens the same.

It wasn't the raspberry pi routing thing, it has something else.

The server is connected, although I think this doesn't make any difference.


This time the user_config.h is:

static const uint16_t server_port = 7000; /*PORT USED BY USER IOT SERVER FOR MESH SERVICE*/
static const uint8_t server_ip[4] = {192, 168, 0, 100}; /*USER IOT SERVER IP ADDRESS*/
static const uint32_t UART_BAUT_RATIO = 115200; /*UART BAUT RATIO*/
static const uint8_t MESH_GROUP_ID[6] = {0x18,0xfe,0x34,0x00,0x00,0x50}; /*MESH_GROUP_ID & MESH_SSID_PREFIX REPRESENTS ONE MESH NETWORK*/

static const uint8_t MESH_ROUTER_BSSID[6] = {0x00, 0x80, 0x5A, 0x5B, 0x1B, 0xAD};
/*MAC OF ROUTER*/
//static const uint8_t MESH_ROUTER_BSSID[6] = {0x00, 0x0B, 0x81, 0x88, 0x63, 0x83}; PI - no va

/*
* please change MESH_ROUTER_SSID and MESH_ROUTER_PASSWD according to your router
*/
#define MESH_ROUTER_SSID "NETDEA" /*THE ROUTER SSID*/
#define MESH_ROUTER_PASSWD "rinocero" /*THE ROUTER PASSWORD*/
#define MESH_SSID_PREFIX "DEMOMESA" /*SET THE DEFAULT MESH SSID PREFIX;THE FINAL SSID OF SOFTAP WOULD BE "MESH_SSID_PREFIX_X_YYYYYY"*/
#define MESH_AUTH AUTH_WPA2_PSK /*AUTH_MODE OF SOFTAP FOR EACH MESH NODE*/
#define MESH_PASSWD "amiantos" /*SET PASSWORD OF SOFTAP FOR EACH MESH NODE*/
#define MESH_MAX_HOP (4) /*MAX_HOPS OF MESH NETWORK*/



And a random device log:

{lESP-TOUCH FLOW INIT...
ESP-TOUCH SET STATION MODE ...
SC version: V2.5.4
flush ssid: pwd:@úÿ?@úÿ?
mesh version: v1.3.2
mode : sta(5c:cf:7f:c1:0b:64)
add if0
scandone
err,scan status 1
scandone
err,scan status 4
ESP-TOUCH TIMEOUT
mode : sta(5c:cf:7f:c1:0b:64) + softAP(5e:cf:7f:c1:0b:64)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
scan-ch:0
scandone
scan-ch:0
scandone
no ap to join
mesh_enable_cb
enable mesh fail, re-enable
scan-ch:0
scandone


If you want to switch router, please use eep-touch to push new AP to device.

traderlopez
Posts: 20
Joined: Thu Sep 22, 2016 12:55 pm

Re: Can't connect to ap from devices

Postby traderlopez » Thu Sep 29, 2016 6:01 pm

There must be some other way to set the router information into the devices, at least from the programming point of view. I have them on the table, not in my clients offices. I still can program them with other data.

Please tell me another way to get the new router information programmed into the flash. Currently I use user_config.h.

Thanks very much in advance.

Who is online

Users browsing this forum: No registered users and 287 guests