* Copyright (c) 2026 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef DRIVER_BLE_BT_INTERFACE_H
#define DRIVER_BLE_BT_INTERFACE_H
#include "driver_ble_struct.h"
#ifdef __cplusplus
extern "C" {
#endif
*brief: ble是否使能
*param: 无
*return: true 表示BLE已使能,false 表示BLE未使能
*/
bool DriverIsBleEnabled(void);
*brief:br是否使能
*param: 无
*return: true 表示br已使能,false 表示br未使能
*/
bool DriverIsBrEnabled(void);
*brief:获取本段蓝牙地址
*param: 出参蓝牙地址
*return: 0 表示获取蓝牙地址成功,负值 表示获取蓝牙地址失败
*/
int32_t DriverGetLocalAddr(DriverBtAddr *addr);
#ifdef __cplusplus
}
#endif
#endif