From d5ac1d2cda07879675b47dc4f473e8b4a58a9c6d Mon Sep 17 00:00:00 2001 From: Grzegorz Kolodziejczyk Date: Tue, 11 Mar 2014 11:09:32 +0100 Subject: [PATCH] emulator/btdev: Add support for LE set scan response command This adds support for btdev LE set scan response command. --- emulator/btdev.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emulator/btdev.c b/emulator/btdev.c index b54f91e52..8317cf3ed 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -2378,6 +2378,13 @@ static void default_cmd(struct btdev *btdev, uint16_t opcode, cmd_complete(btdev, opcode, &status, sizeof(status)); break; + case BT_HCI_CMD_LE_SET_SCAN_RSP_DATA: + if (btdev->type == BTDEV_TYPE_BREDR) + goto unsupported; + status = BT_HCI_ERR_SUCCESS; + cmd_complete(btdev, opcode, &status, sizeof(status)); + break; + case BT_HCI_CMD_LE_RAND: if (btdev->type == BTDEV_TYPE_BREDR) goto unsupported; -- 2.47.3