Diff between 4bc8660651f4143956611a4418248667f8276170 and dd5316091c71c0cb3141a5f44580d973d3770eed

Changed Files

File Additions Deletions Status
src/main.c +1 -1 modified
src/main.conf +3 -2 modified

Full Patch

diff --git a/src/main.c b/src/main.c
index d13ada2..50346ab 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1119,7 +1119,7 @@ static void parse_gatt(GKeyFile *config)
 	parse_config_u16(config, "GATT", "ExchangeMTU", &btd_opts.gatt_mtu,
 				BT_ATT_DEFAULT_LE_MTU, BT_ATT_MAX_LE_MTU);
 	parse_config_u8(config, "GATT", "Channels", &btd_opts.gatt_channels,
-				1, 5);
+				1, 6);
 	parse_config_bool(config, "GATT", "Client", &btd_opts.gatt_client);
 	parse_gatt_export(config);
 }
diff --git a/src/main.conf b/src/main.conf
index 60ab60e..e9c7552 100644
--- a/src/main.conf
+++ b/src/main.conf
@@ -263,8 +263,9 @@
 # Defaults to 517
 #ExchangeMTU = 517
 
-# Number of ATT channels
-# Possible values: 1-5 (1 disables EATT)
+# Number of ATT channels, 1 is mandatory since it is used for ATT fixed channel
+# index 2-6 are used for EATT which is optional.
+# Possible values: 1-6 (1 disables EATT)
 # Default to 1
 #Channels = 1