Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback parameter for esp_spp_cb_param_t::spp_open_evt_param open in example bluedroid/classic_bt/bt_spp_initiator (IDFGH-3447) #5409

Closed
DrClaudio73 opened this issue Jun 7, 2020 · 1 comment

Comments

@DrClaudio73
Copy link

Environment

  • Development Kit: [none]
  • Kit version (
  • Module or chip used: []
  • IDF version (run git describe --tags to find it): v4.2-dev-910-g4fe04f115
  • Build System: Make|CMake|idf.py
  • Compiler version (run xtensa-esp32-elf-gcc --version to find it):
  • Operating System: Windows|Linux|macOS
  • Using an IDE?: [Yes (VScode)]
  • Power Supply: USB|external 5V|external 3.3V|Battery

Problem Description

In file esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c

at line 119, this instruction:

esp_spp_write(param->srv_open.handle, SPP_DATA_LEN, spp_data);

should be changed with:

esp_spp_write(param->open.handle, SPP_DATA_LEN, spp_data);

as per API reference documentation.

//Detailed problem description goes here.
struct esp_spp_cb_param_t::spp_open_evt_param open
SPP callback param of ESP_SPP_OPEN_EVT

Thank you for your great work.

@github-actions github-actions bot changed the title Callback parameter for esp_spp_cb_param_t::spp_open_evt_param open in example bluedroid/classic_bt/bt_spp_initiator Callback parameter for esp_spp_cb_param_t::spp_open_evt_param open in example bluedroid/classic_bt/bt_spp_initiator (IDFGH-3447) Jun 7, 2020
@Alvin1Zhang
Copy link
Collaborator

@DrClaudio73 Thanks for reporting, we will look into.

espressif-bot pushed a commit that referenced this issue Aug 16, 2020
…es/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP

Closes #5409
Closes #5408

See merge request espressif/esp-idf!9114
espressif-bot pushed a commit that referenced this issue Sep 10, 2020
…es/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP

Closes #5409
Closes #5408

See merge request espressif/esp-idf!9114
espressif-bot pushed a commit that referenced this issue Sep 11, 2020
…es/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP

Closes #5409
Closes #5408

See merge request espressif/esp-idf!9114
espressif-bot pushed a commit that referenced this issue Oct 30, 2020
…es/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP

Closes #5409
Closes #5408

See merge request !9114
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants