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

Send data with NO RESPONSE on BLERemoteCharacteristic #211

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

be1ieve
Copy link

@be1ieve be1ieve commented Nov 27, 2023

In BLECharacteristic, we already have setWriteProperty() and setWriteNRProperty().
But the coresponded BLERemoteCharacteristic can only send data to when setWriteProperty() is used.
According to "profile_client.h", there are GATT_WRITE_TYPE_REQ and GATT_WRITE_TYPE_CMD that can distinguish these two.
Modify BLERemoteCharacteristic.h and BLERemoteCharacteristic.cpp to add this function.

Enable ability to send command instead of send request. Corespond to BLECharacteristic->setWriteNRProperty()
Forget to pass parameter
@be1ieve
Copy link
Author

be1ieve commented Nov 28, 2023

Guess I encountered this bug maybe?

Copy link

This pull request is stale because there is no activity for 14 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant