8.17. RF_TXPower: Modify the output power
Settings
index
Designation
Permissible
values
Default value
Permissions
Number
of
Bytes
17
See
description
8
read/write
1
This setting determines the output power in dBm of the module. The value has to be entered
in hexadecimal and as two’s complement. The permissible values are listed in the following
table.
Permissible values
Decimal [dBm]
-40
-20
-16
-12
-8
-4
0
Two’s complement,
hexadecimal
0xD8
0xEC
0xF0
0xF4
0xF8
0xFC
0x00
Decimal [dBm]
2
3
4
5
6
7
8
Two’s complement,
hexadecimal
0x02
0x03
0x04
0x05
0x06
0x07
0x08
8.17.1. Example 1
Set the output power of the module to -8 dBm, which is 0xF8 in two’s complement notation,
using
with settings index 17
Start signal
Command
Length
Settings index
Parameter
CS
0x02
0x11
0x02 0x00
0x11
0xF8
0xF8
Response
: Successfully modified the setting.
Start signal
Command | 0x40
Length
Status
CS
0x02
0x51
0x01 0x00
0x00
0x52
8.17.2. Example 2
Request the output power of the module using
with settings index 17
Start signal
Command
Length
Settings index
CS
0x02
0x10
0x01 0x00
0x11
0x02
Response
: Successfully read out the value 0x04 = 4dBm
Proteus-III reference manual version 1.3
© August 2020
www.we-online.com/wireless-connectivity
143