Home
last modified time | relevance | path

Searched refs:BT_OP (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Dhci.h212 #define BT_OP(ogf, ocf) ((ocf) | ((ogf) << 10)) macro
594 #define BT_HCI_OP_LE_SET_EVENT_MASK BT_OP(BT_OGF_LE, 0x0001)
599 #define BT_HCI_OP_LE_READ_BUFFER_SIZE BT_OP(BT_OGF_LE, 0x0002)
606 #define BT_HCI_OP_LE_READ_LOCAL_FEATURES BT_OP(BT_OGF_LE, 0x0003)
612 #define BT_HCI_OP_LE_SET_RANDOM_ADDRESS BT_OP(BT_OGF_LE, 0x0005)
638 #define BT_HCI_OP_LE_SET_ADV_PARAM BT_OP(BT_OGF_LE, 0x0006)
649 #define BT_HCI_OP_LE_READ_ADV_CHAN_TX_POWER BT_OP(BT_OGF_LE, 0x0007)
655 #define BT_HCI_OP_LE_SET_ADV_DATA BT_OP(BT_OGF_LE, 0x0008)
661 #define BT_HCI_OP_LE_SET_SCAN_RSP_DATA BT_OP(BT_OGF_LE, 0x0009)
670 #define BT_HCI_OP_LE_SET_ADV_ENABLE BT_OP(BT_OGF_LE, 0x000a)
[all …]
A Dhci_vs.h53 #define BT_HCI_OP_VS_READ_VERSION_INFO BT_OP(BT_OGF_VS, 0x0001)
64 #define BT_HCI_OP_VS_READ_SUPPORTED_COMMANDS BT_OP(BT_OGF_VS, 0x0002)
70 #define BT_HCI_OP_VS_READ_SUPPORTED_FEATURES BT_OP(BT_OGF_VS, 0x0003)
76 #define BT_HCI_OP_VS_SET_EVENT_MASK BT_OP(BT_OGF_VS, 0x0004)
83 #define BT_HCI_OP_VS_RESET BT_OP(BT_OGF_VS, 0x0005)
88 #define BT_HCI_OP_VS_WRITE_BD_ADDR BT_OP(BT_OGF_VS, 0x0006)
98 #define BT_HCI_OP_VS_SET_TRACE_ENABLE BT_OP(BT_OGF_VS, 0x0007)
104 #define BT_HCI_OP_VS_READ_BUILD_INFO BT_OP(BT_OGF_VS, 0x0008)
115 #define BT_HCI_OP_VS_READ_STATIC_ADDRS BT_OP(BT_OGF_VS, 0x0009)
122 #define BT_HCI_OP_VS_READ_KEY_HIERARCHY_ROOTS BT_OP(BT_OGF_VS, 0x000a)
[all …]
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/
A Dbt.c493 buf = bt_hci_cmd_create(BT_OP(ogf, ocf), argc - 3); in cmd_hci_cmd()
500 err = bt_hci_cmd_send_sync(BT_OP(ogf, ocf), buf, &rsp); in cmd_hci_cmd()
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/test/
A Dbt.c674 buf = bt_hci_cmd_create(BT_OP(ogf, ocf), argc - 3); in cmd_hci_cmd()
681 err = bt_hci_cmd_send_sync(BT_OP(ogf, ocf), buf, &rsp); in cmd_hci_cmd()

Completed in 24 milliseconds