Name
wlan_diag_dump_ascii — Output human-readable string
Synopsis
#include <wlan.h>
cyg_uint32 wlan_diag_dump_ascii
(
const char *tag
, const unsigned char *addr
, cyg_uint32 amount
)
;
Description
Since ESSID and passphrase values may contain non-printable characters
this helper function is just a wrapper
to diag_printf()
to display an arbitrary buffer
in a human-readable form. It is purely provided for test and
diagnostic use.
The tag
parameter is optional and can be
NULL. If non-NULL then the simple NUL-terminated string is output
before decoding the supplied amount
bytes of
data from the addr
memory reference.
Return value
The number of characters output.
2024-03-18 | eCosPro Non-Commercial Public License |