# GATT configuration parameters
To configure the GATT server and client functions, use the server, client, and scan parameters.
## GATT server configuration parameters
The two types of server configuration parameters used to [perform Bluetooth Low Energy GATT server functions](https://docs.qualcomm.com/doc/80-70018-13/topic/perform_ble_gatt_server_functions.html#perform-ble-gatt-server-functions) are: advertiser and server parameters. These configuration parameters are managed through `AdvertiserConfigFile.txt` and `ServerConfigFile.txt` files, respectively.
`AdvertiserConfigFile.txt`
The following table lists the possible values of each advertisement parameter in the `AdvertiserConfigFile.txt` file.
| Parameters | Values |
| --- | --- |
| `TxPower` | **Legacy:**
>
>
>
0: ADVERTISE_TX_POWER_ULTRA_LOW(-21)
1: ADVERTISE_TX_POWER_LOW(-15)
2: ADVERTISE_TX_POWER_MEDIUM(-7)
3: ADVERTISE_TX_POWER_HIGH(1)
0: TX_POWER_ULTRA_LOW =-21
1: TX_POWER_LOW =-15
2: TX_POWER_MEDIUM =-7
3: TX_POWER_HIGH = 1
0: Use extended advertiser
1: Use legacy advertiser
0: Disable periodic advertiser
1: Enable periodic advertiser
0: Enable non-connectable advertiser
1: Enable connectable advertiser
0: Enable non-scannable advertiser
1: Enable scannable advertiser
This value is applicable only to the extended advertisers. For the legacy advertisers, always set it to true.
0: Use the advertiser address in all PDUs
1: Don’t use the advertiser address in PDUs
0: Don’t include Tx power in the extended header
1: Include Tx power in the extended header
1: 1 M-PHY
3: Low Energy (LE) coded PHY
1: 1 M-PHY
2: 2 M-PHY
3: LE coded PHY
160: Minimum advertisement interval (100 ms)
16777215: Maximum advertisement interval (10,485 s)
0: Minimum possible value
180000: Maximum possible timeout value in ms
0: Low-power mode
1: Balanced mode
2: Low latency mode (used for legacy)
Low-power mode: 1 s advertisement interval
Balanced mode: 250 ms advertisement interval
Low latency mode: 100 ms advertisement interval
0: Connects directly
1: Connects automatically as soon as a remote device is available
0: Connects directly
1: Provides the handle if it’s already connected based on the address and transport
1: 1 M-PHY
2: 2 M-PHY
4: LE coded PHY
7: All PHYs
1: 1 M-PHY
2: 2 M-PHY
4: LE coded PHY
7: All PHYs
0: Host preferred coding scheme
1: Use S = 2 (500 Kbps) coding scheme
2: Use S = 8 (125 Kbps) coding scheme. Use it only when the PHY is LE coded.
The minimum value is 23.
The maximum value is 512.
-1: Opportunistic mode
0: Low-power mode
1: Balanced mode
2: Low latency mode
0: Scan window (512 ms); scan interval (5120 ms)
1: Scan window (1024 ms); scan interval (4096 ms)
2: Scan window (4096 ms); scan interval (4096 ms)
0: Scan window (1500 ms); scan interval (150,000 ms)
1: Scan window (1500 ms); scan interval (15,000 ms)
2: Scan window (1500 ms); scan interval (5000 ms)
1: Initiates a callback to all the matched advertisements
2: Initiates a callback to the first matched advertisement
4: Initiates a callback when a device detected earlier stops sending advertisements.
0: Provides full scan results that have the device, RSSI, advertising data, scan response and, scan timestamps.
1: Provides scan results that have the device, RSSI, and scan timestamps.
1: 1 M-PHY
3: LE coded PHY. Use it for extended scanning only.
255: All supported PHYs
True: Legacy scanning
False: Extended scanning
0: Deliver reports immediately
>0: Accumulate scan results and deliver them after the delay mentioned (in ms) or if buffers are full (batch scan).
1: Aggressive match mode. The hardware finds a match even with feeble signal strength.
2: Sticky match mode. It requires a higher threshold of signal strength.
1: Matches one advertisement per filter
2: Matches few advertisements according to availability of hardware resources
3: Matches as many advertisements as the hardware allows