ESP IDF: Station + soft-AP (WIFI_MODE_APSTA) There is no working example - why? Where is?

User avatar
Vader_Mester
Posts: 300
Joined: Tue Dec 05, 2017 8:28 pm
Location: Hungary
Contact:

Re: ESP IDF: Station + soft-AP (WIFI_MODE_APSTA) There is no working example - why? Where is?

Postby Vader_Mester » Fri Aug 19, 2022 9:46 am

badidrox wrote:
Wed Jul 06, 2022 1:44 am
prolly dead thread but just in case anyone needs the solution:
Not dead, I'm actually excited to see this. I'll take a deeper dive in the code later, to see how can I implement is into my code.

Code: Select all

task_t coffeeTask()
{
	while(atWork){
		if(!xStreamBufferIsEmpty(mug)){
			coffeeDrink(mug);
		} else {
			xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
			xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
		}
	}
	vTaskDelete(NULL);
}

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP IDF: Station + soft-AP (WIFI_MODE_APSTA) There is no working example - why? Where is?

Postby Ritesh » Thu Aug 25, 2022 1:26 pm

badidrox wrote:
Wed Jul 06, 2022 1:44 am
prolly dead thread but just in case anyone needs the solution:

here is a repository that contains station mode, AP mode and station + AP mode. just to make life easier:
https://github.com/dahmadjid/esp32-idf- ... wifi_utils
Thanks for providing details. I will check it and let you know if any further query for the same.
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: Bryght-Richard, Google [Bot] and 115 guests