Search found 10 matches
- Thu Dec 21, 2017 1:59 am
- Forum: ESP32 Arduino
- Topic: How to force client to disconnect
- Replies: 4
- Views: 14785
Re: How to force client to disconnect
My mistake here, the code is working fine. I was just out of date for the arduino-esp32 git repository
- Thu Dec 21, 2017 1:51 am
- Forum: General Discussion
- Topic: mbedtls_aes_crypt_ecb incorrect output
- Replies: 5
- Views: 9604
Re: mbedtls_aes_crypt_ecb incorrect output
Hi guys, ESP_Angus, thanks for moving the subject to a new topic. So here is my sample: #include "mbedtls/aes.h" mbedtls_aes_context aes; size_t _length = 16; unsigned char iv[16] = "0123456789abcde"; unsigned char key[] = "F56C041F990E5374A1E78B333DAEBEB1"; unsigned char input[16] = "abcdefghijklmn...
- Wed Dec 20, 2017 6:11 pm
- Forum: General Discussion
- Topic: mbedtls_aes_crypt_ecb incorrect output
- Replies: 5
- Views: 9604
mbedtls_aes_crypt_ecb incorrect output
Hi, Sorry to introduce on this post, but I have an issue with the function "mbedtls_aes_crypt_ecb". It seems to work on the esp32 itself. If I encrypt and decrypt it works fine. But if I try to encrypt the same data with the same key in IOS or any online encryption like http://aes.online-domain-tool...
- Fri Dec 15, 2017 11:49 am
- Forum: ESP32 Arduino
- Topic: How to force client to disconnect
- Replies: 4
- Views: 14785
Re: How to force client to disconnect
Ok so here is a piece of my code which is working properly. As you can see, once someone connected to my esp32, if he stay connected more than 10 seconds I display a message. All this process is working properly. #include <BLEDevice.h> #include <BLEUtils.h> #include <BLEServer.h> uint32_t beginTimer...
- Fri Dec 15, 2017 10:10 am
- Forum: Report Bugs
- Topic: Disable Bluetooth error
- Replies: 3
- Views: 11647
Re: Disable Bluetooth error
Hi quanvuee, Did you manage to make it work? I've heard that instead of deinit evertything we should just use "esp_bt_controller_disable", it doesn't work for me eitheir. I also tried to execute "ESP.restart();" on the loop (only on a certain condition), but the esp32 restart every seconds. I'm clue...
- Fri Dec 15, 2017 3:41 am
- Forum: ESP-IDF
- Topic: smartphone esp32 ble communcation and encryption
- Replies: 3
- Views: 7206
Re: smartphone esp32 ble communcation and encryption
Hi, @espiot, if I'm not mistaken, "web Bluetooth" is no yet released and if you want to use it, the end user need to do a lot of steps by himself. @bschwind, from my understanding, if you pair or bond with your device, the encryption of the data sent is not really needed because it's already handled...
- Fri Dec 15, 2017 3:27 am
- Forum: General Discussion
- Topic: data encryption
- Replies: 4
- Views: 11536
Re: data encryption
OK thanks, after a time spent looking on the code, I managed to understand how to use the mbedtls aes encryption/decryption
- Wed Dec 13, 2017 10:54 am
- Forum: ESP32 Arduino
- Topic: How to force client to disconnect
- Replies: 4
- Views: 14785
How to force client to disconnect
Hi, I'm actually using "ESP32_BLE_Arduino" library of nkolban, which is working fine. I have my esp32 with my custom service and characteristic. in the other hand, an ios or android app who can connect to the esp32 via BLE and update the caracteristic. The issue I have now is that if someone use an ...
- Mon Nov 27, 2017 9:14 am
- Forum: General Discussion
- Topic: data encryption
- Replies: 4
- Views: 11536
Re: data encryption
Hi,
I'm getting the same issue you. Did you you find out how to make it work?
I'm getting the same issue you. Did you you find out how to make it work?
- Thu Nov 23, 2017 6:46 am
- Forum: ESP-IDF
- Topic: smartphone esp32 ble communcation and encryption
- Replies: 3
- Views: 7206
smartphone esp32 ble communcation and encryption
Hi, I'm quite new on the ble communcation. What I am trying to do is to create a gatt server with the esp32, which is working with the different example provided. What I'm struggling to do is to create a custom service and characteristic on my gatt server and also to encrypt the communication. Somet...