Skip to content

Commit 93c951b

Browse files
rakonsjoerchan
authored andcommitted
test: gatt_dm: Fix the discovery manager test
This commit fixes the discovery manager aligning the code to the changes in the rest of the bluetooth system. Signed-off-by: Radoslaw Koppel <[email protected]>
1 parent 992941d commit 93c951b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/gatt_dm/mock/gatt_discover_mock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static void bt_gatt_discover_work(struct k_work *work)
8787
break;
8888
}
8989
continue; /* Skip */
90-
case BT_GATT_DISCOVER_DESCRIPTOR:
90+
case BT_GATT_DISCOVER_ATTRIBUTE:
9191
break;
9292
default:
9393
zassert_unreachable(

tests/gatt_dm/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ CONFIG_ZTEST=y
77
CONFIG_NETWORKING=y
88

99
CONFIG_BT=y
10+
CONFIG_BT_CENTRAL=y
1011
CONFIG_BT_GATT_DM=y
1112
CONFIG_BT_GATT_DM_MAX_ATTRS=35
1213
CONFIG_BT_GATT_DM_MAX_MEM_CHUNKS=6

0 commit comments

Comments
 (0)