aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-01-16 18:42:03 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-01-19 15:41:19 +0100
commit8c1d15764377eb6a11aa432661d5afe60c2e8a9c (patch)
tree44266a07051f8a4fe94ad70f3dfd59dab8726a57 /configure.ac
parent1f80e9815f3bb98ddfabe5aaa9e69c0a47b84269 (diff)
bts-trx: trx_if.c: Improve parsing of received RSP messages from TRX
First the cached CMD sent (struct trx_ctrl_msg) is reworked to have the cmdname and the params in different buffers for easier comparison with RSP later. For the receive path (trx_ctrl_read_cb), new function helpers are added to parse the buffer into cmdname+params+code (parse_rsp) and to compare if a given RSP matches the current CMD we sent (cmd_matches_rsp). The reasoning behind this patch is that a way to check for parameters when receiving a RSP will be needed in future work, as before this patch checking of parameters is ignored. This commit is a preparation for commit to check for duplicated responses. Change-Id: I2474cbc3e4457cf04f78e1c168768295e1132034
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions