Search found 25 matches

by ht_main1
Sun Dec 20, 2020 7:58 am
Forum: General Discussion
Topic: HOW to read and SET DNS IP in esp32 idf?
Replies: 4
Views: 1430

Re: HOW to read and SET DNS IP in esp32 idf?

tcpip_adapter_set_dns_info() and tcpip_adapter_get_dns_info() Hi i tried your method, i am setting Static IP, and dns, but when i read back DNS , i get 0.0.0.0 tcpip_adapter_init(); if(userData.eth_host_cfg.dhcp_en){ tcpip_adapter_dns_info_t dns_info = {0}; dhcps_offer_t dhcps_dns_value = OFFER_DNS...
by ht_main1
Sun Dec 20, 2020 7:10 am
Forum: General Discussion
Topic: HOW to read and SET DNS IP in esp32 idf?
Replies: 4
Views: 1430

Re: HOW to read and SET DNS IP in esp32 idf?

Thanks this helped
by ht_main1
Sat Dec 19, 2020 6:33 am
Forum: General Discussion
Topic: HOW to read and SET DNS IP in esp32 idf?
Replies: 4
Views: 1430

HOW to read and SET DNS IP in esp32 idf?

Hi

I am trying to set DNS primary and secondary IP of ESP32, but i didn't see any API function for the same.
I am using esp-idf 4.0, I need to know the function to read and set DNS IP.

regards
vaibhav
by ht_main1
Mon Dec 14, 2020 5:36 am
Forum: General Discussion
Topic: MQTT connection fails when using static IP
Replies: 1
Views: 549

MQTT connection fails when using static IP

hi i am using MQTT example from ESP -IDF, when i first tested it worked very well , it connected well with server and published DATA, I am using Ethernet, but to my need i set ethernet IP as static , and after that MQTT connection fails. idf version: 4.0 folowing is log from file, D (13538) emac_esp...
by ht_main1
Tue Nov 17, 2020 12:32 pm
Forum: General Discussion
Topic: what is use of SD0-3 io pins on esp32 ?
Replies: 4
Views: 1063

Re: what is use of SD0-3 io pins on esp32 ?

These also have a GPIO number, so technically you can address them like any other GPIO. However, note that normally, these pins are connected to the internal flash of the module/chip/devboard you have; in that case, reconfiguring them as a GPIO will likely crash your program. Check the datasheet of...
by ht_main1
Tue Nov 17, 2020 11:24 am
Forum: General Discussion
Topic: what is use of SD0-3 io pins on esp32 ?
Replies: 4
Views: 1063

what is use of SD0-3 io pins on esp32 ?

hi What is Use of following IO pins? can they be used for normal GPIO operation? SD0 SD1 SD2 SD3 CMD CLK SENSOR_VP SENSOR_VN I wish to know can these pins act as normal gpio? how can I use esp-idf 4.0 to configure these pin to act as GPIO? In my project i used all the other GPIOs, and these are the ...
by ht_main1
Thu Jul 30, 2020 1:37 am
Forum: ESP-IDF
Topic: HTTP_Server: Error accepting connections when polling webserver functions from JavaScript
Replies: 5
Views: 3740

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: 627

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: 7
Views: 2690

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: 7
Views: 2690

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...

Go to advanced search