-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
[TW#15769] Better docs needed for esp_ble_gatts_create_service -> num_handle #1087
Comments
@nkolban What is a handle? --> An attribute handle is a 16-bit value that is assigned by each server to its own attributes to allow a client to reference those attributes. An attribute handle shall not be reused while an ATT Bearer exists between a client and its server. |
This is pure gold and MANY thanks for taking the time to write it up. I'm thinking that folks may not find this information easily. Would it be possible to write up this information in the documentation somewhere in here: http://esp-idf.readthedocs.io/en/latest/ Again ... many thanks. |
flush tcp buffer instead of reading it byte by byte.
There is a new signature on the exposed API called
esp_ble_gatts_create_service
. It has a new parameter callednum_handle
which only has the documentation:num_handle: number of handle requested for this service
I'd like to humbly request that the documentation for this be improved upon. My guess is that this parameter represents the number of handles to be allocated to the service. Reading the current statement, one might assume that this is the "number OF the handle" to be used as the start of handles. That might just be a simple grammar error.
However, when attempting to contemplate this function, the reader will now be puzzled by the notion. Among his questions will be:
The text was updated successfully, but these errors were encountered: