Toit
#Trying to connect to AWS IoT Core using MQTT and certificates
Thread channel in help
mattsoftware
05/09/2023 05:46 AM
Based on the documentation at
https://pkg.toit.io/github.com/toitware/
[email protected]
/docs/mqtt/class-SessionOptions
it seems like it accepts a username/password, but not a client key and certificate. Is this correct? If so, is it on the roadmap to be implemented by any chance (this is a blocker for my project)
Thanks.
OP
mattsoftware
Based on the documentation at
https://pkg.toit.io/github.com/toitware/
[email protected]
/docs/mqtt/class-SessionOptions
it seems like it accepts a username/password, but not a client key a...
floitsch
05/09/2023 08:41 AM
I will have a look.
Which MQTT broker are you trying to use?
floitsch
05/09/2023 08:45 AM
aah. Just saw the title: so this is AWS IoT Core.
floitsch
05/09/2023 08:50 AM
AWS should be supported. Let me write an example and add it to the MQTT package.
1
floitsch
05/09/2023 12:52 PM
PR is uploaded
https://github.com/toitware/mqtt/pull/76
Add AWS example. by floitsch ยท Pull Request #76 ยท toitware/mqtt
mattsoftware
05/09/2023 01:36 PM
Brilliant. Works perfectly, thankyou!
1
6 messages in total