This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Ping TCP/IP server with AT Command

Hi,

I'm trying to figure out how to ping a specific IP Address from the nRF9160 via AT Commands. I can't seem to figure out how to do a simple ping to an internet server, only using AT commands.

Additionally, is there a quick way to do a simple HTTP GET request via AT Commands. For example, start up the modem and ping google to make sure we have internet connectivity.

Any help would be greatly appreciated.

Thanks,

Jack Panetta

Parents
  • Hi Jack.

    There isn't any AT Command for pinging a specific IP Address implemented at this moment. I would recommend that you do the pinging by using sockets, look at the header file ncs\nrfxlib\bsdlib\include\nrf_socket.h and this tutorial.  There also isn't any AT Command for HTTP Get Request at the moment, but you can take a look at the http sample found in samples/nrf9160/http.

    Best regards,

    Andreas

  • OK,

    This is specifically for radio antenna testing.

    We are following the Verizon guidelines for certifying a cellular device with them. One of their requirements is using AT commands to ping a known endpoint. Is there any way to do anything like this via AT Commands?

    Also, is there any plan to add more AT Commands in the future? Maybe one that would do something like this.

    - Jack

Reply Children
Related