Search found 17 matches

by phantomBlurrr
Thu Feb 27, 2020 2:05 pm
Forum: ESP32 IDF
Topic: ECDH Key exchange with iOS?
Replies: 0
Views: 389

ECDH Key exchange with iOS?

Does anyone know how to perform ECDH key exchange between ESP and iOS App? At the moment I have CryptoKit on the iOS App but there seems to be incompatibility between the iOS keys and the ones the ESP will accept. Any suggestions on reading materials or any examples are welcome! No clue which way to...
by phantomBlurrr
Thu Jan 09, 2020 5:19 pm
Forum: ESP32 IDF
Topic: ESP-IDF and AWS IoT? Can't compile... [esp-idf] [aws IoT]
Replies: 1
Views: 258

ESP-IDF and AWS IoT? Can't compile... [esp-idf] [aws IoT]

Hello, I am trying to communicate with AWS IoT via the MQTT protocol using "aws-iot-device-sdk-embedded-C" but I can't get my scripts to compile. I include the header file for the functions that I need (it's the AWS functions) but when I compile using "idf.py build" it says the .h files do not exist...
by phantomBlurrr
Fri Jan 03, 2020 9:46 pm
Forum: ESP IoT Solution
Topic: AWS IoT examples NO Amazon FreeRTOS?
Replies: 0
Views: 708

AWS IoT examples NO Amazon FreeRTOS?

Trying to figure out how to send data to AWS IoT Core. On their website all they have is the Amazon FreeRTOS guide, there's nothing on how to do it using just esp-idf. Anyone have any idea how to do this or links to resources? I started by setting up wifi on my ESP and also setting up the AWS IoT Co...
by phantomBlurrr
Wed Nov 13, 2019 2:25 pm
Forum: ESP32 IDF
Topic: Minimum pairing key size [BLE]
Replies: 2
Views: 345

Minimum pairing key size [BLE]

Hello, I am getting some seriously strange behavior from BLE. When I set the pairing key on the esp to 4 digits the esp can successfully pair as long as the connecting device is iOS. However, if we try to pair an android device the pairing process fails. On an android device, we must pad the key inp...
by phantomBlurrr
Tue Aug 13, 2019 3:08 pm
Forum: ESP32 IDF
Topic: Anyone know how to decrypt with mbed aes CTR mode?
Replies: 3
Views: 685

Anyone know how to decrypt with mbed aes CTR mode?

I'm trying to encrypt/decrypt data using mbed aes CTR mode. I can get the encryption to work, but I can't figure out how to make it decrypt. Below is my code: mbedtls_aes_context aes; unsigned char key[16]; unsigned char input[128] = {0x48, 0x45, 0x4c, 0x4c, 0x4f}; unsigned char output[128]; unsigne...
by phantomBlurrr
Wed Aug 07, 2019 12:53 pm
Forum: ESP32 IDF
Topic: ESP32 Bluetooth Pairing Mode Change
Replies: 1
Views: 1123

Re: ESP32 Bluetooth Pairing Mode Change

Hello, You are very close to the solution you want; The code you used to make the passkey be shown on the android device is correct, you just have to change some of the parameters. Try changing these like so: esp_ble_auth_req_t auth_req = ESP_LE_AUTH_REQ_SC_MITM_BOND; esp_ble_io_cap_t iocap = ESP_IO...
by phantomBlurrr
Fri Aug 02, 2019 2:12 pm
Forum: ESP32 IDF
Topic: Question about BLE and Wi-Fi security
Replies: 3
Views: 640

Re: Question about BLE and Wi-Fi security

Ritesh wrote:
Sat Jul 13, 2019 9:50 am
Do you need security for data communications as well or just connection level security is OK?
Hi Ritesh, thank you for your reply,
I am trying to make the connection as secure as possible, so communication security is necessary as well. Any advicse on this matter is very much appreciated!
by phantomBlurrr
Thu Aug 01, 2019 5:12 pm
Forum: ESP32 IDF
Topic: How to create a custom BLE service
Replies: 1
Views: 470

Re: How to create a custom BLE service

Hey Espressif team, Just wondering if it's possible or if it's in the works to make an example detailing how to create a customer BLE service not predefined by the BT SIG. Cheers, Gibson Hi, If you mean how to add custom services/characteristics to the GATT server, Espressif already has a tutorial ...
by phantomBlurrr
Mon Jul 29, 2019 8:48 pm
Forum: ESP32 IDF
Topic: ESP32 BLe Password Pairing
Replies: 2
Views: 669

Re: ESP32 BLe Password Pairing

Hello, Are you trying to make it so that when you connect to the ESP for the first time, it requests for you to pair your device. Not only that, but it requires a password to pair? This is what you want, right? If so, check out this: Sample code provided by Espressif: https://github.com/espressif/es...
by phantomBlurrr
Mon Jul 29, 2019 8:32 pm
Forum: ESP32 IDF
Topic: Automatically Reconnect w/Paired Device? esp-idf, BLE (solved)
Replies: 1
Views: 832

Re: Automatically Reconnect w/Paired Device? esp-idf, BLE (solved?)

Hello, It seems this is not done in the ESP firmware, it is done in the phone application code instead. I'm not sure if this is the correct way to do it or if there are more optimal ways, but here's what I did. In your Android phone application, in the line of code that starts the GATT connection fr...

Go to advanced search