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

extend example HCI BLE controller on ESP32C3 (IDFGH-13756) #14618

Closed
3 tasks done
jkorenj opened this issue Sep 23, 2024 · 6 comments
Closed
3 tasks done

extend example HCI BLE controller on ESP32C3 (IDFGH-13756) #14618

jkorenj opened this issue Sep 23, 2024 · 6 comments
Assignees
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@jkorenj
Copy link

jkorenj commented Sep 23, 2024

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hello,

I would like to extend ESP-IDF UART HCI Controller example.
I would like to extend the controller commands with custom vendor specific commands, but I can't find a way to do this.

I will add a custom command on the host side (STM32), but I need to add it also on the ESP32C3 side, so I can make some action when parsing this commands.

Thank you for your help.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Sep 23, 2024
@github-actions github-actions bot changed the title extend example HCI BLE controller on ESP32C3 extend example HCI BLE controller on ESP32C3 (IDFGH-13756) Sep 23, 2024
@esp-zhp
Copy link
Collaborator

esp-zhp commented Sep 28, 2024

@jkorenj
Copy link
Author

jkorenj commented Oct 10, 2024

Thank you. I already enabled that, but I still don't understand how can I make a custom response to a vendor opcode.
When I send vendor specific code, stack automatically responds to it, and I don't know how to change the response.

And I have another question, are there are vendor specific commands that are already implemented?

Thank you for your help.

@esp-xzk
Copy link
Contributor

esp-xzk commented Oct 10, 2024

how can I make a custom response to a vendor opcode

Making a custom response would require altering Controller code, which we don't recommend.

are there are vendor specific commands that are already implemented?

We do have some of those. May I ask what sort of commands do you need? What specific functions are you looking for?
Thank you.

@jkorenj
Copy link
Author

jkorenj commented Oct 10, 2024

Hello,

I would like for example to read current firmware version on the module. And I would like to update the firmware through the same UART that it is used for HCI communication.

That is why I wanted to implement a few more commands that I would call as normal HCI commands

Thank you.

@esp-xzk
Copy link
Contributor

esp-xzk commented Oct 12, 2024

Sorry for the late reply. I have checked with my colleagues and unfortunately neither of these options are available at this time.

@jkorenj
Copy link
Author

jkorenj commented Oct 16, 2024

OK. Thank you.

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

5 participants