From a018a3a26bffadc329a2fb1cb222e8840fb47a7d Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Sat, 24 Apr 2021 12:22:09 +0800 Subject: [PATCH] bluetooth/filter: add more OGF definition Change-Id: I4f1b98dc63ab2d9eeb523b8040aae88ea285bb9a Signed-off-by: chao.an --- include/nuttx/wireless/bluetooth/bt_hci.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/nuttx/wireless/bluetooth/bt_hci.h b/include/nuttx/wireless/bluetooth/bt_hci.h index 98822c04df..88d16c00bf 100644 --- a/include/nuttx/wireless/bluetooth/bt_hci.h +++ b/include/nuttx/wireless/bluetooth/bt_hci.h @@ -115,8 +115,10 @@ /* OpCode Group Fields */ #define BT_OGF_LINK_CTRL 0x01 +#define BT_OGF_LINK_POLICY 0x02 #define BT_OGF_BASEBAND 0x03 #define BT_OGF_INFO 0x04 +#define BT_OGF_STATUS 0x05 #define BT_OGF_LE 0x08 /* Construct OpCode from OGF and OCF */ @@ -127,6 +129,7 @@ #define BT_OP(ogf, ocf) ((ocf) | ((ogf) << 10)) #define BT_HCI_OP_DISCONNECT BT_OP(BT_OGF_LINK_CTRL, 0x0006) +#define BT_HCI_OP_READ_REMOTE_VERSION_INFO BT_OP(BT_OGF_LINK_CTRL, 0x001d) #define BT_HCI_OP_SET_EVENT_MASK BT_OP(BT_OGF_BASEBAND, 0x0001) #define BT_HCI_OP_RESET BT_OP(BT_OGF_BASEBAND, 0x0003) #define BT_HCI_OP_SET_CTL_TO_HOST_FLOW BT_OP(BT_OGF_BASEBAND, 0x0031)