This is an automated email from the ASF dual-hosted git repository.
gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new a018a3a bluetooth/filter: add more OGF definition
a018a3a is described below
commit a018a3a26bffadc329a2fb1cb222e8840fb47a7d
Author: chao.an <[email protected]>
AuthorDate: Sat Apr 24 12:22:09 2021 +0800
bluetooth/filter: add more OGF definition
Change-Id: I4f1b98dc63ab2d9eeb523b8040aae88ea285bb9a
Signed-off-by: chao.an <[email protected]>
---
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 98822c0..88d16c0 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)