Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mbedtls/net.h issue #93

Open
DhruvChugh opened this issue Jul 14, 2024 · 10 comments
Open

mbedtls/net.h issue #93

DhruvChugh opened this issue Jul 14, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@DhruvChugh
Copy link

Hi
Decription: MbedTLS.h and function emulator.h file not found
Expected Behaviour: Finds the files and compiles
Actual Behaviour:
\Arduino\libraries\GovoroxSSLClient\src/ssl__client.h:15:10: fatal error: mbedtls/net.h: No such file or directory
15 | #include <mbedtls/net.h>
| ^~~~~~~~~~~~~~~
compilation terminated.

Note: I have installed the latest version if this library
IDE: Arduino IDE
Board : ESP32 dev module
GSM : sim800

Copy link

The following fields are missing: Description, Steps to Reproduce, Expected Behavior, Actual Behavior, Environment, IDE. Please update the issue with this information.

@RobertByrnes
Copy link
Collaborator

RobertByrnes commented Jul 14, 2024

Hi @DhruvChugh This is a bug I think. Not in the library but in the examples. Apologies for this problem. This will work in VSCode IDE with PlatformIO extenstion - there is a learning curve to follow if you try this.

I will be looking at the Arduino IDE examples over the next week. I plan on having this fixed in the next release which will be v1.3.0 at the end of this working week.

When this release is made you should be able to use the example in the Arduino IDE also.

@GotRobbd
Copy link
Contributor

@DhruvChugh what version of arduino-esp32 are you using? If you're using v3, you need to wait for the next release to be out, as it's not currently compatible with it. In the meantime, you should use arduino-esp32 v2.

@DhruvChugh
Copy link
Author

@GotRobbd Hi ,i didn’t understand what you meant by arduino-esp32 v3/v2 .
I am using the latest version of Arduino IDE. The microcontroller i am using has an ESP32 Wroom chip.

@RobertByrnes
Copy link
Collaborator

@DhruvChugh He means the latest version of the ESP32 libraries for Arduino platform is at version 3.0.2 (you can view this in the Boards Manager of Arduino IDE) The older major version is 2.0.17.

@GotRobbd The new version of this library does not solve that. There are compilation error which I am looking into at the moment.

@CanselYalnkaya
Copy link

Hi everyone,

I have been dealing with this error for days. I am also getting the following error:

In file included from /Users/firefly/Documents/Arduino/libraries/GovoroxSSLClient/src/SSLClient.h:23,
from /Users/firefly/Downloads/main 2/main/main.ino:9:
/Users/firefly/Documents/Arduino/libraries/GovoroxSSLClient/src/ssl__client.h:15:10: fatal error: mbedtls/net.h: No such file or directory
15 | #include <mbedtls/net.h>
| ^~~~~~~~~~~~~~~
compilation terminated.

exit status 1

Compilation error: exit status 1

IDE: Arduino IDE 2.2.1
Board : ESP32 dev module 3.0.1
GSM : SIM7600G-H

The code was compiled on a computer with Windows 10 using Arduino IDE. However, despite trying on 5 other computers, it did not compile on them. What do you recommend for this issue?

@RobertByrnes
Copy link
Collaborator

Hi @CanselYalnkaya For now open Arduino IDE - go to Boards Manager - type ESP32 and downgrade ESP32 by Espressif to v2.0.17.

This library will have v1.3.0 published within the week which give compatibility for ESP32 by Espressif >= v3.0.0.

There is catch! This will all work fine in VSCode with PlatformIO but not in Arduino IDE. There is breaking change for Arduino IDE from ESP32 by Epsressif from v3.0.0. We may not have a fix ready for v1.3.0 of this library but will endever to have on out as soon as possible after.

@RobertByrnes RobertByrnes added bug Something isn't working and removed lacking information labels Jul 17, 2024
@CanselYalnkaya
Copy link

Thank you so much @RobertByrnes. Problem is solved with ESP version 2.0.17 and Platform IO.

@RobertByrnes
Copy link
Collaborator

@DhruvChugh @CanselYalnkaya I am about to make release 1.3.1 - please do try this. It 'should' now work accross PlatformIO and Arduino IDE for ESP 2.0.17 and 3.0.2

@DhruvChugh
Copy link
Author

Thank you @RobertByrnes , will test it out and inform the result here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants