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

ESP_gattc_demo Error: #22

Open
vishnunaik opened this issue Oct 26, 2017 · 0 comments
Open

ESP_gattc_demo Error: #22

vishnunaik opened this issue Oct 26, 2017 · 0 comments

Comments

@vishnunaik
Copy link

vishnunaik commented Oct 26, 2017

Dear Sir,
We are working on ESP_gattc_demo_code to connect a sensor-Bluetooth module (Server) with ESP32(Client).
I am facing two types of Errors:

i) We are able to connect to the server but not able to read the service and characteristic UUID
Errors Highlighted in the Yellow color box:
error_when_service_is_not_detected

ii) When continuously pressing the reset button ESP32 able to read the service UUID provided by the server but not able to read the characteristic UUID at that instant. (This case is happening in random time)
Errors Highlighted in the Yellow color box:
error_when_service_is_detcted
When I went through your code which was updated in GitHub and the video tutorial: ESP32 #13:
Bluetooth Client reading from nRF51822 Server. I have seen one line which was there in video tutorial
is not exist in the updated code which is:
esp_ble_gattc_get_charcteristic (p_data->search res.conn_id, srvc_id, NULL): maybe because of this
in the second case, ESP32 not able read the characteristic UUID.
When I was adding this line to the updated gattc_code it is giving an error.

Sorry for writing this much big problem I hope you can understand my problem.
Thank you for your valuable time.

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

1 participant