nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ parser_process_str()

int parser_process_str ( struct parser * parser,
const char * data )

Parse ASCII formatted hexadecimal string.

The format of the hexadecimal string is defined in 3GPP TS 27.005 Section 4.0 and 3.1. <pdu> definition says the following: "ME/TA converts each octet of TP data unit into two IRA character long hexadecimal number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50 and 65))"

Parameters
[in]parserParser instance.
[in]dataASCII formatted hex string containing the data to be parsed.
Returns
Zero if successful, negative value in error cases.