I really excited when i heard ESPHelper32 but i couldn't connect wifi.
I have ESP32 development board. I can use it is own library to connect wifi but when i try to connect with ESPHelper32 it continuously rebooting.
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0010,len:4
load:0x3fff0014,len:708
load:0x40078000,len:0
load:0x40078000,len:11460
entry 0x400789f4
E (592) wifi: esp_wifi_set_config 991 wifi is not init
/Users/ficeto/Desktop/ESP32/ESP32/esp-idf-public/components/freertos/./queue.c:1438 (xQueueGenericReceive)- assert failed!
abort() was called at PC 0x4008486d on core 0
Backtrace: 0x400870fc:0x3ffe3840 0x400871fb:0x3ffe3860 0x4008486d:0x3ffe3880 0x40115681:0x3ffe38c0 0x40082f2e:0x3ffe38e0 0x40083239:0x3ffe3900 0x40083453:0x3ffe3930 0x40115745:0x3ffe3960 0x401158ba:0x3ffe3990 0x4011590f:0x3ffe39b0 0x401078ec:0x3ffe39d0 0x400fe773:0x3ffe39f0 0x400f7832:0x3ffe3a20 0x400d2299:0x3ffe3a40 0x400d22b3:0x3ffe3aa0 0x400d251c:0x3ffe3ad0 0x400d14ee:0x3ffe3b60 0x400d15d1:0x3ffe3b80 0x400d148d:0x3ffe3bc0 0x400dff03:0x3ffe3be0 0x400812b4:0x3ffe3c00 0x4008148c:0x3ffe3c30 0x4007884e:0x3ffe3c50 0x400788b5:0x3ffe3c80 0x400789ee:0x3ffe3cb0 0x40078b13:0x3ffe3e70 0x40007c31:0x3ffe3eb0 0x4000073d:0x3ffe3f20
Rebooting...
#include "ESPHelper32.h"
//defualt net info for unconfigured devices
netInfo homeNet = { .mqttHost = "", //can be blank if not using MQTT
.mqttUser = "", //can be blank
.mqttPass = "", //can be blank
.mqttPort = 1883, //default port for MQTT is 1883 - only chance if needed.
.ssid = "Kesici_Guler",
.pass = "1237896540",
.otaPassword = "YOUR OTA PASS",
.hostname = "NEW-ESP8266"};
ESPHelper32 myESP(&homeNet);
void setup() {
Serial.begin(115200); //start the serial line
delay(500);
Serial.println("Starting Up, Please Wait...");
myESP.addSubscription("/test");
myESP.setMQTTCallback(callback);
myESP.begin();
Serial.println("Initialization Finished.");
}
void loop(){
myESP.loop(); //run the loop() method as often as possible - this keeps the network services running
//Put application code here
yield();
}
void callback(char* topic, uint8_t* payload, unsigned int length) {
//put mqtt callback code here
}
I am 100% sure that my wifi SSID and pass are correct.
I also tried to connect my mobile hot spot but nothing changed.
How can i solve this issue?