-
Notifications
You must be signed in to change notification settings - Fork 2.8k
SSL in mongoose 6.18 OR upgrade to 7.8 #1895
Replies: 2 comments · 12 replies
-
@CodingGhost we're ready to help with port! You could share your networking code as a starting point, together with the list of errors reported by the compiler. |
Beta Was this translation helpful? Give feedback.
All reactions
-
@scaprile thanks for your answer, I will look into the problems. also, I guess my version of LWip is not providing the errno.h and my environment does not provide ... as these are the most severe errors, what can I do about them? Or could I use an freertos + Lwip example for a different board and port that for my board? would that be easier? |
Beta Was this translation helpful? Give feedback.
All reactions
-
I personally haven't tried exactly that. I'm not familiar with older versions of Mongoose, probably your fastest path is just to add TLS to your current code, though I don't know the details. Let's wait for @cpq |
Beta Was this translation helpful? Give feedback.
All reactions
-
I also think that would be the easiest path, especially as its just a small project and wont be maintained after it works. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Ouch! I've been struggling with their NDK in TI-RTOS recently but AFAIK they seem to be moving to FreeRTOS + lwIP. I guess our oldest example has lwIP 2.1 or so ... This chip is a Stellaris chip, they don't seem to be caring about it very much |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
and just so you know whats the actual problem for me: |
Beta Was this translation helpful? Give feedback.
All reactions
-
@CodingGhost can you share the current source and associated build errors, please? |
Beta Was this translation helpful? Give feedback.
All reactions
-
my current source of the 6.1 build, or the one of the 7.8 build? |
Beta Was this translation helpful? Give feedback.
All reactions
-
@CodingGhost the 7.8 build - the one with build issues, please! |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Beta Was this translation helpful? Give feedback.
All reactions
-
mongoosetest.zip |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I currently have a project running which uses mongoose v6.18, It does everything I want except for SSL.
Its a REST client and if I try to do SSL my program crashes at
struct mg_connection *c = mg_connect_http_opt(&mgr, ev_handler,opts,"https://192.168.0.13:5000/test",REST_HEADER_TYPE, "hallo=welt");
opts is
opts.ssl_ca_cert ="/ca.crt"; opts.error_string = &err;
I dont know why that happens..
I wanted to try to update to 7.8, but I get TONS of compiler errors, I fixed some, but then there are more, I guess thats not the way to go and something else is broken. Im using FreeRTOS with LwIP on a TI EK-TM4C129EXL.
thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions