unit: Make use of tester_monitor to print input/output PDUs
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 5 Oct 2018 08:50:46 +0000 (11:50 +0300)
committerhimanshu <h.himanshu@samsung.com>
Tue, 14 Jan 2020 08:53:35 +0000 (14:23 +0530)
commit274f8c2024f6f0da1eb4bb3e5ec8c1beef185634
treeaea9eb9f732bf2d7af2d39b38898c2478c7db02c
parentbf532b3674f135d57fa255d12dc648741fcb248c
unit: Make use of tester_monitor to print input/output PDUs

tester_monitor will forward the data to btmon when -m/--monitor is
enabled which will attempt to decode the PDUs:

= test-gatt: /robustness/unkown-command - init                                                                                                                        11:44:53.464325
= test-gatt: /robustness/unkown-command - setup
= test-gatt: /robustness/unkown-command - setup complete
= test-gatt: /robustness/unkown-command - run
< test-gatt: User Data TX
      ATT: Exchange MTU Request (0x02) len 2
        Client RX MTU: 23
> test-gatt: User Data RX
      ATT: Exchange MTU Response (0x03) len 2
        Server RX MTU: 512
< test-gatt: User Data TX
      ATT: Unknown (0xff) len 1
        00                                               .
= test-gatt: /robustness/unkown-command - test passed
= test-gatt: /robustness/unkown-command - teardown
= test-gatt: /robustness/unkown-command - teardown complete
= test-gatt: /robustness/unkown-command - done

Change-Id: I44bd1f913f02a953301dc1e0a4b87a448219e7f0
Signed-off-by: himanshu <h.himanshu@samsung.com>
unit/test-avctp.c
unit/test-avdtp.c
unit/test-avrcp.c
unit/test-gatt.c
unit/test-sdp.c