DUMP
Synopsis
include <fmdebug.h>
void dump(char *desc, unsigned char *data, short len);
Description
This function converts unprintable character values into hex values and sends them to serial port 1 of the PSG.
On PSI-E and newer, this API writes to the HSM trace log.
Parameters
Parameter |
Description |
---|---|
desc
|
Pointer to string that holds the description of the dumped buffer. This string is dumped immediately before the dumped buffer. |
data
|
Pointer to buffer to be dumped |
len
|
The length of the buffer to be dumped (in bytes) |