Soft-AP mode connection take very long time (via android device)

burak1000
Posts: 3
Joined: Mon Mar 28, 2016 6:45 am

Soft-AP mode connection take very long time (via android device)

Postby burak1000 » Mon Mar 28, 2016 7:25 am

Hello everybody.
firstly sorry for my bad english. I'm be in a bad way . i need your help
I work for long time for fix this issue I failed every time. please help me

we develop a product based on esp8266 with AT command. (we use ESP8266_NONOS_SDK_V1.5.2_16_01_29 fw)
we send simple data android to esp8266. with TCP port.
when esp in soft ap mode and ready. we start the connection from android device. (often) connection take very long time (6-20 second). or stuck completely.
some times take 1-3 second. at that time we be happy :).
i tried connect to standart wifi modems with same android program. my program connect in 2-3 second max

on internet some people says: (dhcp server take most time ). i have no idea aboue extended dhcp option. i tried different dhcp options but i'm fail.

my_ AT Instruction Set document: http://www.docfoc.com/4a-esp8266-at-ins ... 5-20160201 (4A-ESP8266__AT Instruction Set__EN_v1.5_20160201)

my AT-Commands are there

Code: Select all

AT+CIPAP_CUR="192.168.9.12"
AT+CWMODE_CUR=2
AT+CIPMUX=1
AT+CWSAP_CUR="esp_8266","12345678",7,3,4,1  //chl:7 , ecn:WPA2_PSK , max conn:4, and ssid_is_hidden
AT+CIPSERVER=1


my_flash setup screen
1.JPG
my_flash setup screen


my_module:
Image

also my module consume current about 60mA and heating. is this normal??


please help me. i wait your messages with regardfully

burak1000
Posts: 3
Joined: Mon Mar 28, 2016 6:45 am

Re: Soft-AP mode connection take very long time (via android device)

Postby burak1000 » Sat Apr 02, 2016 2:20 am

there is no body answer my question?
please help me :(

doughboy
Posts: 63
Joined: Thu Mar 05, 2015 1:54 am

Re: Soft-AP mode connection take very long time (via android device)

Postby doughboy » Sat Apr 02, 2016 6:58 am

did you try wpa_wpa2_psk?

burak1000
Posts: 3
Joined: Mon Mar 28, 2016 6:45 am

Re: Soft-AP mode connection take very long time (via android device)

Postby burak1000 » Sat Apr 02, 2016 7:34 am

doughboy wrote:did you try wpa_wpa2_psk?


not yet. i will try now. many thanks for your suggestion.

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: Soft-AP mode connection take very long time (via android device)

Postby ESP_Faye » Tue Apr 05, 2016 11:31 am

Hi,

Maybe you can try to check the WiFi signal through WiFi analyzer.

milesstone
Posts: 22
Joined: Mon Apr 26, 2021 4:50 pm

Re: Soft-AP mode connection take very long time (via android device)

Postby milesstone » Sun Jun 06, 2021 11:25 pm

burak1000 wrote:Hello everybody.
firstly sorry for my bad english. I'm be in a bad way . i need your help
I work for long time for fix this issue I failed every time. please help me

we develop a gbwhatsapp product based on esp8266 with AT command. (we use ESP8266_NONOS_SDK_V1.5.2_16_01_29 fw)
we send simple data android to esp8266. with TCP port.
when esp in soft ap mode and ready. we start the connection from android device. (often) connection take very long time (6-20 second). or stuck completely.
some times take 1-3 second. at that time we be happy :).
i tried connect to standart wifi modems with same android program. my program connect in 2-3 second max

on internet some people says: (dhcp server take most time ). i have no idea aboue extended dhcp option. i tried different dhcp options but i'm fail.

my_ AT Instruction Set document: http://www.docfoc.com/4a-esp8266-at-ins ... 5-20160201 (4A-ESP8266__AT Instruction Set__EN_v1.5_20160201)

my AT-Commands are there

Code: Select all

AT+CIPAP_CUR="192.168.9.12"
AT+CWMODE_CUR=2
AT+CIPMUX=1
AT+CWSAP_CUR="esp_8266","12345678",7,3,4,1  //chl:7 , ecn:WPA2_PSK , max conn:4, and ssid_is_hidden
AT+CIPSERVER=1


my_flash setup screen
1.JPG


my_module:
Image

also my module consume current about 60mA and heating. is this normal??


please help me. i wait your messages with regardfully

To implement Wi-Fi STA/AP concurrency on your device:

Turn on a build-time flag to enable support for two interfaces in the HAL. The flag is located in device/<oem>/<device>/BoardConfig-common.mk.

WIFI_HIDL_FEATURE_DUAL_INTERFACE := true
Expose two network interfaces:

wlan0 and wlan1
Note: To avoid performance issues, only use this feature on devices with a Wi-Fi chip that supports multiple independent hardware MACs (radio chains).
The WIFI_HIDL_FEATURE_DUAL_INTERFACE flag is ignored if the WIFI_HAL_INTERFACE_COMBINATIONS flag is specified. For more information, see Wi-Fi multi-interface concurrency.

Who is online

Users browsing this forum: No registered users and 3 guests