From 671d15e696d0bd74263f89629d5704017691beeb Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 7 Aug 2015 22:44:33 +0200 Subject: [PATCH] add gap_get_bondable_mode --- src/gap.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gap.h b/src/gap.h index 97116f7b8..3da8a0c8c 100644 --- a/src/gap.h +++ b/src/gap.h @@ -85,6 +85,12 @@ typedef enum { */ void gap_set_bondable_mode(int enabled); +/** + * @brief Get bondable mode. + * @return 1 if bondable + */ +int gap_get_bondable_mode(void); + /** * @brief Start dedicated bonding with device. Disconnect after bonding. * @param device