Add guest mode functionality (3/5)

Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active

Bug: 27410683
Change-Id: I994a2933fd60301927ff2df65da634f81d4c9428
This commit is contained in:
Ajay Panicker
2016-03-18 14:27:36 -07:00
parent a889c0915a
commit 6366e2328f

View File

@@ -463,7 +463,7 @@ typedef struct {
int (*init)(bt_callbacks_t* callbacks );
/** Enable Bluetooth. */
int (*enable)(void);
int (*enable)(bool guest_mode);
/** Disable Bluetooth. */
int (*disable)(void);