Search found 28 matches

by A6ESPF
Sun May 07, 2023 8:26 pm
Forum: ESP-IDF
Topic: Getting (InstrFetchProhibited) exception when triggering an interrupt
Replies: 2
Views: 1695

Re: Getting (InstrFetchProhibited) exception when triggering an interrupt

ESP_Sprite wrote:Did you call gpio_install_isr_service() anywhere?
Yes, I forgot to mention that. Also, when I use the child function directly, the ISR executes fine. I'm not sure why using the parent function first (which calls the child function) fails.
by A6ESPF
Thu May 04, 2023 11:48 am
Forum: ESP-IDF
Topic: Getting (InstrFetchProhibited) exception when triggering an interrupt
Replies: 2
Views: 1695

Getting (InstrFetchProhibited) exception when triggering an interrupt

Hello, I'm trying to set up an interrupt handler on GPIO36 (SENSOR_VP) ESP32 pin. Here are some parts of the code that I consider relevant: static void irq_handler_func(void* arg) { xSemaphoreGiveFromISR(isr_sem, NULL); } . . . static void parent_irq_handler_func(void* arg) { irq_handler_func(arg); ...
by A6ESPF
Thu May 04, 2023 11:23 am
Forum: ESP-IDF
Topic: NetBIOS not working with SoftAP?
Replies: 2
Views: 1620

Re: NetBIOS not working with SoftAP?

Sorry for the late reply. I first initialize NetBIOS on ESP32 using netbiosns_init function. Then I set the NetBIOS name using netbiosns_set_name function. This topic (viewtopic.php?f=13&t=32062) was also started by me, so you can see how I initialized NetBIOS on ESP32.
by A6ESPF
Mon Mar 27, 2023 10:44 am
Forum: ESP-IDF
Topic: NetBIOS not working with SoftAP?
Replies: 2
Views: 1620

NetBIOS not working with SoftAP?

When I connect my ESP32 to my home LAN and use its NetBIOS name to access the device, it works perfectly. However, when I connect to the device's access point, I can't look it up anymore using NetBIOS and I have to type in 192.168.4.1 to access the device. Why doesn't NetBIOS work with SoftAP?
by A6ESPF
Fri Feb 10, 2023 4:06 pm
Forum: ESP-IDF
Topic: ESP32 NetBIOS Name Service (NBNS) support?
Replies: 3
Views: 3040

Re: ESP32 NetBIOS Name Service (NBNS) support?

I've found that modifying the define LWIP_NETBIOS_RESPOND_NAME_QUERY to 1 in esp-idf-v4.4/components/lwip/lwip/src/include/lwip/apps/netbiosns_opts.h solves the issue, but I'm not very fond of modifying esp-idf source code. Is it possible to enable this option some other way? I've tried defining LWI...
by A6ESPF
Fri Feb 10, 2023 2:39 pm
Forum: ESP-IDF
Topic: ESP32 NetBIOS Name Service (NBNS) support?
Replies: 3
Views: 3040

Re: ESP32 NetBIOS Name Service (NBNS) support?

I forgot to add that I have included "lwip/apps/netbiosns.h" in my application and added these lines before initializing Wi-Fi:

Code: Select all

netbiosns_init();
char netbios_hostname[16] = "netbios_test";
netbiosns_set_name(netbios_hostname);
by A6ESPF
Fri Feb 10, 2023 12:24 pm
Forum: ESP-IDF
Topic: ESP32 NetBIOS Name Service (NBNS) support?
Replies: 3
Views: 3040

ESP32 NetBIOS Name Service (NBNS) support?

Does ESP32 support NetBIOS Name Service discovery? When I use Angry IP Scanner to scan the IP address of my ESP32 (sending 3 ICMP requests and then 4 NBNS requests), I get the following warnings in the terminal: W (1434746) httpd: httpd_accept_conn: error in accept (128) W (1434746) httpd: httpd_ser...
by A6ESPF
Mon Jan 30, 2023 10:12 am
Forum: ESP-IDF
Topic: UART ISR in IRAM config?
Replies: 2
Views: 2703

UART ISR in IRAM config?

When enabling the CONFIG_UART_ISR_IN_IRAM option, I get the following log message when booting the board: I (241961) uart: ESP_INTR_FLAG_IRAM flag not set while CONFIG_UART_ISR_IN_IRAM is enabled, flag updated What does it mean exactly? Is there something I need to do to get rid of the message and s...
by A6ESPF
Sun Jan 15, 2023 1:55 pm
Forum: ESP-IDF
Topic: Kconfig vs Kconfig.projbuild files?
Replies: 0
Views: 1067

Kconfig vs Kconfig.projbuild files?

Is there any difference between Kconfig and Kconfig.projbuild files? VSCode adds color and formatting for Kconfig files, but not for Kconfig.projbuild for some reason. Is it better to use one over the other and why?
by A6ESPF
Thu Jan 12, 2023 9:53 am
Forum: ESP-IDF
Topic: Configure the client port in esp_http_client request?
Replies: 3
Views: 2040

Re: Configure the client port in esp_http_client request?

Is the source port changed on every esp_http_client_perform or it is set during the initialization of the client? Is there a way to get the source port somehow, so I can see which port exactly is being used?