!4411 feat:update ble manager interface

Merge pull request !4411 from kevin/master
This commit is contained in:
openharmony_ci 2023-11-21 04:22:37 +00:00 committed by Gitee
commit b2b30e8e8f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 12 additions and 2 deletions

View File

@ -72,8 +72,6 @@ struct SoftbusBroadcastMediumInterface {
const SoftbusBroadcastData *rspData);
int32_t (*UpdateBroadcasting)(int32_t advId, const SoftbusBroadcastParam *param, const SoftbusBroadcastData *bcData,
const SoftbusBroadcastData *rspData);
int32_t (*SetBroadcastingData)(int32_t advId, const SoftbusBroadcastData *bcData,
const SoftbusBroadcastData *rspData);
int32_t (*StopBroadcasting)(int32_t advId);
int32_t (*StartScan)(int32_t scanerId, const SoftBusBcScanParams *param);
int32_t (*StopScan)(int32_t scanerId);

View File

@ -38,6 +38,18 @@ extern "C"{
*/
#define SOFTBUS_ADDR_MAC_LEN 6
/**
* @brief Defines different broadcast media protocol stacks
*
* @since 1.0
* @version 1.0
*/
enum SoftbusMediumType {
BROADCAST_MEDIUM_TYPE_BLE,
BROADCAST_MEDIUM_TYPE_SLE,
BROADCAST_MEDIUM_TYPE_BUTT,
};
/**
* @brief Defines the broadcast data information
*