Skip to content

Commit 3c253e4

Browse files
committed
doc: add configuration example
Signed-off-by: Frederic Pillon <[email protected]>
1 parent def51aa commit 3c253e4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ The user can include the file `app_conf_custom.h` to customize the BLE applicati
3131
Options wrapped in `#ifndef`, `#endif` in `app_conf_default.h` can be overwritten.
3232
Additional options can be added.
3333

34+
The user can refer to [AN5270](https://www.st.com/resource/en/application_note/an5270-introduction-to-stm32wb-bluetooth-low-energy-wireless-interface-stmicroelectronics.pdf)
35+
36+
##### Examples
37+
38+
The user can change the Tx Power by redefining `CFG_TX_POWER` using the [`build_opt.h`](https://github.com/stm32duino/Arduino_Core_STM32/wiki/Customize-build-options-using-build_opt.h) file. Possible values are listed in the chapter
39+
**4.2 Tx power level**, default value is `0x18`(`-0.15dBm`). To set it at `+1dBm`, `CFG_TX_POWER` have to be defined at `0x1A`:
40+
41+
```
42+
-DCFG_TX_POWER=0x1A
43+
```
44+
3445
### Shield
3546

3647
The user can include the file `ble_spi_conf.h` to define which shield and configuration to use from the following list:

0 commit comments

Comments
 (0)