embedded/projects/osp-steval-mki109v2/sources/app/console_util.c
void CmdParse_User( int8_t *pBuffer, uint16_t size )
{
    pBuffer[size] = '\0';
    sscanf((char*)pBuffer, "log=%x", &g_logging);
    D1_printf("Received %d bytes: %s\r\n", size, pBuffer);
}
/****************************************************************************************************
 * @fn      CmdParse_User
 *          Called by command handler task to parse input serial string
 *
 * @param   pBuffer: pointer to received buffer
 * @param   size:    number of bytes received (always < COMMAND_LINE_SIZE)
 * @param   appMode: application mode (allows mode specific parsing)
 *
 * @return  none
 *
 ***************************************************************************************************/
@fn      CmdParse_User
Called by command handler task to parse input serial string

@param   pBuffer: pointer to received buffer
@param   size:    number of bytes received (always < COMMAND_LINE_SIZE)
@param   appMode: application mode (allows mode specific parsing)

@return  none
@fn CmdParse_User Called by command handler task to parse input serial string @param pBuffer : pointer to received buffer @param size : number of bytes received ( always < COMMAND_LINE_SIZE ) @param appMode : application mode ( allows mode specific parsing ) @return none
void CmdParse_User( int8_t *pBuffer, uint16_t size )
{
    pBuffer[size] = '\0';
    sscanf((char*)pBuffer, "log=%x", &g_logging);
    D1_printf("Received %d bytes: %s\r\n", size, pBuffer);
}
void CmdParse_User ( int8_t * pBuffer , uint16_t size ) { pBuffer [ size ] = ' \0 ' ; sscanf ( ( char * ) pBuffer , " " , & g_logging ) ; D1_printf ( " \r \n " , size , pBuffer ) ; }
@fn      CmdParse_User
          Called by command handler task to parse input serial string
@fn CmdParse_User Called by command handler task to parse input serial string