Search found 707 matches

by chegewara
Wed May 15, 2019 3:01 pm
Forum: General Discussion
Topic: GATT Client - Multiple connection issue without scan
Replies: 2
Views: 131

Re: GATT Client - Multiple connection issue without scan

First of all you need to separately register app for every peer device you want to connect to. This will give you different gattc_if values for every successful registered app. From your code snippet we can see that you are trying to open connection to all peer devices with the same gattc_if: gl_pro...
by chegewara
Wed May 15, 2019 2:32 pm
Forum: General Discussion
Topic: Why make -j8 flash rebuilds the project?
Replies: 8
Views: 300

Re: Why make -j8 flash rebuilds the project?

Hi,
recently i found that changing Makefile also is causing full project rebuild.
by chegewara
Sun May 12, 2019 5:20 pm
Forum: ESP32 IDF
Topic: create NVS with partition generator utility
Replies: 1
Views: 118

create NVS with partition generator utility

Hi, i have question about file formatting to generate NVS partition. From documentation i know it is CSV file and probably i should perform some tests before i ask this question. I would like to ask how should be formatted file to build NVS partition with pem certificates? key,type,encoding,value na...
by chegewara
Sat May 11, 2019 11:10 am
Forum: ESP32 IDF
Topic: Problem in Computing AES 256 CBC
Replies: 12
Views: 537

Re: Problem in Computing AES 256 CBC

Here you have logs from my app: I (327) KEY: bf 9a d2 76 37 a9 48 33 02 de a5 9a 4d 00 f0 3f I (327) KEY: ac b2 c5 9b a4 2e 4e 54 65 60 22 b1 b1 f7 88 a8 I (337) IV: f7 16 20 b1 79 6c 89 d7 82 1f 4b 06 54 e0 da 29 I (347) ENCRYPTED HEX: 51 9f 43 57 1f fb 7a c5 63 20 78 3f 47 2f c0 55 I (347) DECRYPT...
by chegewara
Fri May 10, 2019 3:41 pm
Forum: ESP32 Arduino
Topic: ESP32 BLE Bonding | PassKey over WiFi
Replies: 1
Views: 132

Re: ESP32 BLE Bonding | PassKey over WiFi

It is just theory, but its how you could do:
- add xQueueReceive or xEventGroupWaitBits in this callback:

Code: Select all

	uint32_t onPassKeyRequest(){
		vTaskDelay(15000); 
		return code;
	}
- open website to enter pin (before you start pairing),
- start pairing,
- send pin from website.
by chegewara
Fri May 10, 2019 3:36 pm
Forum: ESP32 IDF
Topic: Problem in Computing AES 256 CBC
Replies: 12
Views: 537

Re: Problem in Computing AES 256 CBC

Maybe the tool you are using to encrypt data is using different type on encoding, not CBC?

I did few quick tests with esp32 and this website and it is working, so maybe the other device/tool is broken, not esp32.
http://aes.online-domain-tools.com/
by chegewara
Thu May 09, 2019 6:17 pm
Forum: ESP32 Arduino
Topic: Activate BLE Bonding and security with Button and show special services
Replies: 9
Views: 531

Re: Activate BLE Bonding and security with Button and show special services

You can use this library like any other component.
Copy cpp_utils to somponents folder, add components.mk file (usually its empty file, but required), and thats it. Also you dont need all files from cpp_utils folder, some are for ble, some are just for other functions not related to ble.
by chegewara
Thu May 09, 2019 6:11 pm
Forum: ESP32 IDF
Topic: calloc fails even when free heap is large enough
Replies: 2
Views: 197

Re: calloc fails even when free heap is large enough

Check options in menuconfig about how psram should be added to heap, because not always memory can be with calloc.
Also try to use:

Code: Select all

 heap_caps_malloc(..., MALLOC_CAP_SPIRAM)   
 
by chegewara
Thu May 09, 2019 6:06 pm
Forum: General Discussion
Topic: ShadowUpdateStatusCallback - how best to use shadow to control device
Replies: 7
Views: 446

Re: ShadowUpdateStatusCallback - how best to use shadow to control device

Hi, now when you have some logs in esp mqtt, is it possible to you to catch that message before it is being parsed?
If its possible, could you post it here, it can be string or hex buffer.

Go to advanced search