English
Language : 

ZAURA Datasheet, PDF (81/99 Pages) –
ZAURA RF Wireless Library
Programmer’s Reference Manual
69
ZAURA_RF_ShellAtox
Description The ZAURA_RF_ShellAtox function replaces the ASCII string
pointed to by pData with a converted hexadecimal value. No error
check is performed on the string. It is assumed that the string contains
only numbers from 0–9 and A–F (or a–f). If there are other characters,
the result is unpredictable.
This API overwrites the pData buffer.
Syntax
UINT8 ZAURA_RF_ShellAtox(char * pData)
Parameters
pData
A pointer to the hexadecimal characters to be converted to a hexadec-
imal value.
Returns
Example
Number of characters converted.
UINT8 Data;
/*
* Convert ASCII parameter to hexadecimal value.
*/
ZAURA_RF_ShellAtox( pZAURA_RF_Token[1] );
Data = (UINT8)*pZAURA_RF_Token[1];
RM006003-1011
ZAURA_RF_ShellAtox