2017-01-03 02:53:06 -05:00
|
|
|
Controller && VHCI
|
|
|
|
==================
|
2016-12-01 07:20:22 -05:00
|
|
|
|
|
|
|
Overview
|
|
|
|
--------
|
|
|
|
|
|
|
|
`Instructions`_
|
|
|
|
|
2017-01-17 14:03:26 -05:00
|
|
|
.. _Instructions: ../template.html
|
|
|
|
|
2016-12-01 07:20:22 -05:00
|
|
|
Application Example
|
|
|
|
-------------------
|
|
|
|
|
2017-01-19 03:16:06 -05:00
|
|
|
Check :example:`bluetooth` folder in ESP-IDF examples, which contains the following example:
|
2016-12-01 07:20:22 -05:00
|
|
|
|
2017-01-19 03:16:06 -05:00
|
|
|
:example:`bluetooth/ble_adv`
|
2016-12-01 07:20:22 -05: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 03:16:06 -05:00
|
|
|
* :component_file:`bt/include/bt.h`
|
2016-12-01 07:20:22 -05:00
|
|
|
|
|
|
|
Type Definitions
|
|
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-01-03 02:53:06 -05:00
|
|
|
.. doxygentypedef:: esp_vhci_host_callback_t
|
|
|
|
|
|
|
|
Enumerations
|
|
|
|
^^^^^^^^^^^^
|
|
|
|
|
2017-02-17 06:24:58 -05:00
|
|
|
.. doxygenenum:: esp_bt_mode_t
|
2017-01-03 02:53:06 -05:00
|
|
|
|
|
|
|
Structures
|
|
|
|
^^^^^^^^^^
|
|
|
|
|
2017-04-05 09:19:15 -04:00
|
|
|
.. doxygenstruct:: esp_bt_controller_config_t
|
|
|
|
:members:
|
|
|
|
|
2017-01-03 02:53:06 -05:00
|
|
|
.. doxygenstruct:: esp_vhci_host_callback
|
|
|
|
:members:
|
|
|
|
|
2016-12-01 07:20:22 -05:00
|
|
|
|
|
|
|
Functions
|
|
|
|
^^^^^^^^^
|
|
|
|
|
2017-01-03 02:53:06 -05:00
|
|
|
.. doxygenfunction:: esp_bt_controller_init
|
2017-02-17 06:24:58 -05:00
|
|
|
.. doxygenfunction:: esp_bt_controller_deinit
|
|
|
|
.. doxygenfunction:: esp_bt_controller_enable
|
|
|
|
.. doxygenfunction:: esp_bt_controller_disable
|
2017-02-20 12:05:37 -05:00
|
|
|
.. doxygenfunction:: esp_bt_controller_get_status
|
2017-01-03 02:53:06 -05:00
|
|
|
.. doxygenfunction:: esp_vhci_host_check_send_available
|
|
|
|
.. doxygenfunction:: esp_vhci_host_send_packet
|
|
|
|
.. doxygenfunction:: esp_vhci_host_register_callback
|
|
|
|
|