Search found 773 matches

by chegewara
Sat Aug 17, 2019 8:17 am
Forum: ESP32 IDF
Topic: Https header missing (esp_https_server.h)
Replies: 3
Views: 143

Re: Https header missing (esp_https_server.h)

I think that flag does not exist in esp-idf 3.x.
by chegewara
Sat Aug 17, 2019 8:16 am
Forum: ESP32 IDF
Topic: OTA with BLE
Replies: 5
Views: 247

Re: OTA with BLE

by chegewara
Fri Aug 16, 2019 1:25 pm
Forum: ESP32 Arduino
Topic: BLE consistent connection
Replies: 2
Views: 76

Re: BLE consistent connection

Hi.
What version of arduino-esp32 are you using?
Please check if you have this patch included:
https://github.com/espressif/arduino-es ... 2974/files
by chegewara
Thu Aug 15, 2019 9:57 pm
Forum: ESP32 IDF
Topic: Https header missing (esp_https_server.h)
Replies: 3
Views: 143

Re: Https header missing (esp_https_server.h)

Code: Select all

make menuconfig -> Component config ->  ESP HTTPS server -> Enable ESP_HTTPS_SERVER component
by chegewara
Thu Aug 15, 2019 9:49 pm
Forum: ESP32 IDF
Topic: HID over GATT client
Replies: 4
Views: 198

Re: HID over GATT client

Simple answer is yes, you can build it on BLE client example.
Longer answer is that you need deep knowledge about HID and BLE itself.
by chegewara
Wed Aug 14, 2019 9:16 pm
Forum: ESP32 IDF
Topic: HID over GATT client
Replies: 4
Views: 198

Re: HID over GATT client

It all depends what HID host you want to build. Will it works with only one particular HID device or you want to build generic host that will work with any HID device.

Building BLE HID is easy, but to build HID host, especially generic host its a lot work.
by chegewara
Wed Aug 14, 2019 9:08 pm
Forum: ESP32 Arduino
Topic: How to use Callbacks in classes
Replies: 2
Views: 160

Re: How to use Callbacks in classes

When you create function where you pass typedef-ined callback function then you do it without arguments, because typedef already know how many and what kind arguments has this function. typedef int (*callbackFunctionArgument) (const int arg1, const int arg2); typedef void (*callbackFunction)(void); ...
by chegewara
Wed Aug 14, 2019 8:52 pm
Forum: ESP32 IDF
Topic: Access of CCCD value per each bonded device
Replies: 1
Views: 67

Re: Access of CCCD value per each bonded device

You have to track CCCD value for every connected client device, for example create structure that will keep CCCDs values and client address. When you want/need to send notification/indication just check if client registered for it. But this is only required if you are working on battery and want to ...
by chegewara
Wed Aug 14, 2019 8:45 pm
Forum: ESP32 IDF
Topic: OTA with BLE
Replies: 5
Views: 247

Re: OTA with BLE

Yes, i had it working. Currently i am trying to write OTA over BLE example and will create repository on github when i finish it. It is working now, but after OTA update i have very strange issue, my esp32 with new fw is restarting 3 times with unusual error logs. I am using custom service and chara...
by chegewara
Wed Aug 14, 2019 8:32 pm
Forum: ESP32 IDF
Topic: Anyone know how to decrypt with mbed aes CTR mode?
Replies: 2
Views: 111

Re: Anyone know how to decrypt with mbed aes CTR mode?

https://github.com/chegewara/esp32-mbedtls-aes-test/blob/master/main/main.c As Angus said, nonce value is changed by encrypt/decrypt function and you cant pass it to the next function. You can see i have 2 nonce, one for encrypt and one for decrypt function. static void ctr() { size_t nc_off = 0; si...

Go to advanced search