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

Add option to enable/disable ble service change registration #1673

Closed
wants to merge 1 commit into from

Conversation

jedi7
Copy link
Contributor

@jedi7 jedi7 commented Mar 2, 2018

Add option to enable/disable automatic registration of BLE Gattc
service change notify. Which sends in paralel
(with user message flow) commands to BLE server which
sometime leads to GATT_BUSY.

Solving Issue 1575

@projectgus
Copy link
Contributor

Hi @jedi7 ,

Sorry for the delay in getting back to you.

For a new CONFIG_xxx option to be added to ESP-IDF, it will need a corresponding config item and description in the bt Kconfig file. Could you add one to this PR, please?
https://github.com/espressif/esp-idf/blob/master/components/bt/Kconfig

@Yulong-espressif @Weijian-Espressif @TianHao-Espressif Can you please take a look and provide further review comments? Thanks.

Angus

Add option to enable/disable automatic registration of BLE Gattc
service change notify. Which sends in parralel
(with user message flow) commands to BLE server which
sometime leads to GATT_BUSY.
(BLE server is able to handle only one command at time)

Solving Issue 1575
@jedi7
Copy link
Contributor Author

jedi7 commented Mar 29, 2018

Hi @projectgus, I changed the commit and made reversed logic to make it more clear.

@jedi7 jedi7 changed the title Add option to disable ble service change registration Add option to enable/disable ble service change registration Mar 29, 2018
Copy link
Collaborator

@Isl2017 Isl2017 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use it as a temporary solution. But, ultimately, we have to fix the GATT_BUSY issue even we enable BLE_ENABLE_SRVCHG_REG option.

@projectgus projectgus added the Status: Pending blocked by some other factor label Apr 10, 2018
@projectgus
Copy link
Contributor

Hi @jedi7 ,

I've rebased this branch and put it into our internal review & merge queue.

Angus

igrr pushed a commit that referenced this pull request Apr 23, 2018
Add option to enable/disable automatic registration of BLE Gattc
service change notify. Which sends in parralel
(with user message flow) commands to BLE server which
sometime leads to GATT_BUSY.
(BLE server is able to handle only one command at time)

Closes #1575

Merges #1673
@projectgus
Copy link
Contributor

Cherry-picked as 801632d. Thanks again!

@projectgus projectgus closed this Apr 24, 2018
@igrr igrr removed the Status: Pending blocked by some other factor label Aug 9, 2018
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

Successfully merging this pull request may close these issues.

None yet

4 participants