src/apps/command_parse.c
uint8_t AT_strQuotation( char * pStr ) {  
    uint8_t len = strlen( pStr );
    if( *pStr == '"' ) {
        if( *( pStr + len - 1 ) == '"' ) {
            if( AT_strDeleteTargetChar( pStr, '"' ) == 2)
                return 0;
            else
                return 1;
        }
    }
    return AT_strDeleteTargetChar( pStr, '"' );
}
/*
 * Test if contain "(double Quotation), if so delete it 
 * return:      0,  correct format , and delete it or none exist
 *              others,  wrong format
 */
Test if contain "(double Quotation), if so delete it
return:      0,  correct format , and delete it or none exist
others,  wrong format
Test if contain " ( double Quotation ) if so delete it return : 0 correct format and delete it or none exist others wrong format
uint8_t AT_strQuotation( char * pStr ) {  
    uint8_t len = strlen( pStr );
    if( *pStr == '"' ) {
        if( *( pStr + len - 1 ) == '"' ) {
            if( AT_strDeleteTargetChar( pStr, '"' ) == 2)
                return 0;
            else
                return 1;
        }
    }
    return AT_strDeleteTargetChar( pStr, '"' );
}
uint8_t AT_strQuotation ( char * pStr ) { uint8_t len = strlen ( pStr ) ; if ( * pStr == ' ' ) { if ( * ( pStr + len - 1 ) == ' ' ) { if ( AT_strDeleteTargetChar ( pStr , ' ' ) == 2 ) return 0 ; else return 1 ; } } return AT_strDeleteTargetChar ( pStr , ' ' ) ; }
Test if contain "(double Quotation), if so delete it
 return:      0,  correct format , and delete it or none exist
              others,  wrong format
Test if contain " ( double Quotation ) if so delete it return : 0 correct format and delete it or none exist others wrong format