]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add support for appearance in scan rsp
authorMichał Narajowski <michal.narajowski@codecoup.pl>
Sun, 18 Sep 2016 10:50:03 +0000 (12:50 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 19 Sep 2016 18:19:34 +0000 (20:19 +0200)
commit5aaae95eaf700c8501f810623c2d328c24999a4d
tree9e9b497d8ddcf7f2aed5b1ada5735d40837429ef
parent666202661c6e7dde3789465ea4bbf5048e6aa18a
Bluetooth: Add support for appearance in scan rsp

This patch enables prepending appearance value to scan response data.
It also adds support for setting appearance value through mgmt command.
If currently advertised instance has apperance flag set it is expired
immediately.

Signed-off-by: Michał Narajowski <michal.narajowski@codecoup.pl>
Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/hci_request.c
net/bluetooth/mgmt.c