espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.89k stars 7.32k forks source link

Stop Ble Mesh Node advertisement which is shown in mobile while scanning for bluetooth devices (IDFGH-10612) #11848

Open sriha99 opened 1 year ago

sriha99 commented 1 year ago

Answers checklist.

General issue report

Hi,

We have developed a ble mesh product with esp32 utilising esp-idf 4.4.4. I want to know is there a way to stop a ble mesh node to stop ble advertisements which can be shown in mobile phones while scanning for nearby bluetooth devices. When scanning, the mesh node is identified as "ESP_BLE_MESH" in the bluetooth scanner and I dont want it to be visible in the bluetooth scanner.

Can someone guide me as how to disable the ble advertisements of a ble mesh node?

PS: Stopping advertisements shouldn't affect my provisioning process. Its ble advertisements should only be disabled after provisioning as to avoid being visible in the bluetooth scanner

forx157 commented 1 year ago

Hi, @sriha99 You can try disabling the BLE Mesh GATT Proxy Server in Component -> Config -> ESP BLE Mesh Support. to see if it meets your requirements.