escape_ssid


Description:


[ Version ( deprecated = true , deprecated_since = "1.46" ) ]
public unowned string escape_ssid (uint8[] ssid)

Warning: escape_ssid is deprecated since 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:

ssid

pointer to a buffer containing the SSID data

len

length of the SSID data in ssid

Returns:

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


Namespace: NM.Utils
Package: libnm