Search found 13 matches

by 16aa00
Sat Nov 09, 2019 10:36 am
Forum: General Discussion
Topic: Lua RTOS functionalities on ESP32
Replies: 0
Views: 1991

Lua RTOS functionalities on ESP32

Hi all, I have a ESP32 board. I have installed Lua RTOS firmware and connected to the console as in the github link: https://github.com/whitecatboard/Lua-RTOS-ESP32 . Now I want to run any services, like OpenVPN on ESP32 over Lua ROTS, how to proceed for that? Please help me with what could be my ne...
by 16aa00
Mon Oct 08, 2018 10:31 am
Forum: General Discussion
Topic: mbedtls CSR in ESP32
Replies: 13
Views: 17273

Re: mbedtls CSR in ESP32

Hi ESP_Angus,

I changed the value of usStackDepth in xTaskCreatePinnedToCore() to 16384 but still I am getting the same error.
How to proceed now?

Thank You
by 16aa00
Mon Oct 08, 2018 5:06 am
Forum: General Discussion
Topic: mbedtls CSR in ESP32
Replies: 13
Views: 17273

Re: mbedtls CSR in ESP32

Hi ESP_Angus, Thanks for the solution. But, I am still not able to increase the loopTask stack size. I am not able where to find this Arduino core code to edit and also I am not sure how to call xTaskCreate() or xTaskCreatePinnedToCore(). Could you please be more specific how to increase to stack si...
by 16aa00
Tue Oct 02, 2018 1:45 pm
Forum: General Discussion
Topic: mbedtls CSR in ESP32
Replies: 13
Views: 17273

Re: mbedtls CSR in ESP32

ESP-IDF version is v3.2-dev.
Would you please provide any link on how to Increase the size of the loopTask stack in xTaskCreate() ?
by 16aa00
Tue Oct 02, 2018 5:18 am
Forum: General Discussion
Topic: mbedtls CSR in ESP32
Replies: 13
Views: 17273

Re: mbedtls CSR in ESP32

Hi, I generated the RSA keys using the following code mbedtls_rsa_gen_key( mbedtls_pk_rsa( key ), mbedtls_ctr_drbg_random, &ctr_drbg, 1024, 65537 ); Here "key" is the mbedtls_pk_context and "ctr_drbg" is mbedtls_ctr_drbg_context ( https://github.com/ARMmbed/mbedtls/blob/development/programs/pkey/gen...
by 16aa00
Tue Sep 25, 2018 2:49 am
Forum: General Discussion
Topic: mbedtls CSR in ESP32
Replies: 13
Views: 17273

Re: mbedtls CSR in ESP32

Thank you ESP_Angus

I will try with the mbedtls_pk_write_key_pem() and mbedtls_pk_write_key_der() functions and check whether it is working or not.
by 16aa00
Mon Sep 24, 2018 7:29 am
Forum: General Discussion
Topic: mbedtls CSR in ESP32
Replies: 13
Views: 17273

Re: mbedtls CSR in ESP32

Thank you for your response. The format of private key file is attached. I used the ".key" extension in my usecase but here I uploaded ".txt" because I couldn't upload the ".key" file here. Could you please help letting me know what should be the required key format or how to proceed with this key f...
by 16aa00
Sat Sep 22, 2018 2:54 am
Forum: ESP32 Arduino
Topic: Write MPI values in SPIFFS file
Replies: 5
Views: 7006

Re: Write MPI values in SPIFFS file

Hi, The method to read and write in SPIFFS file worked me but now I am facing an error while loading the saved file. I need to load the saved file to generate Certificate Signing Request using mbedtls API's. I am following this example https://github.com/ARMmbed/mbedtls/blob/development/programs/x50...
by 16aa00
Fri Sep 21, 2018 4:05 am
Forum: General Discussion
Topic: mbedtls CSR in ESP32
Replies: 13
Views: 17273

mbedtls CSR in ESP32

Hello, I have generated RSA public and private key pair and they are saved in SPIFFS file in ESP32. Now I am trying to generate CSR using the RSA private key generated above. For that, I am using mbedtls APIs and I am following this example https://github.com/ARMmbed/mbedtls/blob/development/program...
by 16aa00
Wed Sep 19, 2018 2:54 am
Forum: ESP32 Arduino
Topic: Write MPI values in SPIFFS file
Replies: 5
Views: 7006

Re: Write MPI values in SPIFFS file

Thank you very much ESP_Angus!! It worked for me.