Function

NM-1.0NMutils_escape_ssidDeprecated 1.46

  • This function does a quick printable character conversion of the SSID, simply replacing embedded NULLs and non-printable characters with the hexadecimal representation of that character. Intended for debugging only, should not be used for display of SSIDs.

    Warning: this function uses a static buffer. It is not thread-safe. Don't use this function.

    Parameters

    • Deprecatedssid: string | Uint8Array<ArrayBufferLike>

      pointer to a buffer containing the SSID data

    Returns string

    pointer to the escaped SSID, which uses an internal static buffer and will be overwritten by subsequent calls to this function

    since 1.46: use nm_utils_ssid_to_utf8() or nm_utils_bin2hexstr().