GSM Lib Manual for MiniOS7
2 Publication May, 2011 ver 1.00
Table of Contents
CHAPTER 1 INTRODUCTION.......................................................................... 3
1.1 2G/3G AND PAC EMBEDDED CONTROLLER ................................................................................. 3
1.2 DESIGN FLOWCHART ................................................................................................................... 4
CHAPTER 2 GSM LIBRARY ............................................................................. 5
2.1 DATA STRUCTURE DEFINE ............................................................................................................ 5
2.2 FUNCTION ................................................................................................................................... 7
--SYSTEM Function-- ................................................................................................................. 8
GM_SYS_GetLibVersion ............................................................................................................ 8
GM_SYS_GetLibDate ................................................................................................................. 9
GM_SYS_InitModem ................................................................................................................ 10
GM_SYS_CloseModem ............................................................................................................ 11
GM_SYS_CheckModemStatus ................................................................................................. 12
GM_SYS_CheckCmdStatus ...................................................................................................... 13
GM_SYS_CheckSignal ............................................................................................................. 14
GM_SYS_CheckReg ................................................................................................................. 15
GM_SYS_EnableNITZ.............................................................................................................. 16
GM_SYS_NITZUpdateRTC...................................................................................................... 17
GM_SYS_CheckNITZ .............................................................................................................. 18
--SMS Function-- ....................................................................................................................... 19
GM_SMS_SendMsg .................................................................................................................. 19
GM_SMS_GetNewMsg............................................................................................................. 20
--3G / GPRS data Transmission Function-- ............................................................................... 21
GM_NET_SetNet....................................................................................................................... 21
GM_NET_InstallLink ................................................................................................................ 22
GM_NET_CloseNet................................................................................................................... 23
GM_NET_GetIP ........................................................................................................................ 24
GM_NET_CloseLink................................................................................................................. 25
GM_NET_GetLinkStatus .......................................................................................................... 26
GM_NET_Send ......................................................................................................................... 27
GM_NET_GetNewPacket ......................................................................................................... 28