2016-09-01 03:45 AM
Hi,
I observed followings while communicating between two
spwf01
modules:At the Client side when its try to connect to server I’m using AT+S.SOCKON command to connect.
In this command I can pass “ind�? parameter which can indicate data arrival at the client side with “+WIND:55:Pending Data�? on UART interrupt .
Client side it is taking 500ms to receive WIND:55:Pending Data: interrupt.
Server to client data transmission it takes only 5 to 6ms.
Please suggest how to solve this time delay at the client side.
Thank you
Basavanagouda
2016-09-02 09:00 AM
Please post some other info: FW version, status dump, average RTT of the network, kind of socket used, etc...
2016-09-06 01:42 AM
Hi,
Thank you for your reply
Below details I got for AT&V command, and I'm using TCP protocol for communication.
+D:24:WiFi Up:4.2
Dumping All Configuration Keys: nv_manuf = ST nv_model = SPWF01SA1 nv_serial = 5114D22308 nv_wifi_macaddr = 00:80:E1:B4:AF:6A blink_led = 0 wind_off_low = 0x00000000 wind_off_medium = 0x00000000 wind_off_high = 0x00000000 user_desc = anonymous escape_seq = at+s localecho1 = 0 console1_speed = 115200 console1_hwfc = 0 console1_enabled = 1 sleep_enabled = 0 standby_enabled = 0 standby_time = 10 wifi_tx_msdu_lifetime = 0 wifi_rx_msdu_lifetime = 0 wifi_operational_mode = 0x00000011 wifi_beacon_wakeup = 1 wifi_beacon_interval = 100 wifi_listen_interval = 0 wifi_rts_threshold = 100 wifi_ssid = 4C:41:4E:44:44:4F:4F:52:31:41:50:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 wifi_ssid_len = 11 wifi_channelnum = 6 wifi_opr_rate_mask = 0x00003FCF wifi_bas_rate_mask = 0x0000000F ifi_mode = 1 ifi_auth_type = 0 ifi_atim_window = 0 ifi_powersave = 0 ifi_tx_power = 18 ifi_rssi_thresh = 0 ifi_rssi_hyst = 0 ifi_ap_idle_timeout = 120 ifi_beacon_loss_thresh = 10 ifi_priv_mode = 0 ifi_wep_keys[0] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 fi_wep_keys[1] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 fi_wep_keys[2] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 i_wep_keys[3] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 i_wep_key_lens = 00:00:00:00 i_wep_default_key = 0 i_wpa_psk_raw = 7A:35:61:54:E0:E1:89:E8:14:95:DB:57:0E:BA:6F:71:FC:BB:33:CD:77:E3:43:76:B8:6E:22:4D:56:39:E7:92 _wpa_psk_text = LANDDOOR1AP se_dhcp = 2 se_httpd = 1 tu = 1500 ostname = iwm-B4-AF-6A pdomainname = captiveportal.net paddr = 4.1 etmask = 0 w = 0.1 ns = 0.1 ttp_get_recv_timeout = 3000 cp_timeout = 20 ckd_timeout = 250Thank you
Basavanagouda.
2016-09-06 01:45 AM
Hi,
I have observed Station mode module is taking more time(40sec to 1minute ) to search the access point module.
How to reduce this time?
kindly give suggestion.
Thank you
Basavanagouda.
2016-09-06 01:58 AM
AT+S.STS also
As many info you can share, as fast we can solve...ps: check your UART driver. you are loosing a lot of bytes. consider to use an rs232/usb converter at this early stage, removing external MCU.2016-09-06 02:41 AM
Hi
Below information at the Station mode module.
# Status & Statistics:
# version = 141106-0950875-SPWF01S # reset_reason = 2 # conf_flag = 5 # system_uptime = 571 # system_sleeptime = 0 # gpio_enable = 0 # captiveportal = 0 # wifi_state = 10 # wifi_bssid = 00:80:E1:B4:85:06 # wifi_aid = 1 # wifi_channelnum = 6 # wifi_sup_rate_mask = 0x003FFFCF # wifi_bas_rate_mask = 0x00000000 # wifi_chan_activity2 = 0x00003FFF # wifi_max_tx_power = 18 # wifi_reg_country = GB # wifi_dtim_period = 0 # wifi_sleeping = 1 # wifi_num_assoc = 0 # ip_ipaddr = 192.168.4.2 # ip_netmask = 255.255.255.0 # ip_gw = 192.168.4.1 # ip_dns = 192.168.4.1 # ip_sock_open = 1 # ip_sockd_port = 0 # free_heap = 20568 # min_heap = 20008 # current_time = 1054OK
Below information at the Access mode module.
# Dumping All Configuration Keys:
# nv_manuf = ST # nv_model = SPWF01SA1 # nv_serial = 5114D22308 # nv_wifi_macaddr = 00:80:E1:B4:AF:6A # blink_led = 0 # wind_off_low = 0x00000000 # wind_off_medium = 0x00000000 # wind_off_high = 0x00000000 # user_desc = anonymous # escape_seq = at+s # localecho1 = 0 # console1_speed = 115200 # console1_hwfc = 0 # console1_enabled = 1 # sleep_enabled = 0 # standby_enabled = 0 # standby_time = 10 # wifi_tx_msdu_lifetime = 0 # wifi_rx_msdu_lifetime = 0 # wifi_operational_mode = 0x00000011 # wifi_beacon_wakeup = 1 # wifi_beacon_interval = 100 # wifi_listen_interval = 0 # wifi_rts_threshold = 100 # wifi_ssid = 4C:41:4E:44:44:4F:4F:52:31:41:50:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 # wifi_ssid_len = 11 # wifi_channelnum = 6 # wifi_opr_rate_mask = 0x00003FCF # wifi_bas_rate_mask = 0x0000000F # wifi_mode = 3 # wifi_auth_type = 0 # wifi_atim_window = 0 # wifi_powersave = 0 # wifi_tx_power = 18 # wifi_rssi_thresh = 0 # wifi_rssi_hyst = 0 # wifi_ap_idle_timeout = 120 # wifi_beacon_loss_thresh = 10 # wifi_priv_mode = 0 # wifi_wep_keys[0] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 # wifi_wep_keys[1] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 # wifi_wep_keys[2] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 # wifi_wep_keys[3] = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 # wifi_wep_key_lens = 00:00:00:00 # wifi_wep_default_key = 0 # wifi_wpa_psk_raw = 7A:35:61:54:E0:E1:89:E8:14:95:DB:57:0E:BA:6F:71:FC:BB:33:CD:77:E3:43:76:B8:6E:22:4D:56:39:E7:92 # wifi_wpa_psk_text = LANDDOOR1AP # ip_use_dhcp = 2 # ip_use_httpd = 1 # ip_mtu = 1500 # ip_hostname = iwm-B4-AF-6A # ip_apdomainname = captiveportal.net # ip_ipaddr = 192.168.4.1 # ip_netmask = 255.255.255.0 # ip_gw = 192.168.0.1 # ip_dns = 192.168.0.1 # ip_http_get_recv_timeout = 3000 # ip_dhcp_timeout = 20 # ip_sockd_timeout = 250 # Status & Statistics: # version = 141106-0950875-SPWF01S # reset_reason = 2 # conf_flag = 5 # system_uptime = 368 # system_sleeptime = 0 # gpio_enable = 0 # captiveportal = 0 # wifi_state = 5 # wifi_bssid = 00:00:00:00:00:00 # wifi_aid = 0 # wifi_channelnum = 0 # wifi_sup_rate_mask = 0x003FFFCF # wifi_bas_rate_mask = 0x00000000 # wifi_chan_activity2 = 0x00003FFF # wifi_max_tx_power = 18 # wifi_reg_country = GB # wifi_dtim_period = 0 # wifi_sleeping = 0 # wifi_num_assoc = 0 # ip_ipaddr = 0.0.0.0 # ip_netmask = 0.0.0.0 # ip_gw = 0.0.0.0 # ip_dns = 0.0.0.0 # ip_sock_open = 0 # ip_sockd_port = 0 # free_heap = 21544 # min_heap = 20008 # current_time = 495OK
Thanks
Basvanagouda
2016-09-06 03:11 AM
version = 141106-0950875-SPWF01S
you are using a 2 years old release.First of all, please update to FW3.52016-09-06 03:22 AM
Oops:(
Can you please share the latest version firmware and Updating procedure from UART.
It will help me lot.
Thank you
Basavanagouda
2016-09-06 03:36 AM
If I update the firmware version, above issue can be resolved?
it already took lot of my time to solving it.
Please let me, If its can solve my issue it will help me lot
Thanks
Basavanagouda
2016-09-06 04:20 AM
Try new FW and let me know.
E.g. FW3.5 works better when looking for hidden networks