Simple TCP Client - Open AT Sample code

  • Aug 9, 2012
  • Author: Sierra Wireless

Simple Open AT sample code giving an example of managing a TCP Client socket.

Simple Open AT sample code giving an example of managing a TCP Client socket.

Purpose:
- Wait for the CREG status to go 1 or 5.
- Connect to a remote server.
- Manually send the HTML strings requesting the front page.
- The received data is then stored in a buffer for the application to do with as it sees fit.

Note:
- It is easy to follow as it is dedicated to the GPRS/packet interface
- User has to make a single change to get it to work i.e. APN of their SIM card.


Tags

Related items

Simple TCP Client - Open AT Sample code | Source