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

Communicate to Azure in transparent mode #721

Open
MarianoFr opened this issue Apr 23, 2021 · 0 comments
Open

Communicate to Azure in transparent mode #721

MarianoFr opened this issue Apr 23, 2021 · 0 comments

Comments

@MarianoFr
Copy link

This is a request for support if possible.
I'd like to communicate to Azure ussing transparent mode, configuring the Xbee via an external MCU, ESP32.
I'm trying to achive this with the TinyGSM library.
The problem is when trying the secure TCP connection, my Xbee won't connect to the server. I use the commands:
ATTL3 (TLS 1.2)
IP4 (IP with SSL)
ATDLazure-host
ATDE8883
My device authenticates via SAS token, which I create with my software using the device's azure connection key. I know these tokens are correct because I've achieved connection via WiFi with the ESP32.
Thinking there could be a certificates related problem I loaded the Baltimore cert to my Xbee but this didn't resolve the issue, do I need client certificates?
Looking at your micropython sample, it looks like no certificates are needed. Is this correct?
Does the ussl module creates the client certificates?
Thanks in advance

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