brandonhudson / Lightning

PHP micro framework for MQTT, letting you quickly connect, publish, and subscribe to topics.
Other
6 stars 1 forks source link

No support for TLS? #10

Closed rsre closed 2 months ago

rsre commented 5 years ago

Hi, I'm looking for some way to connect to Azure IoT Hub via MQTT with PHP. Your library looks very interesting, however it doesn't seem to include support for TLS. TLS is mandatory to connect to Azure IoT Hub.

I first tried to use bluerhinos' library but I couldn't get it to work with TLS even thought it does have support for it. Then I went to try to use yours but the TLS part has been stripped away, what were you trying to accomplish with that? Did you do it to decrease overall complexity? Is bluerhinos' implementation flawed in some way?

Thanks for releasing this, looks like a good job.