Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AT+WSCFG returns error when trying to set authentication to any of the possible options #896

Open
3 tasks done
fahirad opened this issue Jan 22, 2025 · 2 comments
Open
3 tasks done

Comments

@fahirad
Copy link

fahirad commented Jan 22, 2025

Answers checklist.

  • I have read the documentation ESP-AT Programming Guide and the issue is not addressed there.
  • I have used the latest released firmware or have updated my ESP-AT branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

I have been trying to follow this example https://docs.espressif.com/projects/esp-at/en/latest/esp32c3/AT_Command_Examples/websocket_at_examples.html#websocket-connection-over-tls-mutual-authentication as my basis for websocket connection. My ESP32-C3 is a client in this scenario. However the command for configuring the websocket component returns error if I send any value for auth field. I can't seem to find any issues similar to this one.
Any hints would be greatly appreciated!

@fahirad
Copy link
Author

fahirad commented Jan 22, 2025

I was using the wrong version after all, my bad.

@fahirad fahirad closed this as completed Jan 22, 2025
@fahirad fahirad reopened this Jan 28, 2025
@fahirad
Copy link
Author

fahirad commented Jan 28, 2025

Soo I still do need help.
A bit of background, we are using forked esp-at repository with original one as the upstream remote in it, so that we can share our changes (mostly pin related) among ourselves and also access new releases.
It is so troublesome to update it first of all. I have managed to do it but after a lot of time spent.
Shouldn't somewhere be a guide regarding how to update the esp-at other than cloning it again?

Back to the mentioned command. On the documentation site, when the master branch is selected for ESP32-C3, command WSCFG has additional entries for authentication. However after I have updated it and flashed my esp device it still did not work. Release v4.0 which seems like the latest one also doesn't have it.
My question is: Is authentication with websockets possible on ESP32C3 and if yes which version do I need to have to obtain it?

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

No branches or pull requests

1 participant