IMXRT1050-EVKB - Setting up a HTTP Client

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMXRT1050-EVKB - Setting up a HTTP Client

1,807 次查看
marcus_masca
Contributor I

Hi there,

I have recently acquired this board and would like to set it up as a HTTP client and make a HTTP request through the ethernet port using the 'lwip' package (either bm or FreeRTOS is fine)

Having looked through the demo apps, there is one which sets up the board as the HTTP server whereby the PC it is connected to, can make a HTTP request through a browser. This app is located at "\boards\evkbimxrt1050\lwip_examples\lwip_httpsrv\"

Essentially, I am attempting to do the inverse of what the demo app implements. I was wondering if anyone could suggest how I could modify the code to achieve this, or advise me on some code which does this.

Regards,

0 项奖励
回复
1 回复

1,619 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Marcus,

In newest SDK (2.4) you can find the following example:

C:\nxp\EVKB-IMXRT1050\boards\evkbimxrt1050\lwip_examples\lwip_httpscli_mbedTLS

You can also use a library like this:

HTTPClient - Fixed custom headers and Basic authorization, a... | Mbed 


Regards,
Carlos
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复