gatt: Support DeviceInfo Service when vid/pid is specified
authorAlain Michaud <alainm@chromium.org>
Fri, 17 Jul 2020 14:40:07 +0000 (14:40 +0000)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:49 +0000 (14:30 +0530)
commit69614bb9bf5e67c95f3ad43797b9ccafe197b49f
tree6622c43e64e08e09cc05ced7d91514155ea29988
parent07850e3fe798a8a1c872aa85380131cc7bc03f4c
gatt: Support DeviceInfo Service when vid/pid is specified

This patch adds support for the PNPID characteristic when configured in
main.conf.

This was validated as read correclty both by manually reading the valud
and confirming in the Ellisys Analyzer.

ATT Read (PnP ID: Source=Bluetooth ID, Vendor=224, Product=50181,
ATT Read Response Packet (Source=Bluetooth ID, Vendor=224,
Product=50181, Version=86)     | OK     | 7 bytes (01 E0 00 05 C4 56 00)

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/gatt-database.c