kopia lustrzana https://github.com/espressif/esp-idf
40 wiersze
675 B
C
40 wiersze
675 B
C
/* Bluetooth Mesh */
|
|
|
|
/*
|
|
* SPDX-FileCopyrightText: 2017 Intel Corporation
|
|
* SPDX-FileContributor: 2020-2021 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef _SCAN_H_
|
|
#define _SCAN_H_
|
|
|
|
#include "mesh_bearer_adapt.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
const bt_mesh_addr_t *bt_mesh_get_unprov_dev_addr(void);
|
|
|
|
int bt_mesh_scan_enable(void);
|
|
|
|
int bt_mesh_scan_disable(void);
|
|
|
|
int bt_mesh_scan_with_wl_enable(void);
|
|
|
|
struct bt_mesh_ble_scan_param {
|
|
uint32_t duration;
|
|
};
|
|
|
|
int bt_mesh_start_ble_scan(struct bt_mesh_ble_scan_param *param);
|
|
|
|
int bt_mesh_stop_ble_scan(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _SCAN_H_ */
|