IMXRT1050-EVKB - Setting up a HTTP Client

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMXRT1050-EVKB - Setting up a HTTP Client

1,853件の閲覧回数
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,665件の閲覧回数
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 件の賞賛
返信