escape_ssid


Description:


public unowned string escape_ssid (uint8 ssid, uint32 len)

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.

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-util



2022 vala-language.org