Some quick notes on using a Telit GM862 cellular module with T-Mobile USA

I recently got a Telit GM862-GPS module. This is a GSM cellular module with built-in GPS. It took a bit of poking around to get it to work with my T-Mobile SIM card, so here's a quick list of commands that I finally was successful with.

AT#BND=1 # Set US frequency band
OK
AT+CGDCONT=1,"IP","epc.tmobile.com","0.0.0.0",0,0 # Configure GPRS context with T-Mobile's APN
OK
AT+CGQMIN=1,0,0,3,0,0 # Set some default QoS parameters
OK
AT#QDNS="google.com" # Quick test of GPRS using the built-in DNS client
#QDNS: "google.com","74.125.45.104"

OK
AT#SGACT=1,1 # Activate GPRS context 1 for EasyGPRS operation
#SGACT: 25.128.19.217

OK
AT#SD=1,0,80,"www.google.com",0,0 # Connect to google on port 80
CONNECT
GET / # Send CRLF after this
<!doctype html><html><head><meta http-equiv="content-type"  etc etc etc
NO CARRIER
AT#SGACT=1,0 # Deactivate GPRS context
OK