Search found 30 matches

by Aussie Susan
Sun Mar 29, 2020 4:41 am
Forum: ESP32 IDF
Topic: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT
Replies: 13
Views: 1366

Re: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT

I think I have found the solution. In the ESP_GATTC_SEARCH_RES_EVT, if the service was one I was interested in, I was calling esp_ble_gattc_get_all_char and then remembered the characteristic handle fr later on. In the ESP_GATTC_SEARCH_CMPL_EVT I was reading the queued up characteristic handle and c...
by Aussie Susan
Fri Mar 27, 2020 10:59 pm
Forum: ESP32 IDF
Topic: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT
Replies: 13
Views: 1366

Re: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT

Thank you for your patch which I have just applied. I get the text "Inside esp_ble_gattc_read_char" but nothing after that. Also, what is the point of the call to 'read char' from within the 'write char' function (the 2nd part of the patch)? I'm never calling write char and it does not seem to be ca...
by Aussie Susan
Tue Mar 10, 2020 1:48 am
Forum: Hardware
Topic: ESP32 WROVER stuck in boot loop
Replies: 3
Views: 1075

Re: ESP32 WROVER stuck in boot loop

How are you flashing the device?
I was getting this using the QIO method and it was solved by changing to DIO. (This is mentioned at the bottom on one of the documents I found on the web)
Susan
by Aussie Susan
Thu Mar 05, 2020 2:23 am
Forum: ESP32 IDF
Topic: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT
Replies: 13
Views: 1366

Re: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT

I think it is a bit far off until April Fools day - but that can't be a serious answer! OK - so is what I'm trying to do - call the 'esp_ble_gattc_read_char()' function from the callback routine - the correct way to do this? Is it possible to read multiple characteristics in this way? Are there any ...
by Aussie Susan
Tue Mar 03, 2020 1:12 am
Forum: ESP32 IDF
Topic: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT
Replies: 13
Views: 1366

Re: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT

The code in that part of the app is:

Code: Select all

				status = esp_ble_gattc_read_char( global_gattc_if, current_conn_id,
								characteristic.char_handle, ESP_GATT_AUTH_REQ_NONE);
				ESP_ERROR_CHECK(status);
As nothing triggers the 'ESP_ERROR_CHECK' I take it that it is not returning an error.
Susan
by Aussie Susan
Fri Feb 28, 2020 1:50 am
Forum: ESP32 IDF
Topic: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT
Replies: 13
Views: 1366

Re: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT

1) Yes it is readable
2) No because I've read it from some other devices without bonding
(I wrote the server's code as well so I know how it is configured)
Susan
by Aussie Susan
Thu Feb 27, 2020 2:17 am
Forum: ESP32 IDF
Topic: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT
Replies: 13
Views: 1366

Re: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT

As I've not received any response here, I've also cross-posted to https://github.com/espressif/esp-idf/issues/4839 which also points back to here.
Susan
by Aussie Susan
Sun Feb 23, 2020 5:23 am
Forum: ESP32 IDF
Topic: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT
Replies: 13
Views: 1366

Re: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT

Is the problem that I'm trying to read more than 1 characteristic on a connection? All of the examples seem to show 1 connection, selecting one service and then reading one characteristic value. How is the state machine supposed to work when I want 3 services and read the characteristic value form e...
by Aussie Susan
Sat Feb 22, 2020 7:05 am
Forum: ESP32 IDF
Topic: Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT
Replies: 13
Views: 1366

Can't get esp_ble_gattc_read_char to trigger ESP_GATTC_READ_CHAR_EVT

I think I'm using the latest released version of ESP-IDF (I must admit that it is very hard to find exactly which version I have installed - all I see is references to the GIT repository but which version actually is 'stable' I have no idea: I think there should be a version number is at least one c...
by Aussie Susan
Thu Feb 13, 2020 1:28 am
Forum: ESP32 IDF
Topic: ESP-IDF V4 on PlatformIO
Replies: 4
Views: 482

Re: ESP-IDF V4 on PlatformIO

At least mine was not the only post on this topic: https://community.platformio.org/t/supp ... f-v4/11986
Susan

Go to advanced search