Search found 19 matches

by phantomBlurrr
Thu May 28, 2020 2:40 pm
Forum: ESP32 IDF
Topic: BLE requires another pairing process after ESP reboots? esp-idf, BLE
Replies: 1
Views: 171

BLE requires another pairing process after ESP reboots? esp-idf, BLE

Hello, So I'm developing an application that should exhibit very similar behavior to the bluetooth capabilities in a car. In that scenario, suppose you buy a new car and you want to connect your phone to it for the first time. You just enable pairing on the car, then connect to it on your phone, bot...
by phantomBlurrr
Fri Apr 10, 2020 7:31 pm
Forum: ESP32 IDF
Topic: Command Prompt does not see -B optional?
Replies: 0
Views: 871

Command Prompt does not see -B optional?

Hello, I am simply trying to build my project and send the output to a different directory. The documentation says to use the -B option when running idf.py build the way I am using it is like this idf.py build -B \home\projectOutput The issue is that the latter will not build the project and instead...
by phantomBlurrr
Thu Feb 27, 2020 2:05 pm
Forum: ESP32 IDF
Topic: ECDH Key exchange with iOS?
Replies: 0
Views: 638

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: 381

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: 8
Views: 3256

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: 496

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: 997

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: 1862

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: 829

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: 661

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 ...

Go to advanced search