How to set BLE-MESH tx power

codeerror0x01
Posts: 1
Joined: Thu May 16, 2024 11:30 am

How to set BLE-MESH tx power

Postby codeerror0x01 » Thu May 16, 2024 11:44 am

Hey guys. I'd like to set up a BLE Mesh network with esp32s3, and I want to control it's tx transmission power.
I found there's an api names

Code: Select all

esp_ble_tx_power_set(esp_ble_power_type_t, esp_ble_power_level_t)
, but the documents says it should only be set after connection created. As far as I know BLE Mesh is connectionless, so what's the proper way to control the tx power in a BLE MESH network?

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: How to set BLE-MESH tx power

Postby chegewara » Tue May 21, 2024 3:06 am

You can use this API and it works (tested).

Who is online

Users browsing this forum: Fckx35056 and 94 guests