GSM abstraction layer API (for Telit)

Hi. I am new GSM, and am planning to use a Telit module in my project (GE864). I would like to create a library that will serve as an abstraction layer between the modem and the application. Meaning, the application will call some functions and the GSM library will interact with the modem using the AT commands.

  • CheckNetReg()

  • AttachGPRS()

  • SendTCP()

  • SendHTTP()

  • SendSMS()

Now here is my question. As I said I am new to GSM and am still learning how it works. But, I am sort of on a short deadline. So, I am looking for some feedback on:

a) What such API functions I should have (and then I will dig in to them)

b) What relevant AT commands for each function

Generally speaking what I mean to say is that when you look at the individual AT commands they are more or less clear, but how it all “fits together” is still mush in my mind.

Grateful for any ideas/feedback that can jumpstart me on this.

Thanks!