forked from espressif/esp-idf
fix(ble_mesh): fixed issue where private beacon used incorrect adv type
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
@@ -81,6 +81,22 @@
|
|||||||
#define RPL(a) ((struct bt_mesh_rpl *)(a))
|
#define RPL(a) ((struct bt_mesh_rpl *)(a))
|
||||||
#define VOID(a) ((void *)(a))
|
#define VOID(a) ((void *)(a))
|
||||||
|
|
||||||
|
/* Declare Lib Variables */
|
||||||
|
uint8_t __meshlib_var_BLE_MESH_ADV_PROV = BLE_MESH_ADV_PROV;
|
||||||
|
uint8_t __meshlib_var_BLE_MESH_ADV_DATA = BLE_MESH_ADV_DATA;
|
||||||
|
#if CONFIG_BLE_MESH_FRIEND
|
||||||
|
uint8_t __meshlib_var_BLE_MESH_ADV_FRIEND = BLE_MESH_ADV_FRIEND;
|
||||||
|
#endif
|
||||||
|
#if CONFIG_BLE_MESH_RELAY_ADV_BUF
|
||||||
|
uint8_t __meshlib_var_BLE_MESH_ADV_RELAY_DATA = BLE_MESH_ADV_RELAY_DATA;
|
||||||
|
#endif
|
||||||
|
uint8_t __meshlib_var_BLE_MESH_ADV_BEACON = BLE_MESH_ADV_BEACON;
|
||||||
|
uint8_t __meshlib_var_BLE_MESH_ADV_URI = BLE_MESH_ADV_URI;
|
||||||
|
#if CONFIG_BLE_MESH_SUPPORT_BLE_ADV
|
||||||
|
uint8_t __meshlib_var_BLE_MESH_ADV_BLE = BLE_MESH_ADV_BLE;
|
||||||
|
#endif
|
||||||
|
uint8_t __meshlib_var_BLE_MESH_ADV_TYPES_NUM = BLE_MESH_ADV_TYPES_NUM;
|
||||||
|
|
||||||
/* Sys utilities */
|
/* Sys utilities */
|
||||||
void bt_mesh_ext_put_be16(uint16_t val, uint8_t dst[2])
|
void bt_mesh_ext_put_be16(uint16_t val, uint8_t dst[2])
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user