IW416 RT1060 http request

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

IW416 RT1060 http request

615件の閲覧回数
BettyCheng
Contributor II

Hi there,

I'm currently working on a project using RT1060B and IW416 (AW-AM510). I've successfully tried out the wifi_cli example project and connected to wifi. However, I don't know how to send http request via the wifi connection. 

Many thanks,

Betty

0 件の賞賛
返信
5 返答(返信)

570件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @BettyCheng 

 

In our demo application, we provide ping cmd to access to internet.

ping [-s <packet_size>] [-c <packet_count>] [-W <timeout in sec>] <ipv4/ipv6 address>

 

Best Regards

Shaun

0 件の賞賛
返信

567件の閲覧回数
BettyCheng
Contributor II

I’ve also tried out the ping cmd. However, it only succeeds when l’m pinging the ip address of the WiFi that I’m currently connecting to, and I’m not sure whether it is normal or not. Also, as far as I know, ping only checks for end to end connection, and I thought that it would be impossible to send http request, such as get, post… by the ping cmd. I’m not sure if I’ve considered it correctly. 

Best regards,

Betty

0 件の賞賛
返信

519件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @BettyCheng 

 

Could you try ping 8.8.8.8 or 114.114.114.114 to test whether STA access to the internet?

 

Best Regards

Shaun

0 件の賞賛
返信

581件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @BettyCheng 

 

Our board works as station, and you connect to another AP. You want to access to internet. Right?

 

Best Regards

Shaun

0 件の賞賛
返信

577件の閲覧回数
BettyCheng
Contributor II

Yes, that’s the case, the board acts as client. Sorry for not specifying in the post.

0 件の賞賛
返信