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
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
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
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
Hello @BettyCheng
Our board works as station, and you connect to another AP. You want to access to internet. Right?
Best Regards
Shaun
Yes, that’s the case, the board acts as client. Sorry for not specifying in the post.