# HG changeset patch # User Mychaela Falconia # Date 1672123469 0 # Node ID 5fe0b3eb35c1eb3d51ef7b8d20038a2822a6dae0 # Parent ecce11a4890ca3d55dd274861bd199d3ce10e035 gsmfr-dlcap-parse: also parse hex output from fc-vm2hex diff -r ecce11a4890c -r 5fe0b3eb35c1 frtest/dlcap-parse.c --- a/frtest/dlcap-parse.c Tue Dec 27 01:37:20 2022 +0000 +++ b/frtest/dlcap-parse.c Tue Dec 27 06:44:29 2022 +0000 @@ -76,6 +76,11 @@ /* support both old and new formats */ if (isxdigit(linebuf[0]) && isxdigit(linebuf[1]) && isxdigit(linebuf[2]) && isxdigit(linebuf[3])) { + /* also support parsing output from fc-vm2hex */ + if (linebuf[4] == '\n') { + printf("#%d: fn=0 DSP %.4s\n", lineno, linebuf); + continue; + } rc = parse_dlcap_common(linebuf, status_words, tidsp_bytes); if (rc < 0) {