Search found 10 matches

by borch84
Fri Dec 27, 2019 11:51 pm
Forum: ESP-IDF
Topic: WARNING: Toolchain version is not supported: esp32-2019r1 Expected to see version: esp-2019r2
Replies: 3
Views: 9445

Re: WARNING: Toolchain version is not supported: esp32-2019r1 Expected to see version: esp-2019r2

I am having the same issue.
I recently updated esp-idf master repo with git pull
$ git describe --tags --dirty
v4.1-dev-1572-g30372f5a4-dirty

/esp-idf$ ls
add_path.sh CONTRIBUTING.rst export.bat install.bat Kconfig README_CN.md sdkconfig.rename tools
CMakeLists.txt docs export.ps1 install.ps1 ...
by borch84
Thu Jan 17, 2019 6:15 am
Forum: ESP-IDF
Topic: fatal error: controller.h: No such file or directory
Replies: 0
Views: 3145

fatal error: controller.h: No such file or directory

Hi, I am trying to compile a gatt client example, but I am receiving this error:

/home/borch/Documents/Robotica/esp/gatt_client_wifi/main/gattc_wifi.c:40:24: fatal error: controller.h: No such file or directory
compilation terminated.
/home/borch/Documents/Robotica/esp/esp-idf/make/component ...
by borch84
Thu May 24, 2018 3:04 am
Forum: ESP-IDF
Topic: BT: bta_gattc_co_cache_addr_init, Line = 333, nvs flash get blob data fail, err_code = 110c
Replies: 1
Views: 4368

BT: bta_gattc_co_cache_addr_init, Line = 333, nvs flash get blob data fail, err_code = 110c

Hi I am getting a BT error.
First I initialize wifi, second mqtt client, and then the bluetooth in order to read an itag's ble address and send that address to a mqtt broker. However after initializing the mqtt client I got this message:

E (3324) BT: bta_gattc_co_cache_addr_init, Line = 333, nvs ...
by borch84
Sat May 19, 2018 8:10 pm
Forum: ESP-IDF
Topic: MQTT SSL Library
Replies: 4
Views: 11934

Re: MQTT SSL Library

I confirm I was able to use tuanpmt's mqtt_ssl with my mqtt broker. Thank you.
by borch84
Fri May 18, 2018 6:32 pm
Forum: ESP-IDF
Topic: MQTT SSL Library
Replies: 4
Views: 11934

Re: MQTT SSL Library

Thank you, I am going to take a look. Regards.
by borch84
Fri May 18, 2018 4:30 am
Forum: ESP-IDF
Topic: MQTT SSL Library
Replies: 4
Views: 11934

MQTT SSL Library

Hi Community,
I am trying to add MQTT Secure Client connectivity to my ESP32. Do you know which MQTT library I can use with SSL capability ? My MQTT broker uses certificates to establish the connection. I was able to use the WifiClientSecure.h and Adafruit MQTT library using the Arduino IDE. I was ...
by borch84
Fri May 18, 2018 3:42 am
Forum: ESP-IDF
Topic: GATT Client + Simple WiFi Examples
Replies: 2
Views: 6601

Re: GATT Client + Simple WiFi Examples

I think youve made a good find here. If we look on the v3.0 code base we find:

https://github.com/espressif/esp-idf/blob/release/v3.0/components/bt/bluedroid/include/bt_trace.h

However on the current master, that whole substructure (include downards) is gone.

It is extremely naughty (opinion ...
by borch84
Thu May 17, 2018 5:06 am
Forum: ESP-IDF
Topic: GATT Client + Simple WiFi Examples
Replies: 2
Views: 6601

GATT Client + Simple WiFi Examples

Hi I am working on putting together the two examples BLE GATT Client and the Simple Wifi Client. I am just adding libraries definitions and wifi's related function to the gattc client code first. When I compile this code I get the following error:

gatt_client_wifi borch$ make
CC build/main/gattc ...
by borch84
Thu May 17, 2018 12:59 am
Forum: ESP-IDF
Topic: ESP32 reads BLE iTag's Battery Service
Replies: 3
Views: 8644

Re: ESP32 reads BLE iTag's Battery Service

Thanks! I was able to read the value:

Code: Select all

const char *char_pointer = (char*)p_data->read.value
int battery_percentage = (int)*char_pointer;
ESP_LOGI(GATTC_TAG, "(p_data->read.value) Battery level: %d %%",battery_percentage);
by borch84
Fri May 04, 2018 9:40 pm
Forum: ESP-IDF
Topic: ESP32 reads BLE iTag's Battery Service
Replies: 3
Views: 8644

ESP32 reads BLE iTag's Battery Service

Hello, I am using gatt client example for reading the battery level value from an Itag, which is a BLE device.
The device is:

Screen Shot 2018-05-04 at 15.17.28.png

I am using the nRF Connect to discover the services advertised by the iTag. As you can see, the battery service is reporting 99 ...

Go to advanced search