Search found 13 matches

by nirmeshru
Mon Feb 28, 2022 11:31 am
Forum: ESP RainMaker
Topic: Error: MQTT_CLIENT: MQTT connect failed
Replies: 5
Views: 8328

Re: Error: MQTT_CLIENT: MQTT connect failed

i erased flash and uploaded the switch example program. now it is working fine.
by nirmeshru
Mon Feb 28, 2022 8:39 am
Forum: ESP RainMaker
Topic: Error: MQTT_CLIENT: MQTT connect failed
Replies: 5
Views: 8328

Re: Error: MQTT_CLIENT: MQTT connect failed

I was testing Arduino-esp32 example RMakerSwitch.ino on the same ESP32 board and it works.
so after that, whenever I am using esp rainmaker switch example or my own switch code on the same ESP32 board then getting this error message.
by nirmeshru
Mon Feb 28, 2022 6:28 am
Forum: ESP RainMaker
Topic: Error: MQTT_CLIENT: MQTT connect failed
Replies: 5
Views: 8328

Error: MQTT_CLIENT: MQTT connect failed

Hi, I am trying the switch example on the custom ESP32 board and getting the below error. E (783471) MQTT_CLIENT: mqtt_message_receive: transport_read() error: errno=119 E (783471) esp_mqtt_glue: MQTT_EVENT_ERROR E (783471) MQTT_CLIENT: esp_mqtt_connect: mqtt_message_receive() returned -1 E (783481)...
by nirmeshru
Mon Sep 27, 2021 10:45 am
Forum: ESP RainMaker
Topic: Error:GPIO isr service already installed
Replies: 17
Views: 117851

Re: Error:GPIO isr service already installed

Hi Piyush,

I uploaded your binary on my board and the device got crash and rebooting in a loop.

I checked all the switch input pins and found the issue because of GPIO Pin 18 and 19 so I changed these pins to some other gpio pins.
Now it is working fine.

Thanks,
Nirmesh
by nirmeshru
Wed Sep 15, 2021 1:36 pm
Forum: ESP RainMaker
Topic: Error:GPIO isr service already installed
Replies: 17
Views: 117851

Re: Error:GPIO isr service already installed

Hi Piyush,

As you mentioned, you did a small change in the code and it is working fine for you. may I know what change you have made in this example?

Thanks,
Nirmesh
by nirmeshru
Wed Sep 08, 2021 8:36 pm
Forum: ESP RainMaker
Topic: Error:GPIO isr service already installed
Replies: 17
Views: 117851

Re: Error:GPIO isr service already installed

Hi Piyush, Thanks for your effort in trying to reproduce the issue. So As per your log, I am seeing GPIO isr error messages but it is not causing any Watchdog reset issue with 4 switches at your end. I go through the button component and suspecting these error is due to this gpio_install_isr_service...
by nirmeshru
Tue Sep 07, 2021 6:28 pm
Forum: ESP RainMaker
Topic: Error:GPIO isr service already installed
Replies: 17
Views: 117851

Re: Error:GPIO isr service already installed

Hi Nirmesh, Can you share the code snippet for this new issue? Sure Piyush. As similar to the 2 switch app_driver.c file, I modified app_driver.c for 4 switches. /* This is the button that is used for toggling the power */ #define BUTTON_GPIO_1 17 #define BUTTON_GPIO_2 18 #define BUTTON_GPIO_3 19 #...
by nirmeshru
Mon Sep 06, 2021 6:02 pm
Forum: ESP RainMaker
Topic: Error:GPIO isr service already installed
Replies: 17
Views: 117851

Re: Error:GPIO isr service already installed

Hi Nirmesh, If I remember correctly, that is more like a warning rather than an error. Do you face any actual issues while using the GPIO. Regards, Piyush Hi Piyush, Actually when I tried two switches then there is no functional issue only getting the above error (warning). but I am working for fou...
by nirmeshru
Mon Sep 06, 2021 2:49 pm
Forum: ESP RainMaker
Topic: Error:GPIO isr service already installed
Replies: 17
Views: 117851

Re: Error:GPIO isr service already installed

From what you posted I can only see that you have defined GPIO pins. Can you post the code where you configured GPIO? You need to have something similar with: button_handle_t btn_handle_1 = iot_button_create(BUTTON_GPIO_1, BUTTON_ACTIVE_LEVEL_1); button_handle_t btn_handle_2 = iot_button_create(BUT...
by nirmeshru
Sun Sep 05, 2021 6:56 pm
Forum: ESP RainMaker
Topic: Error:GPIO isr service already installed
Replies: 17
Views: 117851

Error:GPIO isr service already installed

Hi, I modified the switch example and enabling two GPIO pins using two switch buttons. I am using the ESP32 custom board and after loading the program getting the below error. # switch button #define BUTTON_GPIO_1 21 #define BUTTON_GPIO_2 17 #define BUTTON_ACTIVE_LEVEL 0 /* This is the GPIO on which...