adafruit / Adafruit_CircuitPython_MiniMQTT

MQTT Client Library for CircuitPython
Other
80 stars 49 forks source link

do not hard-code TLS port value #139

Closed vladak closed 1 year ago

vladak commented 1 year ago

When experimenting with TLS based connections to various ports on https://test.mosquitto.org/ , I found that the 8883 value is hard-coded. This change replaces the values with the global const. This does not fix the issue with specifying arbitrary port as TLS port, it merely straightens the use of global constant.