BT_INFO("__bt_adapter_post_set_enabled>>");
- if (TIZEN_PROFILE_TV || !headed_plugin_info->plugin_headed_enabled) {
+ if (TIZEN_PROFILE_IOT && !headed_plugin_info->plugin_headed_enabled) {
+ /* Tizen IOT Speaker - The default visible mode is off */
+ if (BLUETOOTH_ERROR_NONE != _bt_set_discoverable_mode(
+ BLUETOOTH_DISCOVERABLE_MODE_CONNECTABLE, 0))
+ BT_ERR("Fail to set discoverable mode");
+ } else if (TIZEN_PROFILE_TV || !headed_plugin_info->plugin_headed_enabled) {
if (BLUETOOTH_ERROR_NONE != _bt_set_discoverable_mode(
BLUETOOTH_DISCOVERABLE_MODE_GENERAL_DISCOVERABLE, 0))
BT_ERR("Fail to set discoverable mode");
#define TIZEN_PROFILE_IVI (get_tizen_profile() == _PROFILE_IVI)
#define TIZEN_PROFILE_TV (get_tizen_profile() == _PROFILE_TV)
#define TIZEN_PROFILE_MOBILE (get_tizen_profile() == _PROFILE_MOBILE)
+#define TIZEN_PROFILE_IOT (get_tizen_profile() == _PROFILE_IOT)
#define TIZEN_FEATURE_NETWORK_TETHERING_ENABLE (get_tizen_profile() & (_PROFILE_MOBILE))
#define TIZEN_FEATURE_TELEPHONY_ENABLED (get_tizen_profile() & (_PROFILE_MOBILE))