Search found 97 matches

by rwel59
Fri Oct 08, 2021 10:28 pm
Forum: ESP-IDF
Topic: Method to retrieve current wifi AP channel
Replies: 1
Views: 1742

Re: Method to retrieve current wifi AP channel

found it. esp_err_t esp_wifi_get_channel(uint8_t *primary, wifi_second_chan_t *second)
by rwel59
Fri Oct 08, 2021 1:20 pm
Forum: ESP-IDF
Topic: Method to retrieve current wifi AP channel
Replies: 1
Views: 1742

Method to retrieve current wifi AP channel

I need to get the channel of the connected AP. Is this info available without disconnecting then scanning?
by rwel59
Wed Sep 22, 2021 1:54 pm
Forum: ESP-IDF
Topic: Will ESPNOW + WIFI + BLE work simultaneously
Replies: 8
Views: 8921

Re: Will ESPNOW + WIFI + BLE work simultaneously

Set wifi mode (esp_wifi_set_mode) to WIFI_MODE_APSTA from WIFI_MODE_STA. This resulted in the error going away and seems like espnow packet loss has gone away. So all 3 services are now running simultaneously.

Haven't looked at the ramifications of making this change yet.f
by rwel59
Wed Sep 22, 2021 12:45 pm
Forum: ESP-IDF
Topic: Will ESPNOW + WIFI + BLE work simultaneously
Replies: 8
Views: 8921

Will ESPNOW + WIFI + BLE work simultaneously

I have an application with multiple ESP32's connected with ESPNOW to a master device that also connects to wifi. This all works great. I am now trying to add BLE functionality to the mix (for all devices). In the wifi + espnow setup, esp_wifi_set_ps is set to WIFI_PS_NONE. When I remove this, most o...
by rwel59
Sat Sep 18, 2021 12:30 am
Forum: ESP-IDF
Topic: Will ESPNOW work with WIFI simultaneously
Replies: 5
Views: 6236

Re: Will ESPNOW work with WIFI simultaneously

this ended up working pretty well and is very stable. I find the channel of the wifi ap then broadcast a message to all channels indicating which channel will be used for espnow connection (same channel as wifi ap) and each slave device then sets its channel to this.
by rwel59
Fri Aug 27, 2021 9:49 pm
Forum: ESP-IDF
Topic: Will ESPNOW work with WIFI simultaneously
Replies: 5
Views: 6236

Re: Will ESPNOW work with WIFI simultaneously

thanks, I've managed to get it to work and it seems stable. The system includes multiple esp32's sending data to a 'master' using espnow. The master is connected to wifi. I need to dynamically set the channel based on the wifi network that I connect to. This seems to work fine also. The master and s...
by rwel59
Mon Aug 23, 2021 3:06 pm
Forum: ESP-IDF
Topic: Will ESPNOW work with WIFI simultaneously
Replies: 5
Views: 6236

Will ESPNOW work with WIFI simultaneously

Haven't been able to find any definitive info that espnow and wifi will work together. Passing data between esp32's seems to work well using espnow. But I also need access to the data via web. I know that I can probably cobble something together but I need a robust solution. Is the technology capabl...
by rwel59
Fri Aug 06, 2021 3:21 pm
Forum: ESP-IDF
Topic: very angry, "esp_wifi_set_config cannot convert 'esp_interface_t' to 'wifi_interface_t'"
Replies: 3
Views: 6223

Re: very angry, "esp_wifi_set_config cannot convert 'esp_interface_t' to 'wifi_interface_t'"

Has the problem been fixed for you? I just updated to the latest master branch but still receiving the error
by rwel59
Mon Jun 07, 2021 11:13 pm
Forum: ESP-IDF
Topic: Can't change current partition running
Replies: 4
Views: 3172

Re: Can't change current partition running

thanks
by rwel59
Mon Jun 07, 2021 10:20 pm
Forum: ESP-IDF
Topic: Can't change current partition running
Replies: 4
Views: 3172

Re: Can't change current partition running

If I have 2 ota partitions defined and no factory partition, does this still work.

I feel like I should know this but haven't found the right docs. Do you have a link that would describe?