How to set the WiFi protocol to use on ESP32C6? #4006
-
Dear all, I am trying to utilize the WiFi6 support on ESP32C6 (station mode) by setting the protocol to use:
All the other WiFi functions were fine. However, this line to set protocol returned an error "UnknownWifiMode". I'm quite confused, since the ESP32C6 and esp-hal both support WiFi6. I appreciate any insight to this issue. Thank you. Here are the network related dependencies of my project:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The error might hint that STA mode is not enabled yet so the function "doesn't know" which interface to use. When do you call the function? You probably want to try to call it after On the other hand, I guess we should add a setting in (Unfortunately, I don't own a suitable access-point to really test this myself) |
Beta Was this translation helpful? Give feedback.
The error might hint that STA mode is not enabled yet so the function "doesn't know" which interface to use. When do you call the function?
You probably want to try to call it after
set_configuration
or even afterstart
.On the other hand, I guess we should add a setting in
ClientConfiguration
(and make sure the protocols get set inset_configuration
)(Unfortunately, I don't own a suitable access-point to really test this myself)