Search found 19 matches
- Thu May 28, 2020 2:40 pm
- Forum: ESP-IDF
- Topic: BLE requires another pairing process after ESP reboots? esp-idf, BLE
- Replies: 4
- Views: 4690
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...
- Fri Apr 10, 2020 7:31 pm
- Forum: ESP-IDF
- Topic: Command Prompt does not see -B optional?
- Replies: 0
- Views: 2943
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...
- Thu Feb 27, 2020 2:05 pm
- Forum: ESP-IDF
- Topic: ECDH Key exchange with iOS?
- Replies: 0
- Views: 2779
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...
- Thu Jan 09, 2020 5:19 pm
- Forum: ESP-IDF
- Topic: ESP-IDF and AWS IoT? Can't compile... [esp-idf] [aws IoT]
- Replies: 1
- Views: 3538
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...
- Fri Jan 03, 2020 9:46 pm
- Forum: ESP IoT Solution
- Topic: AWS IoT examples NO Amazon FreeRTOS?
- Replies: 8
- Views: 15301
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...
- Wed Nov 13, 2019 2:25 pm
- Forum: ESP-IDF
- Topic: Minimum pairing key size [BLE]
- Replies: 2
- Views: 4997
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...
- Tue Aug 13, 2019 3:08 pm
- Forum: ESP-IDF
- Topic: Anyone know how to decrypt with mbed aes CTR mode?
- Replies: 4
- Views: 7715
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...
- Wed Aug 07, 2019 12:53 pm
- Forum: ESP-IDF
- Topic: ESP32 Bluetooth Pairing Mode Change
- Replies: 3
- Views: 11900
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...
- Fri Aug 02, 2019 2:12 pm
- Forum: ESP-IDF
- Topic: Question about BLE and Wi-Fi security
- Replies: 3
- Views: 5114
Re: Question about BLE and Wi-Fi security
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!
- Thu Aug 01, 2019 5:12 pm
- Forum: ESP-IDF
- Topic: How to create a custom BLE service
- Replies: 1
- Views: 4573
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 ...