Search found 2 matches

by nossudak
Sat May 30, 2020 11:25 am
Forum: ESP-IDF
Topic: Where should I declare a variable of type nvs_handle_t?
Replies: 0
Views: 1527

Where should I declare a variable of type nvs_handle_t?

Hi, folks! In my code I have this function. If the variable NVS_handle is declared inside this function the error " 'NVS_handle' is used uninitialized in this function" appears during building process. However if NVS_handle is declared globally everything works fine. Can you explain, why that happen...
by nossudak
Wed Jul 31, 2019 2:47 am
Forum: ESP-IDF
Topic: How to get a value of a GATT characteristic periodically
Replies: 1
Views: 2209

How to get a value of a GATT characteristic periodically

Hello. I'm working on IDF example "ble_gatt_client". In this example GATT client (ESP32) uses notifications to get fresh data from GATT server. However my GATT server device (game pad) does not support notifications. The characteristic properties are "READ and WRITE" only. I managed to read the char...