Simple TCP Client - Open AT Sample code

Aug 09, 2012 - Author: Sierra Wireless - 8539 Views

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.


Comment

Related items

AirPrime - TCP-IP and Internet Library 5.54 - Development Guide
This document provides Sierra Wireless customers with a full description of the APIs associated with the IP Connectivity Library.
AirPrime - Open AT "Hello World" Sample - Video Tutorial

Video tutorial showing step-by-step how to start a new project based on a sample code (e.g. Hello World ).

©2017 Sierra Wireless. All rights reserved.
×
Get updates on this product
You have been successfully subscribed to this product. To access your subscription click here.
You have been successfully unsubscribed to this product. To access your subscription click here.