core: Add new policy for Just-Works repairing
authorhowardchung@google.com <howardchung@google.com>
Sat, 15 Feb 2020 03:44:33 +0000 (11:44 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:48 +0000 (14:30 +0530)
commit640a4df7b1d7b647a04126c05f34dcbf68240fdd
tree7465ba7a63cfd744c075d70ccbdb49f297c3f335
parent94c58003f28e68d99251bc0c838c2ad224b65ce0
core: Add new policy for Just-Works repairing

When kernel find out that the incoming Just-Works pairing is
initiated by a paired device, it is user space's responsibility to
decide the next action.

This patch includes the following:
- add JustWorksRepairing policy as an option in main.conf
- handle the confirmation request from kernel

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/device.c
src/hcid.h
src/main.c
src/main.conf