esp-idf/examples/bluetooth/bt_spp_acceptor
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
CMakeLists.txt
Makefile
README.rst
sdkconfig.defaults

README.rst

ESP-IDF BT-SPP-ACCEPTOR demo
======================

Demo of SPP acceptor role

This is the demo for user to use ESP_APIs to create a SPP acceptor.

Options choose step:
    1. make menuconfig.
    2. enter menuconfig "Component config", choose "Bluetooth"
    3. enter menu Bluetooth, choose "Classic Bluetooth" and "SPP Profile"
    4. choose your options.

Then set SPP_SHOW_MODE as SPP_SHOW_DATA or SPP_SHOW_SPEED in code(should be same with bt_spp_initator).

After the program started, bt_spp_initator will connect it and send data.