mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 16:59:54 +00:00
!4411 feat:update ble manager interface
Merge pull request !4411 from kevin/master
This commit is contained in:
commit
b2b30e8e8f
@ -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);
|
||||
|
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user