monstrenyatko / ArduinoMqtt

MQTT client for Arduino
MIT License
72 stars 13 forks source link

Does this support ssl/tls on arduino mega? #11

Closed mudmin closed 7 years ago

mudmin commented 7 years ago

So sorry to ask here, but I can't get a straight answer on this anywhere.

tarzan115 commented 7 years ago

yes, just use WiFiClientSecure instead WiFiClient

mudmin commented 7 years ago

Do you know if there is a way to do this over ethernet?

On Sun, Aug 6, 2017 at 10:44 PM, Doanh Văn Lương notifications@github.com wrote:

yes, just use WiFiClientSecure instead WiFiClient

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/monstrenyatko/ArduinoMqtt/issues/11#issuecomment-320582090, or mute the thread https://github.com/notifications/unsubscribe-auth/AONNXJ9aJMV-H-5Ib8LDfJ5aYVbzEuwLks5sVrJPgaJpZM4Ouv2o .

-- Sent from my computer.

tarzan115 commented 7 years ago

no, sorry :(

monstrenyatko commented 7 years ago

The network communication is out of the library scope. You need to provide the MqttClient::Network object with required functionality to communicate with broker. Thanks @tarzan115 for the good answer.