Search found 19 matches

by ht_main1
Thu Jul 30, 2020 1:37 am
Forum: ESP32 IDF
Topic: HTTP_Server: Error accepting connections when polling webserver functions from JavaScript
Replies: 5
Views: 1476

Re: HTTP_Server: Error accepting connections when polling webserver functions from JavaScript

[0;32mI (243969) HTTP SERVER:: Index page[0m [0;33mW (243969) httpd: httpd_accept_conn: error in accept (23)[0m [0;33mW (243969) httpd: httpd_server: error accepting new connection[0m [0;32mI (244009) HTTP SERVER:: app css page[0m [0;32mI (244069) HTTP SERVER:: normalize css page[0m [0;32mI (244109...
by ht_main1
Sun Jul 05, 2020 10:48 am
Forum: General Discussion
Topic: failed to connect SSID2 if SSID1 is failed
Replies: 0
Views: 195

failed to connect SSID2 if SSID1 is failed

i have 2 routers, for fail safe i have coded both ssid in code, cont char* ssid1 = "htMark_01" cont char* ssid2 = "htMark_02" so if 1st failed connect to 2nd ssid, the problem i face is whenever ssid1 fails, ssid2 also keep failing, i also scan ap list, i do get ssid2 in scanned list still i get fai...
by ht_main1
Sat May 23, 2020 6:22 pm
Forum: General Discussion
Topic: How to set STATIC pairing PIN in bt_spp_vfs_acceptor ?
Replies: 6
Views: 739

Re: How to set STATIC pairing PIN in bt_spp_vfs_acceptor ?

I have bt classic project i finished 2 days ago and now checked to make sure. You have to disable Secure simple pairing to make use of static pin code. https://github.com/espressif/esp-idf/issues/1541#issuecomment-443575348 Thanks that solved it, i had to manual insert following code, i was getting...
by ht_main1
Wed May 20, 2020 7:18 pm
Forum: General Discussion
Topic: How to set STATIC pairing PIN in bt_spp_vfs_acceptor ?
Replies: 6
Views: 739

Re: How to set STATIC pairing PIN in bt_spp_vfs_acceptor ?

https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/bluedroid/classic_bt/hfp_hf/main/main.c#L102-L108 You have also change option in menuconfig, disable Secure simple pairing (or enable). Secure simple pairing (disabling this throws error for esp_bt_gap_set_pin ) i added the code fr...
by ht_main1
Wed May 20, 2020 8:18 am
Forum: General Discussion
Topic: How to set STATIC pairing PIN in bt_spp_vfs_acceptor ?
Replies: 6
Views: 739

How to set STATIC pairing PIN in bt_spp_vfs_acceptor ?

I ran the example code for BT SPP from esp-idfv4.0 example code ? i just want to know how do i set the STATIC PIN for pairing BT ?
In the code it generate random pairing key.

Thanks
in advance
by ht_main1
Thu Jan 30, 2020 12:41 pm
Forum: General Discussion
Topic: need to achieve Ethernet to wifi TCP communication
Replies: 0
Views: 363

need to achieve Ethernet to wifi TCP communication

Hi, I am planing to get code running for Ethernet to wifi (Sta) TCP socket communication , i need to know how can i achieve it with given exmaples, i have checked TCP socket iperf on Ethernet and WiFi (sta) both. i need to know how can divert or redirect data from Tcp socket on Ethernet to tcp socke...
by ht_main1
Sat Jan 25, 2020 12:54 pm
Forum: General Discussion
Topic: OTA failed with SSL verfication failed
Replies: 0
Views: 356

OTA failed with SSL verfication failed

Hi i am trying add ota support to firmware, while running code i get SSL verification failed following is the log for same [0;31mE (347490) esp-tls: mbedtls_ssl_handshake returned -0x2700[0m [0;32mI (347490) esp-tls: Failed to verify peer certificate![0m [0;32mI (347490) esp-tls: verification info: ...
by ht_main1
Thu Nov 07, 2019 7:21 am
Forum: General Discussion
Topic: unnable to run eth2wifi , need help
Replies: 8
Views: 1678

Re: unnable to run eth2wifi , need help

top
by ht_main1
Wed Nov 06, 2019 5:51 am
Forum: General Discussion
Topic: unnable to run eth2wifi , need help
Replies: 8
Views: 1678

Re: unnable to run eth2wifi , need help

anyone who can help ?
by ht_main1
Tue Nov 05, 2019 6:18 am
Forum: General Discussion
Topic: unnable to run eth2wifi , need help
Replies: 8
Views: 1678

Re: unnable to run eth2wifi , need help

Code: Select all

        esp_eth_ioctl(s_eth_handle, ETH_CMD_G_MAC_ADDR, s_eth_mac);
        esp_wifi_set_mac(WIFI_IF_AP, s_eth_mac);
can anybody explain why we have to MAC address for AP, and how will it work in STA mode ?

Go to advanced search