X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bt-oal%2Finclude%2Foal-device-mgr.h;h=025c76114b8d6304b3919295abc221ae4924264f;hb=dbc49be4c7b96c3ad61be0896d47ac37bff97527;hp=cf493ad801c7f1403b78fcc7956c76a598dfa535;hpb=a85d361ff1719456fd37d32adf68aef94e9d67b5;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git diff --git a/bt-oal/include/oal-device-mgr.h b/bt-oal/include/oal-device-mgr.h index cf493ad..025c761 100755 --- a/bt-oal/include/oal-device-mgr.h +++ b/bt-oal/include/oal-device-mgr.h @@ -425,6 +425,19 @@ oal_status_t device_enable_rssi_monitoring(bt_address_t *addr, unsigned int link */ oal_status_t device_enable_gap_auth_notifications(oal_gap_auth_type_e type, gboolean enable); +/** + * @brief Disconnect the device + * + * @details This API is used to ACL disconnect the device + * + * @param[in] addr: Remote device address. + * + * @return TRUE if adapter has accepted the ACL Disconnect request FALSE otherwise. + * + * @pre Adapter must be enabled with adapter_enable() followed by OAL_EVENT_ADAPTER_ENABLED + */ +oal_status_t device_disconnect(bt_address_t * addr); + #ifdef __cplusplus } #endif /* __cplusplus */