Tearing hair out with simple WiFi

dylanakbt
Posts: 3
Joined: Tue Apr 03, 2018 9:59 am

Tearing hair out with simple WiFi

Postby dylanakbt » Tue Apr 03, 2018 10:05 am

This can't be as hard as I'm making it... I just want to respond to a GET request.

I have the esp32 connecting to a WiFi network just fine, and it's also running some BLE beacon scanning. I tried to use the http_request example code but whenever xEventGroupWaitBits fails the chip errors, aborts and I get some stack error...

Code: Select all

(path) (xEventGroupWaitBits)- assert failed!
abort() was called at PC 0x40090418 on core 0
There needs to be a simple way to do this. I assume I have the right example for what I'm trying to do. Can anybody point me in the right direction with this?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Tearing hair out with simple WiFi

Postby ESP_Sprite » Wed Apr 04, 2018 1:41 am

Pretty hard to say from those lines alone... can you post some more lines of the error (specifically a backtrace would be useful) and/or the crashing code?

dylanakbt
Posts: 3
Joined: Tue Apr 03, 2018 9:59 am

Re: Tearing hair out with simple WiFi

Postby dylanakbt » Mon Apr 23, 2018 10:44 am

For anyone stumbling across this post with a search, the problem was that I had forgotten this line (a little silly on my part!):

Code: Select all

my_event_group = xEventGroupCreate();
So I was waiting on an event group that didn't exist.

Who is online

Users browsing this forum: No registered users and 161 guests