This gives exception to battery profile to be shared both internally and
externally.
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
.device_remove = batt_remove,
.accept = batt_accept,
.disconnect = batt_disconnect,
+ .external = true,
};
static int batt_init(void)
const char *remote_uuid;
bool auto_connect;
+ /* Some profiles are considered safe to be handled internally and also
+ * be exposed in the GATT API. This flag give such profiles exception
+ * from being claimed internally.
+ */
bool external;
int (*device_probe) (struct btd_service *service);