Embedded AT is used for customer purpose to do the secondary development on SIM800 series modules. The relative API function, operating environment and resources are provided by SIMCom.
The SIM800 is completely Quad band GPRS/GSM solution in SMT type. As inside the SIM800 module series the customer’s app code runs, the external host can be saved.
The customer’s codes basically implemented by Embedded AT and embedded AT provides multiple threads which allows the customer to run many different subtasks.
Embedded AT mainly consists of two parts, one is the core system which is the main program,second one is customers’ program namely the Embedded application.
the module’s main features and API for customer program are provided by the Core system. The main features contains file system manipulation,standard AT commands,, timer control, peripheral API and some of the common system API.
The Function Description of Multi Threads
The multi thread platform provides the multi threads function, supports one main thread and the 8 sub threads , which are mainly used to communicate with system for example the receive system .once the condition is triggered the suspended thread which has a highest priority will be called first than the running thread which has a lowest priority.
The Applications of Timer are:
- Embedded AT provides timer interfaces for following usage
- Timers for the customers.
- There are two types of timers,one is 16 ms-grade timers and other is 1 μs-grade timer.
- Interface to set the thread sleep.
- Interface to get and set system time & date.
- Interface to obtain the main time difference between two points.
EAT platform provides an interface by managing an array to realize memory initialization, allocation and release. The Memory space which is to be released and applied dynamically can be defined by array flexibly.
The Embedded AT functions:
- Send and receive AT commands.
- GPIO configuration.
- FLASH Operation.
- SPI Operation.
- UART operation.