2017-01-03 07:53:06 +00:00
|
|
|
Controller && VHCI
|
|
|
|
==================
|
2016-12-01 12:20:22 +00:00
|
|
|
|
|
|
|
Overview
|
|
|
|
--------
|
|
|
|
|
|
|
|
`Instructions`_
|
|
|
|
|
2017-01-17 19:03:26 +00:00
|
|
|
.. _Instructions: ../template.html
|
|
|
|
|
2016-12-01 12:20:22 +00:00
|
|
|
Application Example
|
|
|
|
-------------------
|
|
|
|
|
2017-01-19 08:16:06 +00:00
|
|
|
Check :example:`bluetooth` folder in ESP-IDF examples, which contains the following example:
|
2016-12-01 12:20:22 +00:00
|
|
|
|
2017-01-19 08:16:06 +00:00
|
|
|
:example:`bluetooth/ble_adv`
|
2016-12-01 12:20:22 +00:00
|
|
|
|
|
|
|
This is a BLE advertising demo with virtual HCI interface. Send Reset/ADV_PARAM/ADV_DATA/ADV_ENABLE HCI command for BLE advertising.
|
|
|
|
|
|
|
|
API Reference
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Header Files
|
|
|
|
^^^^^^^^^^^^
|
|
|
|
|
2017-01-19 08:16:06 +00:00
|
|
|
* :component_file:`bt/include/bt.h`
|
2016-12-01 12:20:22 +00:00
|
|
|
|
|
|
|
Type Definitions
|
|
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-01-03 07:53:06 +00:00
|
|
|
.. doxygentypedef:: esp_vhci_host_callback_t
|
|
|
|
|
|
|
|
Enumerations
|
|
|
|
^^^^^^^^^^^^
|
|
|
|
|
2017-02-17 11:24:58 +00:00
|
|
|
.. doxygenenum:: esp_bt_mode_t
|
2017-01-03 07:53:06 +00:00
|
|
|
|
|
|
|
Structures
|
|
|
|
^^^^^^^^^^
|
|
|
|
|
|
|
|
.. doxygenstruct:: esp_vhci_host_callback
|
|
|
|
:members:
|
|
|
|
|
2016-12-01 12:20:22 +00:00
|
|
|
|
|
|
|
Functions
|
|
|
|
^^^^^^^^^
|
|
|
|
|
2017-01-03 07:53:06 +00:00
|
|
|
.. doxygenfunction:: esp_bt_controller_init
|
2017-02-17 11:24:58 +00:00
|
|
|
.. doxygenfunction:: esp_bt_controller_deinit
|
|
|
|
.. doxygenfunction:: esp_bt_controller_enable
|
|
|
|
.. doxygenfunction:: esp_bt_controller_disable
|
2017-02-20 17:05:37 +00:00
|
|
|
.. doxygenfunction:: esp_bt_controller_get_status
|
2017-01-03 07:53:06 +00:00
|
|
|
.. doxygenfunction:: esp_vhci_host_check_send_available
|
|
|
|
.. doxygenfunction:: esp_vhci_host_send_packet
|
|
|
|
.. doxygenfunction:: esp_vhci_host_register_callback
|
|
|
|
|