Search found 10 matches

by blekyo
Thu Dec 21, 2017 1:59 am
Forum: ESP32 Arduino
Topic: How to force client to disconnect
Replies: 4
Views: 13422

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 :?
by blekyo
Thu Dec 21, 2017 1:51 am
Forum: General Discussion
Topic: mbedtls_aes_crypt_ecb incorrect output
Replies: 5
Views: 8622

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...
by blekyo
Wed Dec 20, 2017 6:11 pm
Forum: General Discussion
Topic: mbedtls_aes_crypt_ecb incorrect output
Replies: 5
Views: 8622

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...
by blekyo
Fri Dec 15, 2017 11:49 am
Forum: ESP32 Arduino
Topic: How to force client to disconnect
Replies: 4
Views: 13422

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...
by blekyo
Fri Dec 15, 2017 10:10 am
Forum: Report Bugs
Topic: Disable Bluetooth error
Replies: 3
Views: 7123

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...
by blekyo
Fri Dec 15, 2017 3:41 am
Forum: ESP-IDF
Topic: smartphone esp32 ble communcation and encryption
Replies: 3
Views: 6372

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...
by blekyo
Fri Dec 15, 2017 3:27 am
Forum: General Discussion
Topic: data encryption
Replies: 4
Views: 10619

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
by blekyo
Wed Dec 13, 2017 10:54 am
Forum: ESP32 Arduino
Topic: How to force client to disconnect
Replies: 4
Views: 13422

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 ...
by blekyo
Mon Nov 27, 2017 9:14 am
Forum: General Discussion
Topic: data encryption
Replies: 4
Views: 10619

Re: data encryption

Hi,
I'm getting the same issue you. Did you you find out how to make it work?
by blekyo
Thu Nov 23, 2017 6:46 am
Forum: ESP-IDF
Topic: smartphone esp32 ble communcation and encryption
Replies: 3
Views: 6372

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

Go to advanced search