What is the maximum host name length supported in AT+SQNSD?

Hello

When opening a socket with AT+SQNSD, the remote address parameter can be either an IP address or a host name that the module resolves through DNS.

What is the maximum number of characters accepted for a host name in this field? The `AT+SQNSD=?` output does not show a length limit. Does the same limit apply to AT+SQNSSEND and AT+SQNSSENDEXT?

What happens if the host name is longer than the supported length?

Thanks.

The maximum is 115 bytes, and the same limit applies to AT+SQNSD, AT+SQNSSEND and AT+SQNSSENDEXT. This comes from the Monarch 2 LR8.2 AT Commands Reference Manual Rev. 5a. if the host name is longer than the supported length, the AT command will return ERROR.

The current longest valid domain names ever registered is theofficialabsolutelongestdomainnameregisteredontheworldwideweb.international, which spans a total of 77 characters, well below this limit.