how can i Enable and utilize the TLS-SNI extension (Server Name Indication) within the firmware on SIM800L
Hi @ar123
Welcome to the HiveMQ Community! I’m not very familiar with the SIM800L modem, and unfortunately, I don’t have the device to perform additional tests. However, I’ve noticed that many users struggle to establish a TLS handshake on this device due to limited documentation on using AT commands for secure connections. Additionally, as far as I know, the SIM800L does not have a built-in MQTT service.
Typically, users integrate the TinyGSM library to handle AT commands for the SIM800 module and use the PubSubClient library for MQTT functionality.
Regarding TLS-SNI, the closest AT command I found in the SIM800L documentation is the command below, but I have no idea if this going to help in any way.
AT+SSLOPT=0,0 → If server authentication is required, this needs to be set.
You may want to try establishing a plain TCP connection to our free public HiveMQ broker (The Best Free Public MQTT Broker & MQTT Client by HiveMQ - Check out our MQTT Demo) or create a 15-day free trial on HiveMQ Cloud Starter, which does not require TLS-SNI for connectivity.
Kind regards,
Diego from HiveMQ Team