example for nghttp2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

example for nghttp2

2,009 Views
mastupristi
Senior Contributor I

In the SDK, the nghttp2 web server is included in the middleware directory.

In the SDK there is no example of using nghttp2. So it's very difficult for me to get a working project, and also I have the doubt to have not done all the things in the right way. Where can I find an example of using nghttp2? Is there any application note?


best regards

Max

0 Kudos
Reply
5 Replies

2,003 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @mastupristi 

3) in the SDK there is no example of using nghttp2. So it's very difficult for me to get a working project, and also I have the doubt to have not done all the things in the right way. Where can I find an example of using nghttp2? Is there any application note?
Answer: Please check this code:
SDK_2_11_0_EVKB-IMXRT1050\boards\evkbimxrt1050\lwip_examples\lwip_nghttp2cli_mbedTLS
It use the nghttp2.
You can find the project readme.txt for details.

kerryzhou_0-1646125109031.png

 


Until now, no other application note.

 

Wish it helps you!

Best Regards,

Kerry

0 Kudos
Reply

1,998 Views
mastupristi
Senior Contributor I

Please check this code:
SDK_2_11_0_EVKB-IMXRT1050\boards\evkbimxrt1050\lwip_examples\lwip_nghttp2cli_mbedTLS

I have recreated the SDK also imposing the presence of this example but the zip file does not contain this example. where else can I find it?
Or explain to me step by step how to create the SDK (for RT1051) that contains this example

0 Kudos
Reply

1,994 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @mastupristi ,

  The main issue is you need to select the tool chain as all when you generate the SDK:

kerryzhou_0-1646203575083.png

 

 

In the lwip_nghttp2cli_mbedTLS demo, you can find:

Toolchain supported
===================
- IAR embedded Workbench 9.10.2
- Keil MDK 5.34
- GCC ARM Embedded 10.2.1

So, this demo can't support the MCUXpresso IDE.

Wish it helps you!

Best Regards,

Kerry

 

0 Kudos
Reply

1,992 Views
mastupristi
Senior Contributor I

I finally got it.
Unfortunately, unlike what I hoped (and thought), it only implements a client.

Instead, I need a web server that supports encryption (https via mbedTLS or wolfSSL), websocket, REST API and of course static pages.

Is there any example of using nghttp2 for RT1050 that implements such a web server?

 

best regards

Max

0 Kudos
Reply

1,987 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @mastupristi ,

Thanks for your patience.
Until now, we just have the lwip_nghttp2cli_mbedTLS whichis the client, and I also didn't get any plan to add the nghttp2 for web server.
Maybe, you also can check with our professional support, whether they can help you to establish it or not, but the professional support is not free to use, more details, please check this link:
https://www.nxp.com/support/support/nxp-engineering-services/professional-support-for-processors-and...

Then our expert will help you directly.

Wish it helps you!
If you still need help from my side, just kindly let me know.

Best Regards,

kerry

0 Kudos
Reply