IW416 RT1060 http request

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

IW416 RT1060 http request

552 Views
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 Kudos
Reply
5 Replies

507 Views
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 Kudos
Reply

504 Views
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 Kudos
Reply

456 Views
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 Kudos
Reply

518 Views
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 Kudos
Reply

514 Views
BettyCheng
Contributor II

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

0 Kudos
Reply