Skip to content

Conversation

bestaar
Copy link
Contributor

@bestaar bestaar commented Oct 26, 2021

When using the [FTM examples])https://github.com/espressif/arduino-esp32/tree/master/libraries/WiFi/examples/FTM/) I got an error in the Serial Monitor for FTM_Initiator.ino:

"wifi:channel=0 is invalid"

I solved it for myself by simply passing the channel argument to be 1 in WiFi.initiateFTM. However, a better fix would be to directly change the default channel here.

Summary

channel=0 seems to be invalid for initiateFTM, i.e. we get the error message "wifi:channel=0 is invalid". The proposed fix changes the default channel in initiateFTM from 0 to 1.

Impact

The example codes for FTM will work out of the box ;)

When using the FTM examples I got an error in the FTM_Initiator.ino:

*"wifi:channel=0 is invalid"*

I solved it for myself by simply passing the channel argument to be 1 in *WiFi.initiateFTM*. However, a better fix would be to directly change the default channel here.
@CLAassistant
Copy link

CLAassistant commented Oct 26, 2021

CLA assistant check
All committers have signed the CLA.

@me-no-dev me-no-dev merged commit 4b9dc61 into espressif:master Nov 4, 2021
@me-no-dev
Copy link
Member

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants