From b1cf1ca02d48085977819f282248ac577a7fa53a Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Thu, 14 Dec 2017 12:26:41 +0100 Subject: [PATCH] tools/btpclient: Add implemented GAP commands to supported commands Those bits should be set so that remote BTP side knows which commands are implemented by IUT. --- tools/btpclient.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/btpclient.c b/tools/btpclient.c index eafa9d960..9ea624995 100644 --- a/tools/btpclient.c +++ b/tools/btpclient.c @@ -111,6 +111,10 @@ static void btp_gap_read_commands(uint8_t index, const void *param, commands |= (1 << BTP_OP_GAP_READ_SUPPORTED_COMMANDS); commands |= (1 << BTP_OP_GAP_READ_CONTROLLER_INDEX_LIST); commands |= (1 << BTP_OP_GAP_READ_COTROLLER_INFO); + commands |= (1 << BTP_OP_GAP_RESET); + commands |= (1 << BTP_OP_GAP_SET_POWERED); + commands |= (1 << BTP_OP_GAP_SET_DISCOVERABLE); + commands |= (1 << BTP_OP_GAP_SET_BONDABLE); commands = L_CPU_TO_LE16(commands); -- 2.47.3