test-hog: Add monitor support
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 21 Dec 2021 19:32:51 +0000 (11:32 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:38 +0000 (19:08 +0530)
commit717a49171c8ea008da2076eb1d6c67c3ccfa4aa9
tree86ec19117f919561e2409cc4ace4369806d09306
parent9534a4e704b3d8091410db31be21cb6ddc7378cb
test-hog: Add monitor support

This adds monitor support so data can properly be decoded by the likes
of btmon:

= test-hog: /TP/HGRF/RH/BV-01-I - init
= test-hog: /TP/HGRF/RH/BV-01-I - setup
= test-hog: /TP/HGRF/RH/BV-01-I - setup complete
= test-hog: /TP/HGRF/RH/BV-01-I - run
> test-hog: User Data RX
      ATT: Read By Group Type Request (0x10) len 6
        Handle range: 0x0001-0xffff
        Attribute group type: Primary Service (0x2800)

Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
unit/test-hog.c