dump

Synopsis

void dump(char *desc, unsigned char *data, short len);

Description

This function dumps the hex values of each byte in a buffer to the HSM log stream using printf().

It is intended as a convenience function for FM developers debugging their FM code.

Parameters

Parameter Description
desc Describes the buffer being displayed. This string is printed immediately before the buffer.
data This is a pointer to the buffer to be displayed.
len The length of the buffer to be displayed.