English
Language : 

ZAURA Datasheet, PDF (85/99 Pages) –
ZAURA RF Wireless Library
Programmer’s Reference Manual
73
ZAURA_RF_ShellPrintf
Description The ZAURA_RF_ShellPrintf prints a formatted string on the console.
The format string defines what the output should look like and includes
special characters as placeholders for numbers and characters that are
passed to the function as arguments. This is a scaled down version of
the standard printf().
Syntax
ZAURA_RF_STATUS ZAURA_RF_ShellPrintf(const char * Format,
…)
Parameters
Format
The format string for the list of arguments.
…
A list of 0 or more arguments to be printed on the console, using the format
string.
The format string can contain any of the conversion flags and argument types
listed in the following table.
Conversion
Flag
%c
Argument Type
Unsigned 8-bit integer
%d
Signed 16-bit integer
%ld
Signed 32-bit integer
%u
Unsigned 16-bit integer
%lu
Unsigned 32-bit integer
%x
16-bit hex value
%lx
32-bit hex value
%s
Character string
%%
None
Output
ASCII representation of the 1 byte hexadecimal
input value. Input should be between 0x20 and
0x7F.
–32768 to 32767.
–2147483648 to 2147483647.
0 to 65535.
0 to 4,294,967,295.
0 to FFFF (always upper case).
0 to FFFFFFFF (always upper case).
ASCII representation of the character string.
Add the '%' sign to the output.
RM006003-1011
ZAURA_RF_ShellPrintf