esp-idf/examples/bluetooth/bt_discovery
Hrishikesh Dhayagude d9ce0bb705 Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes
The current API is insufficient to allow the users to set different combinations of connection and discoverable mode

Users should be able to choose the device modes independently:
1. Connectable-
  i. Non-connectable mode
  ii. Connectable mode

2. Discoverable-
  i. Non-discoverable mode
  ii. Limited discoverable mode
  iii. General discoverable mode
2019-03-13 11:24:00 +05:30
..
main Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes 2019-03-13 11:24:00 +05:30
CMakeLists.txt
Makefile
README.rst
sdkconfig.defaults

README.rst

ESP-IDF BT-INQUIRY demo
======================

Demo of Classic Bluetooth Device and Service Discovery

This is the demo for user to use ESP_APIs to perform inquiry to search for a target device and then performs service search via SDP.

Options choose step:
    1. make menuconfig.
    2. enter menuconfig "Component config", choose "Bluetooth"
    3. enter menu Bluetooth, choose "Classic Bluetooth" and do not choose "Release DRAM from Classic BT controller"
    4. choose your options.

After the program started, the device will start inquiry to search for a device with Major device type "PHONE" in the Class of Device Field. Then it will cancel the inquiry and started to perform service discovering on this remote device.